Hi there,
How can I retrieve the value of Accessdescription of a list item
string list = @"/form[@controlname='frmViewer']/element[@controlname='pnlSessions']/element[@controlname='lvSessions']/list";
Ranorex.List Entries = Host.Local.FindSingle(new RxPath(list));
How to retrieve the value of Accessdescription value
-
- Posts: 12
- Joined: Thu Sep 29, 2011 7:00 pm
Re: How to retrieve the value of Accessdescription value
Hi !
Could you provide a snapshot of your repository ? it's kinda hard to help you without
Regards
Swiss'
NB: http://www.ranorex.com/support/user-gui ... files.html
Could you provide a snapshot of your repository ? it's kinda hard to help you without
Regards
Swiss'
NB: http://www.ranorex.com/support/user-gui ... files.html
A simple thank you always does wonders !
-
- Posts: 12
- Joined: Thu Sep 29, 2011 7:00 pm
Re: How to retrieve the value of Accessdescription value
Hi
Now I understand what you want to do better.
Below you will find the code needed to get the Accessible Description
Now I understand what you want to do better.
Below you will find the code needed to get the Accessible Description
[...] Accessible a = new Accessible(repo.ItemWIthAccessibleDescription); Report.Info(a.Description);Regards
A simple thank you always does wonders !
Re: How to retrieve the value of Accessdescription value
Hi,
It is also possible to get the "AccessibleDescription" by using the "GetAttributeValueText" method of the Element class as shown below:
Markus
It is also possible to get the "AccessibleDescription" by using the "GetAttributeValueText" method of the Element class as shown below:
Report.Info("AccessibleDescription: "+repo.YourRepoItem.Element.GetAttributeValueText("AccessibleDescription"));Regards,
Markus