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

New Browser (2nd Browser)

3 Answers 14 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Kay
Top achievements
Rank 1
Kay asked on 28 Aug 2017, 08:30 AM

Hello ,

I have a little bit problem over here, since my test need to call a new browser and go to a second URL which is the tests would run in that active browser (2nd broswer) then have the browser close once the tests are done in that one and continue on in the old browser (1st browser). The question here, is it Test Studio have the function to call the 2nd browser ? if have, please make a tutorial step by step since im the beginner in using this test studio. 

Thanks, 
Kay Azlan

3 Answers, 1 is accepted

Sort by
0
Elena
Telerik team
answered on 28 Aug 2017, 12:34 PM
Hello Kay,

Thank you for your interest. 

As far as I understand it is part of the scenario to open a popup window and perform some actions against it. If so this would be no issue for the Test Studio recorder. Once a popup is detected a new instance of the recorder is attached to the new browser and captures the actions against it. 

Please give it a try and let me know if you face any difficulties. Thanks! 

Regards,
Elena Tsvetkova
Progress Telerik
 
The New Release of Telerik Test Studio Is Here! Download, install,
and send us your feedback!
0
Kay
Top achievements
Rank 1
answered on 29 Aug 2017, 02:07 AM

Hello Elena,

Actually , the test case is not about opening a popup window, mine need to open a new browser which it will navigate to a link that i set. Even recorded i dont think it will record us to click the new google chrome browser. is there any specific codes / scripts that can launch the browser ? ex: _launchNewBrowser   - sahi script

0
Elena
Telerik team
answered on 30 Aug 2017, 03:02 PM
Hello Kay,

Thank you for the clarification. 

Please find attached a sample test that will open a new browser in a coded step and navigate to another page, then close it. 

Please note that this approach will open the same browser as the one the test runs against. Also the rest of the actions in the second browser needs to be accomplished in code - locating the elements and interacting with these

I hope this will be helpful to you. Please let me know in case of further questions. Thanks! 

Regards,
Elena Tsvetkova
Progress Telerik
 
The New Release of Telerik Test Studio Is Here! Download, install,
and send us your feedback!
Tags
General Discussions
Asked by
Kay
Top achievements
Rank 1
Answers by
Elena
Telerik team
Kay
Top achievements
Rank 1
Share this question
or