Please show us the line in your test case that calls findTestObject().
Why I ask this? Let me explain. In the doc,
tells that you need to pass value of the variable as a parameter to findTestObject(), like
findTestObject('{your test object}', [('{property}') : '{value of property}'])
The ${property} variable will be interpolated with the value of property when executed.
Without this single line, ${property} variable will NOT be interplated. I guess, you are not passing the value to interpolate ${DJ} variable with. Your original post suggest that you have this problem.
I have tried to locate my objects with text only just like the video but to no avail. I can verify that the text is there, but I am unable to click on the object.
So I watched that video about 15 times to get to where I am now… :(. I am unable to use text to locate these objs. so there has to be something wrong with how I am trying to locate the object. I mean how can I get it (Katalon) to verify that yes the text I am looking for is there, but nope you cant click on it.
This is specifically where my text resides
but I am unable to click on it and its gotta be because I am trying to find it the wrong way or something.
right now I am using this to locate:
id(“mat-tab-content-2-1”)/div[@class=“mat-tab-body-content ng-tns-c774-64 ng-trigger ng-trigger-translateTab”]/fam-wip-card[@class=“ng-star-inserted”]/div[@class=“card-container ng-star-inserted”]/mat-card[@class=“mat-card mat-focus-indicator wip-card container selected”]/div[@class=“row dj-row align-items-center”]/div[@class=“dj col-4”][count(. | //[(text() = ‘${DJ}’ or . = ‘${DJ}’) and @class = ‘dj col-4’ and @id = ‘id(“mat-tab-content-2-1”)’]) = count(//[(text() = ‘${DJ}’ or . = ‘${DJ}’) and @class = ‘dj col-4’ and @id = ‘id(“mat-tab-content-2-1”)’])]
but this seems crazy for me to have to type out every time, I need to do this more than 1000 times.
there needs to be an easier way to locate like //*class='dj-col-4 and text() = ${DJ}
am I crazy or am I just filling out this information wrong?