Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
vishnu karthik L committed Feb 19, 2014
1 parent 9b53a9b commit 062529d
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ public class Main {
Writing tests
==============

Finding an element and touching it. In the below example, we query for a button and then touch the first one.
Finding an element and touching it. In the below example, we query for a button and then touch the first one. And if that adds a textview with text "button was touched", we can assert on it.

```java

Expand All @@ -46,6 +46,8 @@ public class Main {

UIElements button = application.query("button");
button.touch();
UIElements text = application.query("textview");
assertEquals("button was touched", text.get(0).getText());
}
}
```
Expand Down

0 comments on commit 062529d

Please sign in to comment.