I have to test an application which is protected by a SSO login. My test consist of testing a few interactions before the login and some more after the login. The SSO login I’m not allowed to add to the test.
I tried to use waitForLocation. But it considers only the next location loaded.
Is there any command or script which makes Katalon-Recoder wait until a certain event happen, regardless of a redirect chain, of multiple consecutively loaded pages?
@c.ruetgers
Welcome to Katalon Community
yes Katalon recorder Does have a wait feature you can access the same by clicking on the +Add Button and you have to select the WebUI keyword and you can select the required keywords from the dropdown shown below
As per my understanding
After recording you are exported recorded script into katalon studio.
When recorded script is successfully exported to katalon studio framework then you can use above suggested points
Problem
I open a URL I reach after some subsequent redirects. I can not rely on a fixed amount of time because some redirects may take some time. Typical waitFor commands fail under such conditions.
Solution
I call the URL. Then wait for 1 Second and check afterwards, if we reached the desired URL. If not we repeat the pause-check 9 more times.