示例#1
0
 public void FirstSetUp()
 {
     // Before each test
     SeleniumExecutor.BaseSetUp();
     executor = SeleniumExecutor.GetExecutor();
     executor.OpenPage(SeleniumExecutor.pageDefaultUrl);
 }
示例#2
0
        public void DownloadAndroidAppVersion()
        {
            AppVersion.Platform = "android";

            SeleniumExecutor.BaseSetUp();
            executor = SeleniumExecutor.GetExecutor();
            executor.OpenPage(SeleniumExecutor.pageDefaultUrl);
            volotea = new HockeyAppPage(executor);

            volotea.FillUserCredentialFields(TestConfiguration.LoginToAccount, TestConfiguration.PasswordToAccount).
            ClickSignInButton().
            SelectAndroidPlatform().
            ClickOnAppVersion("PX-633");
            SeleniumReporter.TakeScreenshot(SeleniumExecutor.GetDriver());
            volotea.ClickDownloadButton();

            executor.BaseTearDown();
        }
示例#3
0
 public static void BeforeEachScenario()
 {
     SeleniumExecutor.BaseSetUp();
     executor = SeleniumExecutor.GetExecutor();
     executor.OpenPage(SeleniumExecutor.pageDefaultUrl);
 }