Ask a Question

Issue identifying runtime object

annair73
New Contributor

Issue identifying runtime object

Hi,
I am new to Testcomplete and am struggling adding a checkpoint for a particular field, which appears at pagecml2.cell and with each iteration the .cell changes to .cell2 or .cell4 etc.

What can I do to ensure its finding this field?? I tried .cell* but that doesn't work.

TIA
4 REPLIES 4
Marsha_R
Champion Level 3

If you use Object Spy on that field, what does it give you for the whole name of the object. I understand that it will vary, but I'd like to see the format that TestComplete is using to name it.

When I use object spy on the object the selected object displays as Aliases.chrome.pagecml.cell first time, the 2nd page when it loads with new data it will display as .cell2 or .cell4 etc.

The fullName property shows Sys.Browser.page(https...my page url).FindElement("//td[.='name being searched']")

Hope this helps

What happened when you tried cell*

I couldn't add a * next to cell and save it, it throws an error.

I tried adding %variablename% for thr find element but that didn't work either
cancel
Showing results for 
Search instead for 
Did you mean: