automation

AHK: Manage multiple scripts

我与影子孤独终老i 提交于 2020-05-17 03:14:11
问题 I got many scripts. I want to be able to manage them all in 1 in script. What I want is that the main script will activate a certain script, then when the secondary script is done, it returns a value to the main script. After that, the main script calls another secondary script, etc... Is there a proper way to do this? More precise question: Is it possible to activate a AHK script from another script AHK? At the moment, to detect that at a secondary script is complete, the way I currently use

AHK: Manage multiple scripts

邮差的信 提交于 2020-05-17 03:13:17
问题 I got many scripts. I want to be able to manage them all in 1 in script. What I want is that the main script will activate a certain script, then when the secondary script is done, it returns a value to the main script. After that, the main script calls another secondary script, etc... Is there a proper way to do this? More precise question: Is it possible to activate a AHK script from another script AHK? At the moment, to detect that at a secondary script is complete, the way I currently use

How to handle Windows file upload in .Net core using Selenium?

不问归期 提交于 2020-05-14 10:25:49
问题 I am new to the C# world and I want to know how can a Windows file upload form be automated using Selenium in a .Net core project as it doesn't support AutoIt. 回答1: Zehra - It really depends on how precise you want to get to mimicking the user functionality. Typically you click a button that opens a windows dialog where you locate the file on your pc/phone. Since this is really not testing the application and is just a Windows function, I just use send keys. If you want to get more precise,

How to handle Windows file upload in .Net core using Selenium?

ⅰ亾dé卋堺 提交于 2020-05-14 10:25:31
问题 I am new to the C# world and I want to know how can a Windows file upload form be automated using Selenium in a .Net core project as it doesn't support AutoIt. 回答1: Zehra - It really depends on how precise you want to get to mimicking the user functionality. Typically you click a button that opens a windows dialog where you locate the file on your pc/phone. Since this is really not testing the application and is just a Windows function, I just use send keys. If you want to get more precise,

Getting Header overflow error while using testcafe

随声附和 提交于 2020-04-30 07:03:07
问题 Using testcafe for automated testing but i am getting the following error while perfoming a particular action(click of a button) Failed to perform a request to the resource at "https://www.example.com" because of an error. Error: Parse Error: Header overflow The application is working fine when we try to do the same action manually in the browser.But throws this error while doing it using testcafe. Tried using lower version of node also it doesn't help.can someone help with this? 来源: https:/

How to click on a search engine result if it matches the searched value

試著忘記壹切 提交于 2020-04-30 06:49:26
问题 I'm new to selenium. I'm taking user input and based on that, I'm searching it in duckduckgo. I want, if the input value matches the search result weblink, the code should click on that matched website. My code executes successfully but it doesn't click on the weblink. This is my code:- from selenium import webdriver from selenium.webdriver.common.keys import Keys from selenium.webdriver.support.ui import WebDriverWait from selenium.common.exceptions import NoSuchElementException,

Karate UI drag and drop

|▌冷眼眸甩不掉的悲伤 提交于 2020-04-28 10:23:48
问题 I am studying KarateUI possibilities. And I tried to use drag and drop functionality of framework. I used a page with draggable elements https://www.seleniumeasy.com/test/drag-and-drop-demo.html and my script does not work on it. What is wrong with my script? Here it is: mouse().move('{div/span}Draggable 1').down().move('#mydropzone').up() And i also see in console of IDE next log 16:11:40.196 [ForkJoinPool-1-worker-1] DEBUG c.intuit.karate.driver.DriverOptions - >> {"method":"Input

Karate UI drag and drop

别来无恙 提交于 2020-04-28 10:23:13
问题 I am studying KarateUI possibilities. And I tried to use drag and drop functionality of framework. I used a page with draggable elements https://www.seleniumeasy.com/test/drag-and-drop-demo.html and my script does not work on it. What is wrong with my script? Here it is: mouse().move('{div/span}Draggable 1').down().move('#mydropzone').up() And i also see in console of IDE next log 16:11:40.196 [ForkJoinPool-1-worker-1] DEBUG c.intuit.karate.driver.DriverOptions - >> {"method":"Input