Contributions
Re: Object Identification: Page name changes, field name does not
Thank you for your reply. It took some trial and error to figure out exactly where to update the URL mapping, but I was able to get it to work and get the alias names to be friendlier as well. Accepting as answer.1.4KViews0likes0CommentsObject Identification: Page name changes, field name does not
Hi! I'm new to TC and struggling with coming up with a solution to ambiguous object names. Basically, I need to "scrape" the value of a specific field on a web page. The field is, regardless of the page, called 'Cell0123'. The issue, however, is that the page name changes each time the test is run. For example: Test Run 1: Object path = Aliases.browser.Pam.Cell0123 Test Run 2: Object path = Aliases.browser.Charlie.Cell0123 In order to return the value of the cell, I am using CallObjectMethod, then innerText[Get]. I basically need to tell TC that the page name itself doesn't matter, just the cell name. Something like: Aliases.browser.*.Cell0123 This is currently running as a keyword test and I'd like it to continue to if possible. Is this possible? Better way to do this? Thanks!Solved1.4KViews0likes2Comments