Page 1 of 1

Add self coded features to Recorder possible?

Posted: Thu Oct 08, 2009 5:10 pm
by vtp
Is there any possibility (or is it planed) to add some self coded feature to the recorder?

For example the group item in the DevExpress NavBar is not known by Ranorex (only the link item). When I write a class/method to expand a group (by its Text or (internal) Name) then can I use this in the code but not in the recorder. So the question if it is possible to expand the recorder in a way that I can use a self created feature (here for example something like itemname "(internal) Name of the group" mouse click left)?

Re: Add self coded features to Recorder possible?

Posted: Fri Oct 09, 2009 9:53 am
by Support Team
Hi vtp,
hope I`ve understood your question.

First, group items should be identifyable by ranorex (tested a DxNavBar sample application). Try to find the element with Ranorex Spy.
Is there any possibility (or is it planed) to add some self coded feature to the recorder?
Generally you can create 'UserCode' items in the recorder to add self written code to the recorder flow but you have to compile and start the automation within Ranorex Studio(or Visual Studio).

If you have problems to get enough information from your testing app e.g. 3rd party controls like infragistics, dev express... you can use mechanisms like GetProperty or Invoke Remotely

get property: http://www.ranorex.com/forum/verify-obj ... etProperty
invoke remotely: http://www.ranorex.com/forum/finding-th ... 20remotely

Doing such things requires to write code and compile->execute the testing program. So there`s no way to do this in Standalone Recorder by only clicking on the record and play button at the moment.
Additionally, such a feature isn`t on our roadmap.

Further, in our next release Ranorex 2.2 there will be an image based element recognition feature in recorder/repository. see: http://www.ranorex.com/news/article/upc ... pport.html
I hope this would answer your question! :)

Best Regards,
Christian
Ranorex Support Team