I am opening 2 browsers and want to know if I can record some steps in Browser2, then set the ActiveBrowser back to Browser1 so I can record test steps in there. Can this be done or is ActiveBrowser always the last browser launched?
1 Answer, 1 is accepted
0
Cody
Telerik team
answered on 28 Aug 2012, 03:32 PM
Hello Paul,
ActiveBrowser will always point to the last browser window opened. However there is an alternative you can use. Manager.Browsers is a collection, a list, of all the browsers currently opened and managed by Test Studio or our framework. The list is ordered by the sequence the browsers were opened in. The first one opened is Manager.Browsers[0], the second is Manager.Browsers[1] and so on.
Hope that helps!
Kind regards,
Cody
the Telerik team
Quickly become an expert in Test Studio, check out our new training sessions!
Test Studio Trainings