API -Code example

Class library usage, coding and language questions.
omayer
Posts: 458
Joined: Thu Oct 28, 2010 6:14 pm

API -Code example

Post by omayer » Tue Sep 06, 2011 5:53 pm

How come there are no code example on API documentation, we definitely need this feature. Thank you in advance.
Tipu

User avatar
Ciege
Ranorex Guru
Posts: 1335
Joined: Thu Oct 16, 2008 6:46 pm
Location: Arizona, USA

Re: API -Code example

Post by Ciege » Tue Sep 06, 2011 6:41 pm

Any reason why you didn't update your existing thread with this?
http://www.ranorex.com/forum/api-docume ... t2382.html

Also, have you check out this documentation? It's not all complete but there are lots of examples to get you going: http://www.ranorex.com/support/user-gui ... mples.html
If this or any response has helped you, please reply to the thread stating that it worked so other people with a similar issue will know how you fixed your issue!

Ciege...

omayer
Posts: 458
Joined: Thu Oct 28, 2010 6:14 pm

Re: API -Code example

Post by omayer » Wed Sep 07, 2011 1:40 pm

Thank you ciege , I checked out the document that you mentioned but i was looking for the code example that included on API document not excluded from the API.
Tipu

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

Re: API -Code example

Post by Support Team » Wed Sep 07, 2011 2:47 pm

Hi,
i was looking for the code example that included on API document not excluded from the API.
At the moment there are no such code examples included in the API document, but as Peter mentioned
We already have a feature request in our BugTracking System. This will be released with a future release of Ranorex, but I cannot tell you when.
we are working to improve our API documantation.

Regards,
Markus
Ranorex Support Team
.
Image

omayer
Posts: 458
Joined: Thu Oct 28, 2010 6:14 pm

Re: API -Code example

Post by omayer » Wed Apr 11, 2012 11:21 pm

Is any update on this feature ?
Tipu

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

Re: API -Code example

Post by Support Team » Thu Apr 12, 2012 9:56 am

Hi,
omayer wrote:Is any update on this feature ?
We are working on this topic, but we cannot provide foreach method a code sample, therefore we create samples or blogs for frequently asked issues.

Regards,
Peter
Ranorex Team
.
Image

omayer
Posts: 458
Joined: Thu Oct 28, 2010 6:14 pm

Re: API -Code example

Post by omayer » Thu Apr 12, 2012 2:19 pm

Thank you Peter, I was looking for similar to TestPartner , Rational Robot Help contents
Tipu

User avatar
IanF
Posts: 60
Joined: Thu May 24, 2012 12:37 am
Location: Brisbane, Australia
Contact:

Re: API -Code example

Post by IanF » Fri Jul 06, 2012 1:11 am

6th July 2012....

Has there been any update on this?
Ian Fraser

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

Re: API -Code example

Post by Support Team » Mon Jul 09, 2012 4:09 pm

Hi,

as Peter wrote, we cannot provide a code sample for each method, but we will publish blogs more often and we recently improved the UserGuide.
There you will find code samples and the most important parts of Ranorex are also well described:
Code Samples, User Guide.

Regards,
Markus
Ranorex Support Team
.
Image

User avatar
IanF
Posts: 60
Joined: Thu May 24, 2012 12:37 am
Location: Brisbane, Australia
Contact:

Re: API -Code example

Post by IanF » Mon Jul 09, 2012 11:54 pm

The code samples are a bit light on really and they don't cover much of the scope of possible funtionality.

Maybe its time you asked the community to help in submitting API code samples.
Ian Fraser

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

Re: API -Code example

Post by Support Team » Wed Jul 11, 2012 1:24 pm

Hi,
Maybe its time you asked the community to help in submitting API code samples.
I will forward the recommendation and we will discuss how we can provide more code samples.

There is already a section in the forum, "Automation Modules", where everyone can post code modules/samples.

Regards,
Markus
Ranorex Support Team
.
Image

User avatar
artur_gadomski
Posts: 207
Joined: Mon Jul 19, 2010 6:55 am
Location: Copenhagen, Denmark
Contact:

Re: API -Code example

Post by artur_gadomski » Thu Jul 12, 2012 7:01 am

Have a look at php online manual, for example this page:
http://www.php.net/manual/en/control-structures.for.php
sometimes most useful information there is posted in comments by users.

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

Re: API -Code example

Post by Support Team » Thu Jul 12, 2012 1:34 pm

Hi,

Thanks for the suggestion, we will take a look on it.

Regards,
Markus
Ranorex Support Team
.
Image

mzperix
Posts: 137
Joined: Fri Apr 06, 2012 12:19 pm

Re: API -Code example

Post by mzperix » Tue Jun 03, 2014 10:32 am

Hi,

I would like to +1 artur_gadomski's suggestion. Why not use the force of web 2.0? I would really like to contribute if I could.

Best Regards,
Zoltan

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

Re: API -Code example

Post by odklizec » Tue Jun 03, 2014 11:28 am

Another vote here! Currently, it's very hard to use the Ranorex API. A lot of thing can be figured out by searching this forum. But many less obvious or used methods are not described anywhere. Better API guide with code examples could save a lot of time and energy at both sides (support and users). Enabled comment section (with possibility to attach files) is a very good idea! I'm sure many people here have a piece of code to share?
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