Not able to get findform options in Application : Automation Tools

Not able to get findform options in Application

Ranorex Spy, Recorder, and Studio.

Not able to get findform options in Application

Postby bheemuabhigna » Thu Aug 04, 2011 8:56 am

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
bheemuabhigna
 
Posts: 42
Joined: Thu Feb 03, 2011 4:15 pm

Re: Not able to get findform options in Application

Postby Support Team » Thu Aug 04, 2011 11:04 am

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
User avatar
Support Team
Site Admin
 
Posts: 4845
Joined: Fri Jul 07, 2006 5:30 pm
Location: Graz, Austria

Re: Not able to get findform options in Application

Postby bheemuabhigna » Mon Aug 08, 2011 8:38 am

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
bheemuabhigna
 
Posts: 42
Joined: Thu Feb 03, 2011 4:15 pm

Re: Not able to get findform options in Application

Postby sdaly » Mon Aug 08, 2011 9:07 am

This might help -

Code: Select all
Ranorex.Desktop desktop = "/desktop";
Report.Screenshot(desktop);
User avatar
sdaly
 
Posts: 213
Joined: Mon May 10, 2010 12:04 pm
Location: Dundee, Scotland

Re: Not able to get findform options in Application

Postby bheemuabhigna » Mon Aug 08, 2011 11:13 am

Thank You Very much

It was very helpful.

Thanks,
Abhigna
bheemuabhigna
 
Posts: 42
Joined: Thu Feb 03, 2011 4:15 pm


Return to Automation Tools

Who is online

Users browsing this forum: No registered users and 0 guests