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

Running test in test scheduler

5 Answers 78 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Martin
Top achievements
Rank 1
Martin asked on 31 May 2012, 12:19 PM
Hi

We currently have a suite of UI tests designed using MSTest and Telerik test framework, now we would like to execute them faster, for that I'm looking into Telerik scheduling server, but i can't figure out how and if i can execute my tests inside test studio? Am i missing a way of tagging tests or something to make test studio see the tests?

Or do i have to use the vs2010 plugin to design my tests as *.tstest files before it will work?

Example of a test:     
[Owner("XMNN"), TestMethod]
[TestCategory("LockedScreenEnabled")]
[Description("Tests that an invalid login from masterpage redirets the user to /login")]
public void MasterPageInvalidLoginTest()
    {
        string login = "invalid";
        string pass = "invalid";
        string error = "Combination of login and password was not correct";
 
        ActiveBrowser.NavigateTo("~/");
 
        // Invalid login
        MasterPage masterPage = new MasterPage(this);
        masterPage.LoginFromTopDropdown(login, pass, false, false);
 
        // Check that the login page is shown after invalid login
        LoginPage loginPage = new LoginPage(this,false);
        Assert.AreEqual(login, loginPage.GetUsernameInput().Text, "Incorrect login transfered from Masterpage login to LoginPage");
        Assert.AreEqual(error, loginPage.GetLoginError().InnerText, "Incorrect login error message");
    }

5 Answers, 1 is accepted

Sort by
0
Accepted
Cody
Telerik team
answered on 31 May 2012, 02:54 PM
Hi Martin,

I'm afraid you're heading down the wrong path. I am sorry but  our scheduler only works with Test Studio tests i.e. .tstest files. In addition you must have a license to our full Test Studio before you can actually schedule a test. Our scheduler is included in our Run-Time edition, but we don't provide a way to add them to the scheduler in that edition.

You are essentially creating Microsoft Coded Unit Tests when using the Telerik test framework. These can only be run by a Microsoft tool (MSTest, Visual Studio, Microsoft Test Manager, etc.).

All the best,
Cody
the Telerik team
Quickly become an expert in Test Studio, check out our new training sessions!
Test Studio Trainings
0
Martin
Top achievements
Rank 1
answered on 31 May 2012, 03:43 PM
Hi Cody

Thank you for the response, I was aware that I needed a license and i suspected that it would only work with telerik test formattet tests.

But part of what I'm doing is also considering if we would gain anything by changing to Telerik tool for creating tests.


Thanks alot for your response.
0
Cody
Telerik team
answered on 31 May 2012, 04:05 PM
Hello Martin,

(putting on sales hat) There are many advantages:
  • Ability to directly record and playback tests
  • Test maintainability - easily edit step properties, rearrange steps, insert/delete steps, single element repository where you can maintain element find expressions, automatic storyboard capture, many test debugging options (run to here, run from here, run selected steps, break on all errors, etc.)
  • Modularize tests via Test-as-step
  • Mix non-coded steps with coded steps if/where required
  • Comes with performance testing
  • Comes with load testing
  • Easier to use and more flexible/powerful data driven testing
  • Comes with our Scheduler (which you already discovered)
  • Integrates with TFS
  • Integrates with TeamPulse
  • Integrates with HP QC
  • Priority 24H response time support included
  • and the list goes on

If you want a personal demo and discussion how Test Studio can improve your test automation productivity, we'll be happy to setup an online demo for you.

Kind regards,
Cody
the Telerik team
Quickly become an expert in Test Studio, check out our new training sessions!
Test Studio Trainings
0
Martin
Top achievements
Rank 1
answered on 31 May 2012, 05:50 PM
Hi Cody 

I would be very interested in a demo, I've played around with the trail version my self. And I have some empediments which I would also like answered :),

So a demo would be very good.

Will you write me an email?, I assume you can send mails directly? Then I can give you my initial questions before the demo.

NOTE:
I'm in Denmark, I'm flexible with time of demo but in the middle of the night would be a problem :) 

0
Cody
Telerik team
answered on 31 May 2012, 05:59 PM
Hello,

Our European sales team will be in touch with you to setup this demo for you.

Regards,
Cody
the Telerik team
Quickly become an expert in Test Studio, check out our new training sessions!
Test Studio Trainings
Tags
General Discussions
Asked by
Martin
Top achievements
Rank 1
Answers by
Cody
Telerik team
Martin
Top achievements
Rank 1
Share this question
or