You are working on a Java application. After successfully spying an element in Java mode, the target application crashes when attempting to highlight or interact with the element. Which of the following actions should be tried to resolve this?
A
Spy the element in a different spy mode
B
Restart the application
C
Install the Java Access Bridge
D
Enable the "descendtree" target application option in Application Modeller
Correct Answer:
D
If elements spy correctly, but then the target application crashes when attempting to highlight or otherwise interact with those elements, the problem is likely to be caused by a flaw in the Java Access Bridge components, which have problems with large numbers (approximately 200 or more) or elements on a single screen.
You can prevent this crashing by enabling the "descendtree"
Reference:
https://usermanual.wiki/Document/Java20Automation20Guide0.630190610.pdf
Show Answer