This is a migrated thread and some comments may be shown as answers.

A second-browser activity

2 Answers 64 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Ohsha
Top achievements
Rank 1
Ohsha asked on 26 Mar 2013, 02:48 PM
Hi,

I'm wondering if there is any workaround to issue a second-browser activity without interfering with the current browser activity.

Describing in real browser terms, basically I want to perform a series of operations with my current browser window, but want to launch a second browser instance and check other urls. For example, my web app has front end and back end, when a user logged in from the front end, I can verify from the back end url that "Authentication OK". The problem is that I can't jump from front end to back end to check it, because the browser will think I've left my front end, and I can't continue on without starting all over again from log in.

It sounds complicated, but all that I want to do now is to change the following customize code

// Navigate to : 'http://google.com/'
ActiveBrowser.NavigateTo("http://google.com", false);


into not using ActiveBrowser, but something else (second-browser).

I hope a workaround is possible.
Please help.

Thanks

2 Answers, 1 is accepted

Sort by
0
Accepted
Cody
Telerik team
answered on 26 Mar 2013, 02:57 PM
Hi Ohsha,

Yes there is a way to do this as documented in this article. You cannot change which browser ActiveBrowser points to, but you can launch a new browser and then point to it using the Manager.Browsers[ ] array.

All the best,
Cody
the Telerik team
Quickly become an expert in Test Studio, check out our new training sessions!
Test Studio Trainings
0
Ohsha
Top achievements
Rank 1
answered on 26 Mar 2013, 04:40 PM
Wonderful.
That works perfectly.
Thanks a lot. 
Tags
General Discussions
Asked by
Ohsha
Top achievements
Rank 1
Answers by
Cody
Telerik team
Ohsha
Top achievements
Rank 1
Share this question
or