1

There are some instances where application hangs and loads forever. How do i identify this and report using reporter event. I am stuck with this. Any help will be appreciated. Thanks in advance

  • Look at creating recovery scenarios for the situation – Dave May 10 '17 at 10:33
  • I could use recovery scenario. but problem is app page shows "loading" and it is the right way to act for app. For example, it might be to "search a patient". So it shows "loading".. but i just need to report it this "loading" shows for more than sometime.. say 3 minutes. Which means the app is actually stuck and hung and is not going to work for sure.. – Aswini Vijay May 10 '17 at 10:35
  • Then use a recovery scenario that reports a fail after a given time has elapsed. You can't use "forever" as that never ends though... – Dave May 10 '17 at 10:36
  • How do i do that? Can we use recovery scenario that reports after a given time? can u pls help me with that. what is the option available for the same in recovery scenario? – Aswini Vijay May 10 '17 at 10:40
  • Easy, wait for an infinite amount of time and fail the test if the application is still stuck (further reading https://en.wikipedia.org/wiki/Halting_problem). – Motti May 10 '17 at 13:19

0 Answers0