Hi,
I am trying to you Katalon as Record and play for the first time after a long time of working on the script level. My project is very short and can’t spend more time in scripting. The application I am working on is full of forms that have Textbox, checkbox, radio buttons, and dropdown. For that, I need to set data-driven from excel sheet. So my requirement is how can I parameterize the values that I read from excel to the TestObject XPath which are added to the Object repository (not using makeToXpath)
Let say I have the XPath for Radio button
//div[contains(@data-bind,‘isLastEmpPresentQuestion’)]/div//input/following-sibling::span[contains(text(),‘No’)]
in the script, I have to use the test object as
WebUI.click(findTestObject(‘Page_/radio_btn’))
in the above XPath, I need to replace the text value No and also the data-bind value isLastEmpPresentQuestion to some other values in my variables. First is it possible to parameterize?
Thanks in advance