Hi Ranorex team,
We are in process of validating Ranorex for our WPF application and we have two questions here
1. How can we link third party dll's in our Ranorex script when we are trying to use "UserCode"
At present we are manually copying the dll's to bin folder
2. We are trying to create an object in the graphics by giving x,y,z coordinates. That we can do using Key sequence action. But now we would like to click on the object in the graphics and do Right mouse button click, here we want to avoid mouse clicks. Please let us know how can we proceed with this!
Thanks
How to link third party reference dll's
-
- Certified Professional
- Posts: 455
- Joined: Tue Feb 18, 2014 2:14 pm
- Location: Co Louth, Ireland
- Contact:
Re: How to link third party reference dll's
Sorry, not sure that I understand, how could you click whilst avoiding clicks? Are you looking for a mouse movement or something else?seshadri wrote:...we would like to click on the object in the graphics and do Right mouse button click, here we want to avoid mouse clicks....
Re: How to link third party reference dll's
We have created a graphical object for ex: a curve. Now In the Graphics I have to right click on the curve to see my right click options for ex: I want to select "extrude the curve" in the right click menu. If we record the script with mouse click then my script runs file, but when I change my script to another laptop/desktop then my script fails identifying the click exactly on the created line to see the RMB options.
We are writing the automation Id's for accessing the elemets in Ranorex.
My team now wants to avoid mouse clicks which are recorded with respect to screen coordinates.
We are writing the automation Id's for accessing the elemets in Ranorex.
My team now wants to avoid mouse clicks which are recorded with respect to screen coordinates.
Re: How to link third party reference dll's
Hi,
It would be very helpful if you post the Ranorex snapshot of the app in question and xpath of the problematic element.
Anyway, if the graphic element is traceable by Ranorex Spy, as a standalone element with its own xpath, it should not be a problem to use mouse clicks? But I suspect your element is not traceable? In this case, you are out of luck and your only option is using coordinate-based approach or image-based automation. Unfortunately, neither option is as reliable as xpath-based automation.
To make the element traceable with Spy, it needs to have implemented accessibility. This is something that must be done by your dev. guys. Let them check for example these two blog posts, describing implementation of accessibility to QT elements...
http://www.ranorex.com/blog/enabling-au ... s-controls
http://www.ranorex.com/blog/enabling-au ... essibility
This is what they need to do to make your graphical objects traceable with Ranorex spy/recorder.
As for linking dlls, check this blog post:
http://www.ranorex.com/blog/organizing- ... rex-studio
It would be very helpful if you post the Ranorex snapshot of the app in question and xpath of the problematic element.
Anyway, if the graphic element is traceable by Ranorex Spy, as a standalone element with its own xpath, it should not be a problem to use mouse clicks? But I suspect your element is not traceable? In this case, you are out of luck and your only option is using coordinate-based approach or image-based automation. Unfortunately, neither option is as reliable as xpath-based automation.
To make the element traceable with Spy, it needs to have implemented accessibility. This is something that must be done by your dev. guys. Let them check for example these two blog posts, describing implementation of accessibility to QT elements...
http://www.ranorex.com/blog/enabling-au ... s-controls
http://www.ranorex.com/blog/enabling-au ... essibility
This is what they need to do to make your graphical objects traceable with Ranorex spy/recorder.
As for linking dlls, check this blog post:
http://www.ranorex.com/blog/organizing- ... rex-studio
Pavel Kudrys
Ranorex explorer at Descartes Systems
Please add these details to your questions:
Ranorex explorer at Descartes Systems
Please add these details to your questions:
- Ranorex Snapshot. Learn how to create one >here<
- Ranorex xPath of problematic element(s)
- Ranorex version
- OS version
- HW configuration
Re: How to link third party reference dll's
Hi Team,
I have couple of questions from my developers:
1. We see that the Accessible object is part of the Qt stuff. But we are working on the WPF side, I am interested to know the WPF stuff. And, browsing through I've found "Ranaorex.Plugin.Wpf", but how can I really see the methods/properties contained in the dll. Is there some kind of documentation available for this dll?
2. And, to continue with Ques-1, is Accessible object also part of this WPF plugin?
Thanks
I have couple of questions from my developers:
1. We see that the Accessible object is part of the Qt stuff. But we are working on the WPF side, I am interested to know the WPF stuff. And, browsing through I've found "Ranaorex.Plugin.Wpf", but how can I really see the methods/properties contained in the dll. Is there some kind of documentation available for this dll?
2. And, to continue with Ques-1, is Accessible object also part of this WPF plugin?
Thanks
Re: How to link third party reference dll's
Hi,
The WPF plugin you found is a native Ranorex plugin for easier automation of WPF-based apps (element recognition, obtaining WPF properties, etc.). Check this article about new WPF plugin introduced in Ranorex 5.3...
http://www.ranorex.com/news/article/wpf ... ug-in.html
There is an SDK documentation available here:
http://www.ranorex.com/Documentation/Ranorex/
The WPF-related members can be found here:
http://www.ranorex.com/Documentation/Ra ... lement.htm
The WPF plugin you found is a native Ranorex plugin for easier automation of WPF-based apps (element recognition, obtaining WPF properties, etc.). Check this article about new WPF plugin introduced in Ranorex 5.3...
http://www.ranorex.com/news/article/wpf ... ug-in.html
There is an SDK documentation available here:
http://www.ranorex.com/Documentation/Ranorex/
The WPF-related members can be found here:
http://www.ranorex.com/Documentation/Ra ... lement.htm
Pavel Kudrys
Ranorex explorer at Descartes Systems
Please add these details to your questions:
Ranorex explorer at Descartes Systems
Please add these details to your questions:
- Ranorex Snapshot. Learn how to create one >here<
- Ranorex xPath of problematic element(s)
- Ranorex version
- OS version
- HW configuration