how to execute test script from opened browser

6 posts, 1 answers
  1. Dalsingh
    Dalsingh avatar
    4 posts
    Member since:
    Aug 2010

    Posted 31 Aug 2010 Link to this post


    How to execute a Test Script from a opened browser in my system. I don't want the Telerik to Invoke a browser automatically.

    E.g.
    Step 1 - Login is performed, now I have the application logged in. (Login Script)
    Step 2 - Logout from the application by cliecking logout link in the dashboard. (Logout Script)

    If I try to run a script its automatically invoking the another browser. But the script should work on the already opened browser by the Login Script.

    Any suggestions please.

    Thanks & Regards,
    Dalsingh


  2. Nikolai
    Admin
    Nikolai avatar
    110 posts

    Posted 02 Sep 2010 Link to this post

    Hello Dalsingh,

    You need to turn the "RecycleBrowser" option in order to use single browser instance for all tests in the TestList. Just follow this steps:

    1. Go to the TestLists tab
    2. Select the TestList you will use
    3. Click the "Edit Settings" button
    4. Check the "RecycleBrowser" field(see attachment)

    Hope this helps. 

    Sincerely yours,
    Nikolai
    the Telerik team
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
  3. Dalsingh
    Dalsingh avatar
    4 posts
    Member since:
    Aug 2010

    Posted 02 Sep 2010 Link to this post

    Yes it workz... Thanks.!!!

    But I have a question, how to execute the script on the already opened browser.
    For E.g. I want to run only the Logout Script. (the precondition is the Application already in the Logged-in page)

    Any settings we need to do to run/execute the script on the open browser.

    Regards,
    Dalsingh
  4. Answer
    Nikolai
    Admin
    Nikolai avatar
    110 posts

    Posted 02 Sep 2010 Link to this post

    Hello Dalsingh,

    No you cannot start the run from already opened browser,  what you can do is:
    1.Define a Manual step then start the test run 
    2. Then do some manual actions and when you are done let the test finish.

    All the best,
    Nikolai
    the Telerik team
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
  5. Narayana
    Narayana avatar
    1 posts
    Member since:
    Aug 2012

    Posted 21 Dec 2011 Link to this post

    I Opened the browser manually and trying to execute the script but Telerik is opening one more browser how can i resolve this. Is there any settings that i can run my script on the opened browser.

    Thanks,
    Narayan
  6. Anthony
    Admin
    Anthony avatar
    19 posts

    Posted 21 Dec 2011 Link to this post

    Hi Narayana,

    You can execute steps in a currently loaded browser if it has the recording toolbar attached. Use the Run > Selected Steps feature from the Test Step Context Menu. Ensure you select the desired steps first with Shift or Ctrl + Click. 

    Regards,
    Anthony
    the Telerik team
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
Back to Top