stephenwang1011 / robotium

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

waitForText(String text) method always waits for text even it returns true #269

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1.waitForText(String text) method always waits for text even it returns true. 
It tries to wait for particular text atleast for three times. May be you can 
put sysout and check. 

What is the expected output? What do you see instead?
1. Once the waitForText(String) returns true it should jump to the next line.

What version of the product are you using? On what operating system?
Robotium 3.2.1

Please provide any additional information below.

Original issue reported on code.google.com by alpatisu...@gmail.com on 29 May 2012 at 12:15

GoogleCodeExporter commented 9 years ago
waitForText() will wait for a text view until the timeout is reached. If you 
want it to wait for a shorter time then you can use it with a timeout 
parameter. This is according to design. 

Original comment by renasr...@gmail.com on 29 May 2012 at 7:58

GoogleCodeExporter commented 9 years ago
How to extract a text view from page? 
Is there any tool available to get all objects, views ..etc?
If we have tool, what is the required value need to be used to pass against the 
robotium methods? If you could get us this information it would be really 
great. Pls provide some sample snippet for waitforText() alone using the object 
grabbing tool.

Thanks.

Original comment by alpatisu...@gmail.com on 30 May 2012 at 2:14

GoogleCodeExporter commented 9 years ago
There are several get methods that return the object. Please see the javadoc 
for more information. 

Original comment by renasr...@gmail.com on 30 May 2012 at 2:30