treeitem properties

Ask general questions here.
manuella
Posts: 4
Joined: Mon Mar 10, 2014 2:34 pm

treeitem properties

Post by manuella » Fri Mar 14, 2014 11:02 am

Hi,
i try to get the Textvalue into a cell (in blau) but i always have a default value(Label Value) .wenn i change the name in the Properties View the Cell get it but wenn i try to get the innertext of this cell i always have the Label Value .maybe i am wrong ,but i think it is because this textvalue into the cell wil always been generated dynamically.
Is it possible to get the Properties of a cell dynamically??

thank
Manuella
You do not have the required permissions to view the files attached to this post.

User avatar
Support Team
Site Admin
Site Admin
Posts: 12145
Joined: Fri Jul 07, 2006 4:30 pm
Location: Houston, Texas, USA
Contact:

Re: treeitem properties

Post by Support Team » Mon Mar 17, 2014 2:09 pm

Hi manuella,

I’m afraid that I do not understand your problem correctly. Based on your screenshot I cannot see which text value should be assigned to which cell? Please try to describe your issue in more detail.

Additionally I may ask if it is possible for you to upload or send a Ranorex snapshot to us? [email protected]

Information on how to create a snapshot file can be found here

Thank you in advance!

Regards,
Robert

manuella
Posts: 4
Joined: Mon Mar 10, 2014 2:34 pm

Re: treeitem properties

Post by manuella » Mon Mar 17, 2014 4:34 pm

Hi Robert,
here is the Snapshot.
In the Properties View we can change the CAN Name and this will be taken in the Gateway view when we press return on the Keyboard. My question is: Is it possible to have the Textvalue of a Cell now in the Gateway View so that i can compare this with the other one in the Properties view?

thank you in advance
Regards
Manuella
You do not have the required permissions to view the files attached to this post.

User avatar
Support Team
Site Admin
Site Admin
Posts: 12145
Joined: Fri Jul 07, 2006 4:30 pm
Location: Houston, Texas, USA
Contact:

Re: treeitem properties

Post by Support Team » Tue Mar 18, 2014 3:01 pm

Hi manuella,

Unfortunately you are not able to retrieve the text value “CAN_Name” from your tree object within your gateway view.

Please switch the tab within the main window to "Gateway View".
GatewayView.rxsnp.png
Please create another snapshot from that gateway view. Maybe there is the possibility to retrieve more information from the gateway entry.

In order to access the element which holds the name property within your property view please use following RxPath:

Code: Select all

/form[@controlname='MainForm']/container[@controlname='_dockPanel']//form[@controlname='GatewayView1']//tree[@accessiblerole='Outline']/?/?/treeitem[@accessiblename='Node2']/cell[@accessiblename='col Data Object row 2']
Thanks,
Robert
You do not have the required permissions to view the files attached to this post.