Trouble Shoot
Answers to yours questions / Exceptions
How do I wait for the loader
Loader can be configured in 2 ways as explained. Link to the refence.Automation
How do I inspect the loader
In the daily applications we see different types of loaders and their behavior completely depends on the time taken for the page to load.
Open the developers tools in the browser and navigate to source tab. PAUSE the browser when you see a loader Now sit back inspect the element and write the locator.
I don't have / see a loader on my webpage
In the modern application, we definitely see a element that will dissappear after loading the content of the page. If, there was no such elements in our web page. We need to skip thinking about the loader and validate the header of the page to continue further
What was the maximum time I can wait for the loader
Usually, we can wait for the maximum of 2 minutes for a loader and completely depends on the network conditions and multiple factors.
I couldn't inspect my loader. It was fast as rocket
Yes, we do see this kind of situations where a loader is disappeared in a fraction of milli seconds. Pausing the script and inspection was the only way we can do it.
I have multiple loaders in my application, How can i handle them
Yes, this is pretty simple in QATTS. this can be done in either of ways in action class / action.
Ex : action.pre : waitforloader:UI_Element
Last updated