Page 1 of 1
Not able to get findform options in Application
Posted: Thu Aug 04, 2011 7:56 am
by bheemuabhigna
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
Re: Not able to get findform options in Application
Posted: Thu Aug 04, 2011 10:04 am
by Support Team
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
Re: Not able to get findform options in Application
Posted: Mon Aug 08, 2011 7:38 am
by bheemuabhigna
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
Re: Not able to get findform options in Application
Posted: Mon Aug 08, 2011 8:07 am
by sdaly
This might help -
Code: Select all
Ranorex.Desktop desktop = "/desktop";
Report.Screenshot(desktop);
Re: Not able to get findform options in Application
Posted: Mon Aug 08, 2011 10:13 am
by bheemuabhigna
Thank You Very much
It was very helpful.
Thanks,
Abhigna