コード例 #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
ファイル: CommonSteps.cs プロジェクト: Milten198/CSharp
 public static void BeforeEachScenario()
 {
     SeleniumExecutor.BaseSetUp();
     executor = SeleniumExecutor.GetExecutor();
     executor.OpenPage(SeleniumExecutor.pageDefaultUrl);
 }