Forum Discussion

annair73's avatar
annair73
New Contributor
3 years ago

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

  • Marsha_R's avatar
    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.

    • annair73's avatar
      annair73
      New Contributor
      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