Running test in test scheduler

6 posts, 1 answers
  1. Martin
    Martin avatar
    51 posts
    Member since:
    Dec 2011

    Posted 31 May 2012 Link to this post

    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");
        }
  2. Answer
    Cody
    Admin
    Cody avatar
    3354 posts

    Posted 31 May 2012 Link to this post

    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
  3. Martin
    Martin avatar
    51 posts
    Member since:
    Dec 2011

    Posted 31 May 2012 Link to this post

    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.
  4. Cody
    Admin
    Cody avatar
    3354 posts

    Posted 31 May 2012 Link to this post

    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
  5. Martin
    Martin avatar
    51 posts
    Member since:
    Dec 2011

    Posted 31 May 2012 Link to this post

    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 :) 

  6. Cody
    Admin
    Cody avatar
    3354 posts

    Posted 31 May 2012 Link to this post

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