Custom Keywords with Multiple Arguments?

Good morning.

I have created a custom keyword that takes two test objects as arguments. (The code is below.) My problem is when I try to call the custom keyword. Katalon only allows me to assign one test object; attempting to add the second object overwrites the first object. Is there a way I can assign two test objects to one custom keyword?

def WaitForLoadComplete (TestObject loadingImage,
                         TestObject targetObject)
    WebUI.WaitForElementNotVisible(loadingImage, 30)
    WebUI.WaitForElementVisible(targetObject, 30)
Sign In or Register to comment.