A second-browser activity

3 posts, 1 answers
  1. Ohsha
    Ohsha avatar
    57 posts
    Member since:
    Mar 2012

    Posted 26 Mar 2013 Link to this post

    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. Answer
    Cody
    Admin
    Cody avatar
    3354 posts

    Posted 26 Mar 2013 Link to this post

    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
  3. Ohsha
    Ohsha avatar
    57 posts
    Member since:
    Mar 2012

    Posted 26 Mar 2013 Link to this post

    Wonderful.
    That works perfectly.
    Thanks a lot. 
Back to Top