Last active
August 28, 2020 17:31
-
-
Save sugardayfox/3e4458349c096ffb36f9171a25a6f7e4 to your computer and use it in GitHub Desktop.
ui.vision example not working
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"Name": "SpeedTest Macro", | |
"CreationDate": "2020-8-28", | |
"Commands": [ | |
{ | |
"Command": "open", | |
"Target": "https://www.speedtest.net/", | |
"Value": "" | |
}, | |
{ | |
"Command": "store", | |
"Target": "15", | |
"Value": "!TIMEOUT_WAIT" | |
}, | |
{ | |
"Command": "click", | |
"Target": "xpath=//*[@id=\"container\"]/div/div[3]/div/div/div/div[2]/div[3]/div/a/span[4]", | |
"Value": "" | |
}, | |
{ | |
"Command": "store", | |
"Target": "60", | |
"Value": "!TIMEOUT_WAIT" | |
}, | |
{ | |
"Command": "waitForElementVisible", | |
"Target": "linkText=Change Server", | |
"Value": "" | |
}, | |
{ | |
"Command": "storeText", | |
"Target": "xpath=//*[@id=\"container\"]/div/div[3]/div/div/div/div[2]/div[3]/div[3]/div/div[3]/div/div/div[2]/div/div[2]/div/div[2]/span", | |
"Value": "downloadSpeed" | |
}, | |
{ | |
"Command": "storeText", | |
"Target": "xpath=//*[@id=\"container\"]/div/div[3]/div/div/div/div[2]/div[3]/div[3]/div/div[3]/div/div/div[2]/div/div[3]/div/div[2]/span", | |
"Value": "uploadSpeed" | |
}, | |
{ | |
"Command": "store", | |
"Target": "Download Speed", | |
"Value": "!csvLine" | |
}, | |
{ | |
"Command": "store", | |
"Target": "$(downloadSpeed)", | |
"Value": "!csvLine" | |
}, | |
{ | |
"Command": "store", | |
"Target": "Upload Speed", | |
"Value": "!csvLine" | |
}, | |
{ | |
"Command": "store", | |
"Target": "$(uploadSpeed)", | |
"Value": "!csvLine" | |
}, | |
{ | |
"Command": "csvSave", | |
"Target": "DataTransferSpeedHistory-2", | |
"Value": "" | |
} | |
] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment