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:
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"
);
}