Inflectra Customer Forums: Rapise Android Java Problems Checking the Screen (Thread) Hello, as mentioned in another thread Im 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 dont exist for a brief moment (sub 100 ms). And when an object doesnt 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 Im Looking For) And that doesnt 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? en-US(C) Copyright 2006-2024 Inflectra Corporation.support@inflectra.com/Computers/Software/Project_Management//Computers/Software/Quality_Assurance/KronoDesksupport@inflectra.comhttp://www.inflectra.com/kronodesk/forums/threads120/Support/Forum/rapise/issues-questions/2706.aspxthreadId=2706Kevin Miller (kmiller@raf.com)Rapise Java Android Checking If Object ExistsRapise Android Java Problems Checking the Screen Hello, as mentioned in another thread Im 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 dont exist for a brief moment (sub 100 ms). And when an object doesnt 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 Im Looking For) And that doesnt 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? Mon, 07 Nov 2022 19:22:02 -05002022-11-07T21:09:42-05:00/Support/Forum/rapise/issues-questions/2706.aspxmessageId=5798David J (support1@inflectra.com) Have you tried: Global.DoWaitFor(‘title’) Have you tried: Global.DoWaitFor(‘title’) Mon, 07 Nov 2022 21:09:42 -05002022-11-07T21:09:42-05:00/Support/Forum/rapise/issues-questions/2706.aspx#reply5798