In Katalon Recorder I just need the following 3 steps:
open Adress (Page loads)
click Element (On the same page it clicks continue)
click Element (On the next page it clicks continue)
Now the problem is that the site has a lot of unimportant pictures which makes the site load very long.
Instead the element to click continue appears immediately and the command could be already executed, but the log shows “Wait for the new page to be fully loaded”, so the whole process takes much longer than it should.
Now in Katalon Recorder I want that all commants do NOT wait until the page is FULLY loaded. I either want that the it clicks the element immediately when it appears or at least set a time to execute the command always, so i can force to click after a certain time. First option is preferred.
WebUI.waitForElementVisible(findTestObject('path to object on page'), 10)
WebUI.waitForElementClickable(findTestObject('path to object on page'), 10)
WebUI.click(findTestObject('path to object on page'))
You don’t have to use every line that the recorder gives you. Why not just do something like this:
// Navigate to URL:
WebUI.openBrowser("someURL.com");
// Click continue button on first page:
WebUI.waitForElementPresent(findTestObject('firstPage/continueButton'), 30);
WebUI.click(findTestObject('firstPage/continueButton'));
// Click continue button on next page:
WebUI.waitForElementPresent(findTestObject('nextPage/continueButton'), 30);
WebUI.click(findTestObject('nextPage/continueButton'));
I am not using Katalon Studio, but Katalon Recorder as chrome extension only, which means I have command, target and value options.
Is it possible to adjust the commands within the Katalon Recorder to have bot sites not fully loaded but just wait for this particular element?