Ask a Question

Accessing graph objects - annotations

daniel_dewinter
Contributor

Accessing graph objects - annotations

Hi All,

 

I have question about working with graph object. I'm not able to access objects that are "inside" the graph object. 

 

In the picture below, I try to move the annotation object inside the graph component (IOcomp).

 

When I use the object spy, the annotation objects are available. For example:'.....plotGraphControl.Annotations.Item(357)'

 

However I'm not able to access the object directly while recording a KeywordTest.See picture. Only the graph object can be accessed. See the red border in the picture below

ScreenCap_0235.png

 

When I drag the label around, the X/Y coordinates are recorded, but not the object itself. See below.

 

ScreenCap_0233.png

 

Does anybody know how I can manipulate the objects directly while recording a KeywordTest?

 

Thanks,

Daniel

 

 

 

 

 

 

3 REPLIES 3
Marsha_R
Community Hero

You may need to use a code snippet to drill down to that object

 

https://support.smartbear.com/viewarticle/72821/


Marsha_R
[Community Hero]
____
[Community Heroes] are not employed by SmartBear Software but
are just volunteers who have some experience with the tools by SmartBear Software
and a desire to help others. Posts made by [Community Heroes]
may differ from the official policies of SmartBear Software and should be treated
as the own private opinion of their authors and under no circumstances as an
official answer from SmartBear Software.
The [Community Hero] signature is used with permission by SmartBear Software.
https://community.smartbear.com/t5/custom/page/page-id/hall-of-fame

@Marsha_R

Thanks for the suggestion, but that is precisely what I try to avoid here.

What's your objection to code snippets?


Marsha_R
[Community Hero]
____
[Community Heroes] are not employed by SmartBear Software but
are just volunteers who have some experience with the tools by SmartBear Software
and a desire to help others. Posts made by [Community Heroes]
may differ from the official policies of SmartBear Software and should be treated
as the own private opinion of their authors and under no circumstances as an
official answer from SmartBear Software.
The [Community Hero] signature is used with permission by SmartBear Software.
https://community.smartbear.com/t5/custom/page/page-id/hall-of-fame
cancel
Showing results for 
Search instead for 
Did you mean: