Run selected test steps in All Browsers except IE

4 posts, 1 answers
  1. Asare
    Asare avatar
    17 posts
    Member since:
    Sep 2012

    Posted 12 Oct 2012 Link to this post

    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.
  2. Stoich
    Admin
    Stoich avatar
    1 posts

    Posted 17 Oct 2012 Link to this post

    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
  3. Asare
    Asare avatar
    17 posts
    Member since:
    Sep 2012

    Posted 19 Oct 2012 Link to this post

    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
  4. Answer
    Stoich
    Admin
    Stoich avatar
    1 posts

    Posted 24 Oct 2012 Link to this post

    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
Back to Top