What am I doing wrong? I know how to tackle this through scripting using Java, but I want to be able to do this through the basic interface of Katalon, so users with less experience can handle this as well.
Hi guys thanks for the response. I still need to check your suggestions, but just to make things clear (as i have the impression scripting is involved): have you read the last part of my question?
I know how to tackle this through scripting using Java, but I want to be able to do this through the basic interface of Katalon, so users with less experience can handle this as well.
By basic i mean the GUI, manual steps view / test objects, without touching scripting.
@kazurayam’s answer is the most “native” way to do this in Katalon. Maybe it just looks like it more when it’s all wrapped in a WebUI call?:
WebUI.sendKeys(findTestObject('your test object name', ['Employee': Employee]), 'Hello')
The first xpath in that list is the correct way to parameterize it. I would test this xpath in your browser inspector first, before placing it in the Test Object.
“parameterized Test Object” in Katalon Studio is designed not very friendly to less experienced people. It requires some programming skill to understand and use. Please embrace this fact.
@kazurayam, @Brandon_Hein, @Russ_Thomas thanks for the informaiton. At least now it’s clear that you won’t get away with just using the basic GUI. I will take this into considiration.
@Russ_Thomas Perhaps, but considering the context we are going to use it, I want to utilize the existing Lego blocks as much as possible. If too much scripting is involved for simple tasks, such as parametrization, it might become a challenge for the end-users.
Having said that, don’t get me wrong. I see the power this tool offers and that’s the whole purpose for us to give it a go. Personally, I wouldn’t want to leave the scripting view
@kazurayam thanks for that alternative approach. I have been able to get it work as well, using the TO level variables.