New Browser (2nd Browser)

4 posts, 0 answers
  1. Kay
    Kay avatar
    5 posts
    Member since:
    Aug 2017

    Posted 28 Aug Link to this post

    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

  2. Elena Tsvetkova
    Admin
    Elena Tsvetkova avatar
    649 posts

    Posted 28 Aug Link to this post

    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!
  3. Kay
    Kay avatar
    5 posts
    Member since:
    Aug 2017

    Posted 28 Aug in reply to Elena Tsvetkova Link to this post

    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

  4. Elena Tsvetkova
    Admin
    Elena Tsvetkova avatar
    649 posts

    Posted 30 Aug Link to this post

    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!
Back to Top