Check if Java Object Exists
Verify the existence of an object within the currently active Java application and store the result of the check (TRUE/FALSE) in a variable.
Support and Prerequisites: See Java Automation Commands Support and Prerequisites.
                                                /Advanced Commands_304_321x439.png) 
                                            
- 
                                                    Select the Java object whose existence you want to check. After selecting the object, the following buttons become available (when relevant): - 
                                                            Click an object 
- 
                                                            Expand selection 
- 
                                                            Narrow selection 
- 
                                                            Highlight selected object 
- 
                                                            Use right-click for selection 
- 
                                                            Tree view /Advanced Commands_11.jpg) Highlighting items with blue while hovering them is set to be off by default. To change that, change the key value Highlighting items with blue while hovering them is set to be off by default. To change that, change the key value<add key="FeatureFlag_JavaHighlight" value="false" />to "true" in theappsettings.configfile of the Studio.
 
- 
                                                            
- 
                                                    Enter the name of the variable into which you want to save the result of the query (TRUE/FALSE). 
- 
                                                    Select the relevant option(s): - 
                                                            Is object visible 
- 
                                                            Identify by object text For specific identification: After selecting this checkbox, re-select the object and continue with the next steps.
 
- 
                                                            
- 
                                                    Expand the Choose Java search method option to select by platform (Default, Awt, Swing, or JavaFx). 
- 
                                                    Expand the Error handling option to provide instructions to the wizard on how to manage encountered errors. For more information on error handling, see Error handling.