I've already tried all options that I've found. It doesn't run. No messages in "Output", "Command Window" windows of VS. Any ideas why?
Thanks, guys!
namespace TestTrainee {
[TestFixture]
public class UnitTest1
{
public LoginPage mainPage;
[SetUp]
public void SetUpDrvier()
{
mainPage = new LoginPage(new ChromeDriver());
}
[Test, Order(0)]
public void CheckLogIn()
{
mainPage.OpenPage();
mainPage.FindElementByXpath(By.XPath("//a[@href='../articles_popup.php']")).Click();
Task.Delay(5000).Wait();
mainPage.SwitchPAge();
Debug.WriteLine("!!!");
Trace.WriteLine("!!!");
Console.WriteLine("!!!");
}
[TearDown]
public void FinishExe()
{
//mainPage.CloseBrowser();
}
}
}
Aucun commentaire:
Enregistrer un commentaire