+1 vote
My Web application has a dropdown that is only visible when you click or hover a menu. I am having troubles selecting this in QA Wizard whenever I run the script. It says it's not visible.
asked May 26, 2016 in QA Wizard Pro by AM_N

1 Answer

0 votes

You can try to add a short delay in your script since you have to wait for the object to be visible the QA Wizard Pro script maybe running to fast.

You could use the Delay(2000) to wait 2 seconds and then work on the item.
The question is does the dropdown appear in your application repository? If it does that is great and most likely you just need to slow things down to wait for this object to appear.

The other option is using the WaitForExists statement.. you put in the maximum time to wait for the item / object

Example:
bolFound = Window("Login").Button("btLogin").WaitForExists(5000)

answered May 30, 2016 by nico (8,200 points)
248 questions
262 answers
106 comments
2,047 users