Issue identifying runtime object
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-20-2022
09:08 AM
05-20-2022
09:08 AM
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
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
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-20-2022
01:16 PM
05-20-2022
01:16 PM
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.
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-20-2022
02:01 PM
05-20-2022
02:01 PM
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
The fullName property shows Sys.Browser.page(https...my page url).FindElement("//td[.='name being searched']")
Hope this helps
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-20-2022
02:40 PM
05-20-2022
02:40 PM
What happened when you tried cell*
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-20-2022
02:44 PM
05-20-2022
02:44 PM
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
I tried adding %variablename% for thr find element but that didn't work either
