O katalon studio

broken image

The ultimate goal is to wait for jQuery.active to be 0 before you can proceed to the next step, but a simpler solution is to use on of the inbuilt waitFor… methods that katalon have included. This can grow and grow till eventually you could have 7 hours worth of tests, which are only perfoming actions for 2 hours of that time, the rest of the time its just perfoming your hard coded waits. You then have 10 seconds of delay every test, even when the test may be ready after 2 seconds to proceed to the next step. You may run the test another time and get a lag spike and the it actually hangs for longer than 5 seconds, you will then go in and increase the seconds delay from 5 to 10 because you want to “fix” the test. lay will do everything you want it to do but its bad practice for automation as you are hard coding a time for the test to wait.

broken image