Trouble Shoot

Answers to yours questions / Exceptions

chevron-rightHow do I wait for the loaderhashtag

Loader can be configured in 2 ways as explained. Link to the refence.Automation

chevron-rightHow do I inspect the loaderhashtag

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.

chevron-rightI don't have / see a loader on my webpagehashtag

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

chevron-rightWhat was the maximum time I can wait for the loaderhashtag

Usually, we can wait for the maximum of 2 minutes for a loader and completely depends on the network conditions and multiple factors.

chevron-rightI couldn't inspect my loader. It was fast as rockethashtag

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.

chevron-rightI have multiple loaders in my application, How can i handle themhashtag

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

chevron-rightSometimes my loader appears and sometimes not. How does this workhashtag

Yes, As said we might not get the loaders all the time. QATTS has an internal mechanism when the loader is not found in 2 seconds. It just skips and proceeds with the next steps in action.

chevron-rightTimeout exception in the task when loader appearshashtag

This happens when the loader time is greater than the given maximum time of the UI element. increasing the time will solve the problem

Last updated

Was this helpful?