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

Working with lists

1 Answer 92 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Paul
Top achievements
Rank 1
Paul asked on 26 Jul 2010, 11:46 AM
Hi,

I'm very new to Telerik so I'm just looking for a little help.

I want to create a list of scripts to run. I've only created two scripts so far but when I place them in the list tool and execute them, the browser opens each time and as as a consequence fails my second script. I want the second script to run after the completion of the first script. The first script opens the browser and logs the user on, but then I want the second script to click on a few buttons, etc. Am I using the list control correctly? Or is there a way of preventing the browser openning for the second and subsequent scripts?

Thank you,

Paul

1 Answer, 1 is accepted

Sort by
0
Konstantin Petkov
Telerik team
answered on 26 Jul 2010, 01:21 PM
Hi Paul,

We expose a setting to accomplish that -- look for RecycleBrowser. You can read more on that on the blogs here. In the QA Edition you can change the TestList Settings to enable the "browser recycling".

The Login + actions is a typical scenario to automate. We recommend using the TestAsStep feature of WebUI Test Studio to achieve that. You can record the login part in one test and then add this test as a step to any other (or all) of your other tests. This way if you need to change the login part due to some update in the UI (or provided credentials, whatever) you do it in a single test only.

You can find the "Add a test as step" option in the QA Edition's RecordView tab as shown in the attached image.

Best wishes,
Konstantin Petkov
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
Paul
Top achievements
Rank 1
Answers by
Konstantin Petkov
Telerik team
Share this question
or