Unable to use Application.FindFormTitle using C#

Ask general questions here.
sukumar
Posts: 4
Joined: Wed Mar 23, 2016 2:42 pm

Unable to use Application.FindFormTitle using C#

Post by sukumar » Wed Mar 23, 2016 2:47 pm

I'm unable to use "Application.FindFormTitle(...)" in C# code. Please help me with proper namespace to be used in my WPF application Test automation project

User avatar
Support Team
Site Admin
Site Admin
Posts: 12145
Joined: Fri Jul 07, 2006 4:30 pm
Location: Houston, Texas, USA
Contact:

Re: Unable to use Application.FindFormTitle using C#

Post by Support Team » Wed Mar 23, 2016 11:19 pm

The API method you refer to is no longer available since Ranorex 2.0 (released 7 years ago, the current version is 5.4), it was only provided in Ranorex 1.X versions.
Since version 2.0 Ranorex uses a very different approach to search for elements, namely RanoreXPath. Please refer to the Ranorex User Guide and the API documentation on how to search for elements.

I'm really curious how you got to know that "ancient" API method. Can you shed some light on that? :D

Regards,
Alex
Ranorex Team

sukumar
Posts: 4
Joined: Wed Mar 23, 2016 2:42 pm

Re: Unable to use Application.FindFormTitle using C#

Post by sukumar » Thu Mar 24, 2016 4:43 am

How can I find devexpress grid and it's rows and columns in Visual studio 2013 using C#.net code after taking references of latest ranorex version.
Also additionally if there is combo box or multiselect combo box column in devexpress grid how can I identify that grid and retrieve the values from that multiselect combo box column upon user selection.
Kindly clarify the same in Visual studio 2013 using C#.net code with ranorex references.

User avatar
odklizec
Ranorex Guru
Ranorex Guru
Posts: 7470
Joined: Mon Aug 13, 2012 9:54 am
Location: Zilina, Slovakia

Re: Unable to use Application.FindFormTitle using C#

Post by odklizec » Thu Mar 24, 2016 8:02 am

Already answered here...
http://www.ranorex.com/forum/post37033.html#p37033

Please do not post the same question multiple times. Thanks!
Pavel Kudrys
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