Hello,
I’ve created a global variable called ArticleComponents and inside of it are two Test Objects.
Now in my test case i want to use a keyword ’ waitForElementPresent ’ and verify in that way if the elements given in the list are present on the site, might be a silly question but i couldn’t figure it out myself. Found something like this but is not working, is it possible to simply verify that all the elemnts given in this global list are present on the site?
It is difficult for others to reproduce your case locally on their PC. Without reproducing your case locally, it is difficult for anyone to discuss about it.
Can you create a sample Katalon Studio project, zip it, and share it? The zip should contain all of:
the Test Object you defined
the Execution Profiles with Global Variable you defined
Do you know how to make that if the element is not present to mark it as fail and stop the test?
Cause currently if that’s the case it just throws an error and marks the test as passed
Timeout of 0 seconds smells. Do you want it to do wait or not? I have no idea what 0 seconds timeout means. I have no idea what will happen if you specify -1 there.