コード例 #1
0
 public void BeforeEachTest()
 {
     app = ConfigureApp.Android
           .ApkFile(@"C:\temp/com.companyname.appname.apk")
           .StartApp();
     _mainPageViewObject = new MainPageViewObject(app);
     _registerViewObject = _mainPageViewObject.ClickSignUpButton();
 }
コード例 #2
0
        public void OnClickSignUp_ShouldNavigateRegisterPage()
        {
            RegisterViewObject registerViewObject = _mainPageViewObject.ClickSignUpButton();

            Assert.IsTrue(registerViewObject.IsTextDisplayed(UiText.REGISTER_PAGE_MAIN_TITLE));
        }