Forum Discussion
Hi,
> Would it check both browsers for the child?
No. Just the first one that meets child's parent search criteria (i.e. browser.Page('*') ).
Ok thanks. Follow-up question.
"The first one that meets..." If I continue to have multiple firefox browsers open, and try to refer to an object that exists in one of them (without providing the url reference), is there another way that I could affect which one TestComplete looks at first?
For instance, Start firefox browser1 then start browser2, if I click one of the browsers to make it active/have the focus, would that impact the order that TestComplete searches? Some sort of browser state, that TestComplete starts with "active browser" for instance?
Or is the search just random, and happens behind the scenes?
thanks again.
- AlexKaras4 years agoChampion Level 3
Hi,
> Or is the search just random, and happens behind the scenes?
Actually, this is a question to Support as I don't know implementation.
But to my knowledge and experience, the search is random if browser name and/or page url are not specified.
P.S. Is there any reason to not specify browser name and page URL for Aliases? To make them dynamic, you may specify them as project variables and set those variables to required values when starting the browser and navigating to the page.
Related Content
- 2 years ago
Recent Discussions
- 15 minutes ago
- 20 hours ago