Hi all,
I’m wondering, is it possible to modify the scripts with variables in a way that will allow us to ‘Click’ an element that contains ONLY some parts of the text ?
Here is an example:
WebUI.click(findTestObject(‘Our locators/Transaction’, [(‘text’) : Timestamp
, (‘class’) : ‘cx-item-contents cx-item-time col-md-3’]))
As you can see, we use a variable named ‘Timestamp’ here.
What we want is to tell Katalon Studio to click an element that contains '1: 30 pm - ’ and not the whole time-stamp ‘1:30 pm - 2:40 pm’
So, how can we define that partial text in that script ?
Is this something like :
ConditionType.contains ???
Thanks!