Best.Practices.Test.SignIn C# (CSharp) Метод

SignIn() публичный Метод

public SignIn ( ) : void
Результат void
        public void SignIn()
        {
            app.Tap(x => x.Class("FormsTextView").Text("SIGN IN"));
            app.Screenshot("Tapped on view FormsTextView with Text: 'SIGN IN'");

            app.Tap(x => x.Class("WebView").Id("agentWebView").Css("#cred_userid_inputtext"));
            app.EnterText(x => x.Class("WebView").Id("agentWebView").Css("#cred_userid_inputtext"), "[email protected]");
            app.Tap(x => x.Class("WebView").Id("agentWebView").Css("#cred_password_inputtext"));
            app.EnterText(x => x.Class("WebView").Id("agentWebView").Css("#cred_password_inputtext"), "P@ssword");
            app.Screenshot("Username and password entered");

            app.Tap(x => x.Class("WebView").Id("agentWebView").Css("#cred_sign_in_button"));
            app.Screenshot("Tapped on sign in button");
        }