After uploading a file on the screen,does certain validation.
Once the validation messages are fully copied to the screen, a new button will appear and the time will vary depending on the size of the file.
Once the button appears,I need to click and perform other activities and if it doesn’t appear within specified amount of timeout provided -it should send an email
I tried using OnImageAppear and GetAttribute activities as well. Provided timeout also. But its not working as expected.
Hi,
you can try with element exists activity to check if the button appears or not and also in the property panel where you will have a property called timeout give it like 30000, which is like 30 seconds and then let the wait for property be interactive only then use a decision to check if the button pops up or not and then based on that you can send mail.(it works like till 30 seconds it waits for element to appear if appears early it will contnue to next stage or else after 30 seconds it will go to next stage).
Its not waiting for the validation to gets completed and it reruns True for the element exist activity(even though the button has not yet appeared on the screen) and go to the next sequence.
Other alternative(Using try Catch): Use on element appear activity (for that button which appears after validation) in try block. If found within the timeout, well and good else catch and in finally block send email.
Actually the same button appears on top of the page also when the page gets loaded so it always returns True and changing the selectors resolved the issue
Actually the same button appears on top of the page also when the page gets loaded so it always returns True and changing the selectors resolved the issue