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

how to execute test script from opened browser

5 Answers 142 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Dalsingh
Top achievements
Rank 1
Dalsingh asked on 31 Aug 2010, 05:11 AM

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


5 Answers, 1 is accepted

Sort by
0
Nikolai
Telerik team
answered on 02 Sep 2010, 06:11 AM
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
0
Dalsingh
Top achievements
Rank 1
answered on 02 Sep 2010, 12:05 PM
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
0
Accepted
Nikolai
Telerik team
answered on 02 Sep 2010, 12:28 PM
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
0
Narayana
Top achievements
Rank 1
answered on 21 Dec 2011, 11:42 AM
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
0
Anthony
Telerik team
answered on 21 Dec 2011, 05:27 PM
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
Tags
General Discussions
Asked by
Dalsingh
Top achievements
Rank 1
Answers by
Nikolai
Telerik team
Dalsingh
Top achievements
Rank 1
Narayana
Top achievements
Rank 1
Anthony
Telerik team
Share this question
or