New answers tagged

1

Depending on what you are testing (i.e. the actual process of using the upload control, or just the ability to upload / validate a file) you can skip the upload popup entirely. This also means you don't need autoit (which will mean you can run the tests on unattended (locked) machines. e.g. Generally any upload button will be something like the below when ...


0

For actions on a component or page that can take some time to load, using sleep isn't very optimal or recommended. If you're able to look for and find a webelement related to this popup, you can wait for that webelement to be clickable, present, visible, ... Using this you can set a maximum time duration for the wait but once the element is found and ...


Top 50 recent answers are included