Get Java Object Location
Retrieve the location (in pixels) of an object in the active Java application and place it into new or existing variables.
Support and Prerequisites: See Java Automation Commands Support and Prerequisites.
Choose to retrieve the location represented either by:
- 
                                                    Rectangle – with variables for /Studio_21.png) left, left,/Studio_21.png) top, top,/Studio_21.png) width, and width, and/Studio_21.png) height height
- 
                                                    Center point – with variables for /Studio_21.png) X and X and/Studio_21.png) Y coordinates Y coordinates
                                                /Advanced Commands_301_311x487.png) 
                                            
- 
                                                    Select the Java object whose value you would like to retrieve. 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 would like to place the location of the selected object. 
- 
                                                    Choose whether to retrieve the object location either by rectangle or by center point. 
- 
                                                    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.