Examples for Robotium

0
0

I found a tool for Instrumentation Testing called Robotium.It is easy and simple for black box testing of android applications.
We can use it as follows:

    solo.clickOnText("Other");
solo
.clickOnButton("Edit");
assertTrue
(solo.searchText("Edit Window"));
solo
.enterText(1, "Some text for testing purposes")
solo
.clickOnButton("Save");
assertTrue
(solo.searchText("Changes have been made successfully"));
solo
.clickOnButton("Ok");
assertTrue
(solo.searchText("Some text for testing purposes"));

Can any body have more idea about it?
Can any one please tell how can we use it for webviews and listviews etc.

  • You must to post comments
0
0

Please see the QA wiki page for common question and answers on what Robotium supports: http://code.google.com/p/robotium/wiki/QuestionsAndAnswers

Also please go to the Getting Started page: http://code.google.com/p/robotium/wiki/Getting_Started

There you will find an example test project that you download and look at for ideas. You can also download the javadoc from: http://code.google.com/p/robotium/downloads/list to see what functionality there is at the moment.

For tutorials please visit: http://code.google.com/p/robotium/wiki/RobotiumTutorials

Sincerely,
Renas

  • You must to post comments
Showing 1 result
Your Answer
Post as a guest by filling out the fields below or if you already have an account.
Name*
E-mail*
Website