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

Run selected test steps in All Browsers except IE

3 Answers 39 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Asare
Top achievements
Rank 1
Asare asked on 12 Oct 2012, 10:04 AM
I would like to run selected steps in Test Studio standalone.

The RunAgainst: AllBrowsers or {IE|Firefox|Chrome|Safari|ASPNetHost|SilverlighOutOfBrowser] option works for one or all 

Is there an option I could set in code for a test or test steps without having to change each individual Test Step within a Test to RunAgainst AllBrowsers except selected Browser(s) for test steps  or for a test?

I have tried create a test with just the steps I want to run for the each browser and then duplicated it for the other browsers, but it is just endless duplication.

3 Answers, 1 is accepted

Sort by
0
Stoich
Telerik team
answered on 17 Oct 2012, 08:30 AM
Hi Asare,
I assume you don't mean the Run-->Selected Steps option from the context menu (see attachment 1)?

Apart for setting this for each individual step you have some additional options. You can set the entire test to execute against a specific browser (attachment 2). Keep in mind this will only kick in when executing the test as part of a TestList. Additionally you can set the entire TestList to execute against a specific browser from the TestList options.

Let me know if you have additional questions on this.

Stoich
the Telerik team
Are you enjoying Test Studio? We’d appreciate your vote in the ATI automation awards.
Vote now
0
Asare
Top achievements
Rank 1
answered on 19 Oct 2012, 10:41 AM
Hi Stoich,

I am trying to create test steps or test as part of a test list which will run on all browsers except IE.

I can run a test list against selected browsers. I can also run a test against all browsers or one browser.

Moreover, I can run a test step against all browsers or one browser.

What I want to do is run Test Step or a Test against All browsers but IE. I hope that has explained it. This is an automated test so will run unattended.

Regards,

Asare
0
Accepted
Stoich
Telerik team
answered on 24 Oct 2012, 08:42 AM
Hello Assare,
I understand. Out of the box this is only doable for TestLists:
http://screencast.com/t/XYlmgoJe92nK

You can create a coded solution to skip/fail a test/test step if the current browser is IE. But it's more trouble than its worth in my opinion. Let me know if you're interested in taking that approach.

I hope this helps.

All the best,
Stoich
the Telerik team
Are you enjoying Test Studio? We’d appreciate your vote in the ATI automation awards.
Vote now
Tags
General Discussions
Asked by
Asare
Top achievements
Rank 1
Answers by
Stoich
Telerik team
Asare
Top achievements
Rank 1
Share this question
or