didacher
11 years agoOccasional Contributor
Two browser instances at the same time
Hello all,
I have some tests that requires working with two browsers windows/instances at the same time for user sync tests. It works well with IE since I can identify browser instances by the O.S process. For example:
Set myRootObject = Sys.Process("iexplore", 1).Page("myapplication")
Set myRootObject2 = Sys.Process("iexplore", 2).Page("myapplication")
In this way, I can interact with two windows of the same browser at the same time.
The problem comes when trying to do the same with Firefox since no matter how many Firefox browser you are running you get only one firefox.exe process instance.
How can I make concurrent tests, so I can interact with two or more windows of the same browser in the same test?
Thanks to all.
I have some tests that requires working with two browsers windows/instances at the same time for user sync tests. It works well with IE since I can identify browser instances by the O.S process. For example:
Set myRootObject = Sys.Process("iexplore", 1).Page("myapplication")
Set myRootObject2 = Sys.Process("iexplore", 2).Page("myapplication")
In this way, I can interact with two windows of the same browser at the same time.
The problem comes when trying to do the same with Firefox since no matter how many Firefox browser you are running you get only one firefox.exe process instance.
How can I make concurrent tests, so I can interact with two or more windows of the same browser in the same test?
Thanks to all.