Xamarin.UITest.Queries.AppQuery.Sibling(string)

Here are the examples of the csharp api class Xamarin.UITest.Queries.AppQuery.Sibling(string) taken from open source projects. By voting up you can indicate which examples are most useful and appropriate.

8 Examples 7

1. Example

Project: app-customers
Source File: AndroidTests.cs
View license
[Test]
        public void EditCustomerInList ()
        {
            app.Tap(x => x.Marked("Cardell, Jesus"));
            app.Screenshot("Selected contact with name: 'Cardell, Jesus'");
            app.Tap(x => x.Marked("Edit"));
            app.Screenshot("Tapped on 'Edit' button");
            app.Tap(x => x.Marked("First").Sibling());
            app.ClearText(x => x.Marked("First").Sibling());
            app.EnterText("New Name");
            app.Screenshot("Entered 'New Name' into First Name Field");
            app.Tap(x => x.Marked("Last").Sibling());
            app.ClearText(x => x.Marked("Last").Sibling());
            app.EnterText("In List");
            app.Screenshot("Entered 'In List' into Last Name Field");
            app.Tap(x => x.Class("ActionMenuItemView"));
            app.Screenshot("Saved contact");
            app.Tap(x => x.Class("android.widget.ImageButton"));
            app.Screenshot("Tapped on 'back' button");
            app.ScrollDownTo(x => x.Marked("In List, New Name"));
            app.Screenshot("Verified edited name appears in list");
        }

2. Example

Project: app-customers
Source File: iOSTests.cs
View license
[Test]
        public void EditCustomerInList ()
        {
            app.Tap(x => x.Marked("Cardell, Jesus"));
            app.Screenshot("Selected contact with name: 'Cardell, Jesus'");
            app.Tap(x => x.Marked("edit"));
            app.Screenshot("Tapped on 'edit' button");
            app.Tap(x => x.Marked("First").Sibling());
            app.ClearText(x => x.Marked("First").Sibling());
            app.EnterText("New Name");
            app.Screenshot("Entered 'New Name' into First Name Field");
            app.Tap(x => x.Marked("Last").Sibling());
            app.ClearText(x => x.Marked("Last").Sibling());
            app.EnterText("In List");
            app.Screenshot("Entered 'In List' into Last Name Field");
            app.Tap(x => x.Id("save"));
            app.Screenshot("Saved contact");
            app.Tap(x => x.Marked("Back"));
            app.Screenshot("Tapped on 'back' button");
            app.ScrollDownTo(x => x.Marked("In List, New Name"));
            app.Screenshot("Verified edited name appears in list");
        }

3. Example

Project: app-customers
Source File: iOSTests.cs
View license
[Test]
        public void EditCustomer ()
        {
            app.Tap(x => x.Marked("Armstead, Evan"));
            app.Screenshot("Selected contact with name: 'Armstead, Evan'");
            app.Tap(x => x.Marked("edit"));
            app.Screenshot("Tapped on 'edit' button");
            app.Tap(x => x.Marked("First").Sibling());
            app.ClearText(x => x.Marked("First").Sibling());
            app.EnterText("Edited");
            app.Screenshot("Entered 'Edited' into First Name Field");
            app.Tap(x => x.Marked("Last").Sibling());
            app.ClearText(x => x.Marked("Last").Sibling());
            app.EnterText("Name");
            app.Screenshot("Entered 'Name' into Last Name Field");
            app.Tap(x => x.Id("save"));
            app.Screenshot("Saved contact");
            app.WaitForElement(x => x.Text("Edited Name"));
            app.Screenshot("Verified contacts name changed to: 'Edited Name'");
        }

4. Example

Project: app-customers
Source File: AndroidTests.cs
View license
[Test]
        public void EditCustomer ()
        {
            app.Tap(x => x.Marked("Armstead, Evan"));
            app.Screenshot("Selected contact with name: 'Armstead, Evan'");
            app.Tap(x => x.Marked("Edit"));
            app.Screenshot("Tapped on 'edit' button");
            app.Tap(x => x.Marked("First").Sibling());
            app.ClearText(x => x.Marked("First").Sibling());
            app.EnterText("Edited");
            app.Screenshot("Entered 'Edited' into First Name Field");
            app.Tap(x => x.Marked("Last").Sibling());
            app.ClearText(x => x.Marked("Last").Sibling());
            app.EnterText("Name");
            app.Screenshot("Entered 'Name' into Last Name Field");
            app.Tap(x => x.Class("ActionMenuItemView"));
            app.Screenshot("Saved contact");
            app.WaitForElement(x => x.Text("Edited Name"));
            app.Screenshot("Verified contacts name changed to: 'Edited Name'");
        }

5. Example

Project: app-customers
Source File: iOSTests.cs
View license
[Test]
        public void AddNewCustomer ()
        {
            app.Tap(x => x.Marked("add"));/n ..... /n //View Source file for more details /n }

6. Example

Project: app-customers
Source File: AndroidTests.cs
View license
[Test]
        public void AddNewCustomer ()
        {
            app.Tap(x => x.Class("Floating/n ..... /n //View Source file for more details /n }

7. Example

Project: app-customers
Source File: iOSTests.cs
View license
[Test]
        public void UpdateCustomerAddress ()
        {
            app.Tap(x => x.Marked("/n ..... /n //View Source file for more details /n }

8. Example

Project: app-customers
Source File: AndroidTests.cs
View license
[Test]
        public void UpdateCustomerAddress ()
        {
            app.Tap(x => x.Marked("/n ..... /n //View Source file for more details /n }