austgl / robotium

Automatically exported from code.google.com/p/robotium
0 stars 0 forks source link

Apis "isCheckBoxChecked" and "isTextChecked" not working in the multi select screen of contacts. #97

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1.Launch the contacts application.
2.Launch multi select screen from menu.
3.Mark on the checkboxs in the select screen
4.Call the "isCheckBoxChecked" and "isTextChecked".

What is the expected output? What do you see instead?
Expected:
========
Both the apis should work should return "true".

Actual:
======
Both the apis are not working and returning "false".

What version of the product are you using? On what operating system?
Android2.3 and robotium2.2

Please provide any additional information below.

Original issue reported on code.google.com by anandpai...@gmail.com on 7 Apr 2011 at 6:04

GoogleCodeExporter commented 9 years ago
isCheckBoxChecked(String text)and isTextChecked(String text)?

Original comment by renasr...@gmail.com on 7 Apr 2011 at 9:52

GoogleCodeExporter commented 9 years ago
yes these two apis...

Original comment by anandpai...@gmail.com on 7 Apr 2011 at 1:03

GoogleCodeExporter commented 9 years ago
The reason why they are returning false is because the text is not the lable of 
the checkbox. The text that you see beside the checkbox is a simple text view 
(and not the lable). Therefore you get false back. 

Original comment by renasr...@gmail.com on 8 Apr 2011 at 7:31