Forum Discussion
AlexKaras
6 years agoCommunity Hero
Hi,
> Set oBrowser = Sys.Browser("*")
> Set oPage = oBrowser.Page("*")
On the human language the first line means this: "Search for any browser running in the system and use the found one from this point on".
The second line means this: "Using the browser found on the previous step, get any page opened in it and use this page from this point on".
Considering the above, I hope that it is obvious that some other but not expected browser and page can be found and used when more than one browser with more then one page are open in the system.
You need to provide exact identification criteria to command TestComplete to search for and use the object that you need for your test.
saleem1990
6 years agoNew Contributor
Hi Alex,
Thanks for reply. Your correct
Is there any way without using below lines .
So that I can test multiple browser page validation
Set oBrowser = Sys.Browser("*")
Set oPage = oBrowser.Page("*")
Thanks for reply. Your correct
Is there any way without using below lines .
So that I can test multiple browser page validation
Set oBrowser = Sys.Browser("*")
Set oPage = oBrowser.Page("*")