bhcommunity1
4 years agoContributor
Have Multiple Browser Windows open at the same time. (Same browser type, say Firefox)
Just curious to understand how TestComplete works.
Say I have 2 firefox browser windows open. For arguments sake say they are displaying different url values.
Now I have the following line of code.
Aliases.browser.Page("*").FindChild(....)
So 2 firefox browser windows, no page url reference to work from. When TestComplete tries to find the child object what does TestComplete do?
Would it check both browsers for the child? Would it only check one? If only one, what controls which one it looks at?
thanks for the info.
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('*') ).