Hi,
I am trying to use "application.findformclassname()" option in my scripts
But I am unable to find any find option(findformclassname,findformtitle, etc., ) in Application object
We are using Ranorex 3.0.1 and I have added Ranorex.core.dll also.
Is there anything else I have to do to get these options.
Please let me know
Thanks,
Abhigna
Not able to get findform options in Application
-
- Posts: 49
- Joined: Thu Feb 03, 2011 3:15 pm
- Support Team
- Site Admin
- Posts: 12167
- Joined: Fri Jul 07, 2006 4:30 pm
- Location: Graz, Austria
Re: Not able to get findform options in Application
The Ranorex 1.X methods you are referring to are no longer available since Ranorex 2.0. The API changed drastically from 1.X to 2.X; Ranorex 2.X is rather a new product then just a new version.
Since version 2.0 Ranorex uses RanoreXPath to identify and search for all UI elements. Please, see the Ranorex User Guide for more information:
http://www.ranorex.com/support/user-guide-20.html
Regards,
Alex
Ranorex Team
Since version 2.0 Ranorex uses RanoreXPath to identify and search for all UI elements. Please, see the Ranorex User Guide for more information:
http://www.ranorex.com/support/user-guide-20.html
Regards,
Alex
Ranorex Team
-
- Posts: 49
- Joined: Thu Feb 03, 2011 3:15 pm
Re: Not able to get findform options in Application
Thanks for information.
I am trying to capture image of desktop.
So, I found some article to read desktop as form and capturing it.
please let me know how can I have a screenshot of desktop.
I am capturing screenshot of browser. If browser is not available, the script should capture the desktop image
Thanks,
Abhigna
I am trying to capture image of desktop.
So, I found some article to read desktop as form and capturing it.
please let me know how can I have a screenshot of desktop.
I am capturing screenshot of browser. If browser is not available, the script should capture the desktop image
Thanks,
Abhigna
Re: Not able to get findform options in Application
This might help -
Code: Select all
Ranorex.Desktop desktop = "/desktop";
Report.Screenshot(desktop);
-
- Posts: 49
- Joined: Thu Feb 03, 2011 3:15 pm
Re: Not able to get findform options in Application
Thank You Very much
It was very helpful.
Thanks,
Abhigna
It was very helpful.
Thanks,
Abhigna