We are using DevComponents.DotNetBar.Bar for an .NET 3.0 application. With Ranorex V1.3 i can not access the elements (buttons) within the DotNetBar.
The Spy only recognizes the Container but not the elements within.
Could somebody give me a helping hand on this issue?
Automating DevComponents.DotNetBar
- Support Team
- Site Admin
- Posts: 12145
- Joined: Fri Jul 07, 2006 4:30 pm
- Location: Houston, Texas, USA
- Contact:
Some elements of the DevComponents DotNetBar control does not support accessibility.
So you cannot automate the control this way.
But the good news, you will be able to set/get the public properties (e.g. SelectDockTab) of the control in the upcoming Ranorex V1.4 version.
I tried this new feature with the DotNetBar Notepad Sample and it worked fine.
Jenö
Ranorex Team
So you cannot automate the control this way.
But the good news, you will be able to set/get the public properties (e.g. SelectDockTab) of the control in the upcoming Ranorex V1.4 version.
I tried this new feature with the DotNetBar Notepad Sample and it worked fine.
Jenö
Ranorex Team
Re: Automating DevComponents.DotNetBar
Hi. I am working on a project using DevComponents.DotNetBar for .NET 3.0.
My current version of Ranorex is 3.0.2 (trial). I can not have access to the Text property from the TabItems that exist in the TabControl within the DotNetBar. When I try to access the object using Ranorex Spy, I can not access more than the object:
/form[@controlname='MainFormT']/element[@controlname='tabControlMain']/container[@controlname='tabControlPanelPOS']/element[@controlname='tabStrip']
Please point me towards an article or a post where this problem is solved.
I am looking forward for an answer as soon as possible because we need to choose a good tool for automated QA and for the moment, Ranorex is in pole position.
My current version of Ranorex is 3.0.2 (trial). I can not have access to the Text property from the TabItems that exist in the TabControl within the DotNetBar. When I try to access the object using Ranorex Spy, I can not access more than the object:
/form[@controlname='MainFormT']/element[@controlname='tabControlMain']/container[@controlname='tabControlPanelPOS']/element[@controlname='tabStrip']
Please point me towards an article or a post where this problem is solved.
I am looking forward for an answer as soon as possible because we need to choose a good tool for automated QA and for the moment, Ranorex is in pole position.
- Support Team
- Site Admin
- Posts: 12145
- Joined: Fri Jul 07, 2006 4:30 pm
- Location: Houston, Texas, USA
- Contact:
Re: Automating DevComponents.DotNetBar
Hi,
Please could you post us a Ranorex Snapshot of your element, then we can help you to find a way to get the text element you need.
How to create a Ranorex Snapshot
Regards,
Peter
Ranorex Team
Please could you post us a Ranorex Snapshot of your element, then we can help you to find a way to get the text element you need.
How to create a Ranorex Snapshot
Good to hear that Ranorex is in the pole position. Thank you for that feedback.sotocel wrote:Ranorex is in pole position.
Regards,
Peter
Ranorex Team
-
- Posts: 2
- Joined: Thu Feb 28, 2013 7:34 pm
Re: Automating DevComponents.DotNetBar
Hello,
I am trying to access the elements in the DotNetBar, however I cannot.
I am using version 4.0.2. Can you elaborate a little more how to use these properties "you will be able to set/get the public properties (e.g. SelectDockTab) of the control" to select a tab within this DotNetBar.
Thanks,
I am trying to access the elements in the DotNetBar, however I cannot.
I am using version 4.0.2. Can you elaborate a little more how to use these properties "you will be able to set/get the public properties (e.g. SelectDockTab) of the control" to select a tab within this DotNetBar.
Thanks,
- Support Team
- Site Admin
- Posts: 12145
- Joined: Fri Jul 07, 2006 4:30 pm
- Location: Houston, Texas, USA
- Contact:
Re: Automating DevComponents.DotNetBar
Hello,
In order to analyze this in detail could you please post a Ranorex snapshot of that control?
Thanks,
Markus
In order to analyze this in detail could you please post a Ranorex snapshot of that control?
Thanks,
Markus
-
- Posts: 2
- Joined: Thu Feb 28, 2013 7:34 pm
Re: Automating DevComponents.DotNetBar
Here is a snapshot of the DotNetBar
You do not have the required permissions to view the files attached to this post.
- Support Team
- Site Admin
- Posts: 12145
- Joined: Fri Jul 07, 2006 4:30 pm
- Location: Houston, Texas, USA
- Contact:
Re: Automating DevComponents.DotNetBar
Hello,
Thank you for your snapshot.
You could try to use 'Get Value' and 'Set Value' in your Recording (see our User Guide) to get/set your property of your control'?
If it doesn't work, is it possible to get a sample application to reproduce it?
Regards,
Markus (T)
Thank you for your snapshot.
You could try to use 'Get Value' and 'Set Value' in your Recording (see our User Guide) to get/set your property of your control'?
If it doesn't work, is it possible to get a sample application to reproduce it?
Regards,
Markus (T)