Accessing object RunTime properties

Technology specific object identification, supported applications, web technologies, and 3rd party controls.
Tnimni
Posts: 49
Joined: Thu Jan 02, 2014 4:03 pm

Accessing object RunTime properties

Post by Tnimni » Wed Feb 05, 2014 1:58 pm

Hi,

I'm a QTP veteran and has switched to Ranorex, my current working place has an extensive test frame work developed in Ranorex (4.1)

our AUT is using DevExpress controls, although Ranorex give very good support for automating DevExpress there are some control that are not supported, for Example : Scheduler.

in QTP i had the possibility to write in code something like this

Code: Select all

set items = oScheduler.Object.getChildObjects()
assuming oScheduler is the TestOject that code would invoke that method in RunTime on that object and will return data, which is good especially for validation purpose but also for testing if the control is not natively supported by the tool.

so my question is as follow, is there a way to do the same thing in Ranorex?

if not maybe i'm missing something and that control is supported?

if all of the above are not relevant, how can i test that control type?
Regards,

User avatar
Support Team
Site Admin
Site Admin
Posts: 11709
Joined: Fri Jul 07, 2006 4:30 pm
Location: Graz, Austria

Re: Accessing object RunTime properties

Post by Support Team » Wed Feb 05, 2014 5:00 pm

Hi Tnimni,

Is your application a winforms application? Is the getChildObjects()-method a QTP specific method or is it provided by your application?

In order to analyze your issue, create a Ranorex Snapshot.

Please send it to: [email protected] or post it to the forum. As you like!

Regards,
Robert
.
Image

Tnimni
Posts: 49
Joined: Thu Jan 02, 2014 4:03 pm

Re: Accessing object RunTime properties

Post by Tnimni » Thu Feb 06, 2014 9:52 am

Hi,

the getChildObjects() is not a QTP method, it is provided by the object being tested.

QTP actually allow to invoke/use/read object methoeds/properties in Runtime and get data.

that is very helpful because QTP does not have such an extensive support for 3rd party controls like DevExpress like Ranorex have.

i will create a snapshot and upload it soon, thanks!