Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

searchButton(Any instance) is not working properly #179

Closed
renas opened this issue Aug 19, 2015 · 3 comments
Closed

searchButton(Any instance) is not working properly #179

renas opened this issue Aug 19, 2015 · 3 comments

Comments

@renas
Copy link
Contributor

renas commented Aug 19, 2015

From dadea...@gmail.com on April 13, 2011 10:37:21

What steps will reproduce the problem? 1. Android 2.3.3
2. Robotium 2.2 Jar
3. When I use the tool to search for buttons on an application under test with buttons the function always returns true. The application screen does not change at all during these tests. I have even given the function a name that does not exist and it returns a true: solo.searchButton("Help me Rhonda!",1, true);
We can use the function solo.clickOnButton("Call"); and it works. What is the expected output? What do you see instead? I expect it to return false when the button is not found otherwise we are getting false positive on our test cases. What version of the product are you using? On what operating system? Robotium 2.2
Android 2.3.3 Please provide any additional information below.

Original issue: http://code.google.com/p/robotium/issues/detail?id=100

@renas
Copy link
Contributor Author

renas commented Aug 19, 2015

From renasr...@gmail.com on April 13, 2011 22:50:27

So if you do the following: solo.searchButton("somethingthatisnotavailable", 1, true);

it will return true?

@renas
Copy link
Contributor Author

renas commented Aug 19, 2015

From renasr...@gmail.com on April 20, 2011 00:36:15

Can not be reproduced. Please email me more information and possibly the application which can reproduce this error.

Status: Invalid

@renas
Copy link
Contributor Author

renas commented Aug 19, 2015

From dadea...@gmail.com on April 20, 2011 04:59:17

Found that if you use the Junit assertTrue(solo.searchButton("somethingthatisnotavailable", 1, true), you get the proper results.

@renas renas closed this as completed Aug 19, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant