As i working on web application project. When I imported the document in web it takes some time to import that time the in-progress loading pop up has overwrite from the screen. I have to wait till the pop up screen gets completed. I have used wait for element vanish activity, element exists, on element appear but it’s error out the timeout exceed.
Kindly guide me to complete the task. Recommended step by step solution. It will be very helpful for me.
I have tried that time exceed but my importing time for each documents will differ. the first file imported within 30s but the another file importing will takes place as long duration. at the same time I have given the 60s but the process imported it will wait for 60s on that place.I don’t wait for till 60s. Once it disappear move to next process.
You can use a combination of check app state and on element vanish…
Use a check app state to check if the required progress bar is present…
On if present side use a on element vanish activity with same progress element again…and you can give a timeout of 200 seconds or so as mac as possible…
This will ensure that if the window disappears fast it would move ahead else it would stay waiting till max timeout
A part of using the classic activities, if you want to use the modern activities use the check app state activity to check the popup is displayed or not in the foreground in website. This check app state activity uses to check the element is appearing or not.
It have one property to give the time out to check the element.
If its not possible to use the modern activities give some delay between the UI activity and element exist activity.