Skip Navigation LinksHome Page > Forums > Rapise Forums > Rapise Issues & Questions > Rapise Android Java Probl...
Hello, as mentioned in another thread I'm testing a long-running Android Application. The Application is processing many things very quickly and while it processes them the screen of the application updates. I pausing and checking the screen every 10 seconds to see where things are at.
But unfortunately sometimes the objects on the screen are right in the middle of updating and so they don't exist for a brief moment (sub 100 ms). And when an object doesn't exist it seems like your test aborts immediately.
I have tried stuff like:
if (SeS('title') != null)
before I do my usual:
if (SeS('title').GetText() == "The Text I'm Looking For")
And that doesn't seem to help. When you call SeS('title') it throws an exception and aborts before even returning the fact that it is indeed null.Anyone have any ideas on how to get around this?
Have you tried:
Global.DoWaitFor(‘title’)
And if you have any questions, please email or call us at +1 (202) 558-6885