Skip to content
This repository was archived by the owner on Jun 22, 2021. It is now read-only.

Commit e67a3da

Browse files
committed
Update README.md
1 parent e8f708c commit e67a3da

File tree

1 file changed

+82
-1
lines changed

1 file changed

+82
-1
lines changed

README.md

Lines changed: 82 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,83 @@
1-
# iOS-UI-Automation-Overview
1+
# iOS UI Automation Overview
22
An overview of popular iOS UI Automation solutions which will help you to decide which one to use.
3+
4+
Covered solutions:
5+
* **UI Tests (XCTest);**
6+
* **UI Automation;**
7+
* **Appium;**
8+
* **Calabash.**
9+
10+
In order to present proper difference between automation solutions, the same app was covered with the same testing scenarios.
11+
Demo application represents a simple **Contacts** app which allows us to perform basic CRUD operations over the *Contact* entity.
12+
13+
#### Demo app
14+
15+
Contact List | Contact Details | Edit Contact | Remove Contact
16+
------------ | ------------- | ------------- | -------------
17+
![Contact List](/assets/contact-list.png) | ![Contact Details](/assets/contact-details.png) | ![Edit Contact](/assets/contact-edit.png) | ![Remove Contact](/assets/contact-remove.png)
18+
19+
#### Scenarios
20+
21+
Add contact:
22+
23+
```gherkin
24+
@add_contact
25+
Feature: Create a new contact in the contacts list
26+
In order to interact with a new contact
27+
As I user
28+
I want to add a new contact in my contacts list
29+
30+
@s1 @add_action
31+
Scenario: User can add a new contact in the contacts list
32+
Given I see the contacts list screen
33+
When I press on "Add" button
34+
Then The screen "Edit Contact Details" appears
35+
And I enter "Jon" in the "first name" textfield
36+
And I enter "Snow" in the "last name" textfield
37+
When I press on "Done" button
38+
Then I see the "Jon Snow" contact in the contact list
39+
```
40+
41+
Update contact:
42+
43+
```gherkin
44+
@update_contact
45+
Feature: Update an existing contact in the contacts list
46+
In order to keep all my contacts up-to-date
47+
As I user
48+
I want to update an existing contact in my contacts list
49+
50+
@s1 @update_action
51+
Scenario: User can update an existing contact in the contacts list
52+
Given I see the contacts list screen
53+
Given I see at least one contact in the list
54+
When I press on first contact
55+
Then The screen "Contact Details" appears
56+
When I press on "Edit" button
57+
Then The screen "Edit Contact Details" appears
58+
And I enter "Robb" in the "first name" textfield
59+
And I enter "Stark" in the "last name" textfield
60+
When I press on "Done" button
61+
Then The screen "Contact Details" appears
62+
And I see the "Robb Stark" contact in the contact details
63+
When I press on "Back" button
64+
Then I see the "Robb Stark" contact in the contact list
65+
```
66+
67+
Remove contact:
68+
69+
```gherkin
70+
@remove_contact
71+
Feature: Remove an existing contact from the contacts list
72+
In order to get rid of annoying contacts
73+
As I user
74+
I want to remove an existing contact from my contacts list
75+
76+
@s1 @remove_action
77+
Scenario: User can remove an existing contact from the contacts list
78+
Given I see the contacts list screen
79+
Given I see at least one contact in the list
80+
When I press on "Edit" button
81+
And I remove the first contact
82+
Then Contacts list is empty
83+
```

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy