Page 1 of 1

Does Ranorex support Class Mapping?

Posted: Fri Mar 27, 2015 5:07 pm
by gilbar16
Just wondering if there is some sort of class mapping feature in Ranorex.

For example: In some test tools like SilkTest, a custom object/control that looks like a button can be mapped to a PushButton so that the custom object can inherit all the properties of a PushButton.

Re: Does Ranorex support Class Mapping?

Posted: Fri Mar 27, 2015 5:58 pm
by krstcs
In general the Click() function works on any object that Ranorex can identify so you shouldn't need to over-load a class or method.

Is there a specific example (besides Click) that you are concerned about?


One other thing to note is that Ranorex also has methods for direct manipulation (InvokeAction) against an object. There might be an action in that area that you haven't seen. Note that these are direct invokes of events and sometimes do not fire actions as expected because the action is listening for a different event, but it is still handy for some specific issues.

Re: Does Ranorex support Class Mapping?

Posted: Tue Mar 31, 2015 1:10 am
by gilbar16
Yes, the work-around I found to pop up the Date Picker list is with the use of Invoke Action / PerformClick().
The recorded Action Touch / Center does not invoke the Date Picker and other controls that invoke a pop up list at Playback mode. AUT is a hybrid iOS app using a lot of Kendo UI controls.

Another work-around is the use of the Action Mouse / Click but, leaving the Location at Center does not work also. We had to give it the x,y location. It would be nice if there is such Action as TypeKeys or SendKeys. Maybe it will work better than Action: Touch, Touch Type: Touch.

That's a lot of work-around to do using the Invoke Action / PerformClick() so we are hoping a patch/fix will be available soon.

Thanks.
Gilbert

Re: Does Ranorex support Class Mapping?

Posted: Wed Apr 01, 2015 8:16 am
by Support Team
Hello gilbar16,

I'm glad that you found a workaround.

In order to raise and discuss feature requests may I ask you to send an email to [email protected]? We want to handle feature request via email in order to avoid misunderstandings.

Thanks,
Robert