Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can this program feedback crash? #249

Closed
jihun-im opened this issue Jun 15, 2018 · 2 comments
Closed

Can this program feedback crash? #249

jihun-im opened this issue Jun 15, 2018 · 2 comments

Comments

@jihun-im
Copy link

jihun-im commented Jun 15, 2018

From the code here

b = vc.findViewWithText(bt)
b.touch()

Let's suppose that b.touch() triggers NullPointerException. Can I get the information that the exception has happened?

It looks not.

@dtmilano
Copy link
Owner

Perhaps you should use

b = vc.findViewWithTextOrRais(bt)
b.touch()

or simply

vc.findViewWithTextOrRaise().touch()

@jihun-im
Copy link
Author

jihun-im commented Jun 17, 2018

That is not my point.
For example, during UI/Application Exerciser monkey testing, if a random touch triggers the subject application crash, UI/Application Exerciser monkey immediately stops the test and generate error report via STDERR.

Is there any way I can get the information from the source code that the subject application is just crashed?

@dtmilano dtmilano closed this as not planned Won't fix, can't repro, duplicate, stale Jan 6, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants