Ranorex

Typing errors in documentation file

 
Post new topic   Reply to topic    Ranorex Forum Index -> Bug Reports
View previous topic :: View next topic  
Author Message
tkondal



Joined: 03 Nov 2006
Posts: 24

PostPosted: Fri Jan 26, 2007 8:28 pm    Post subject: Typing errors in documentation file
Here's a typing error that I found in the documentation when looking at the doc for "ControlSendKeys":

"To send keyboard characters that are comprised of a regular keystroke in combination with a SHIFT, CTRL, or ALT, crete a compound "

"crete" should be "create".


Note: Maybe this thread should be used to post all documentation bugs so that they are consolidated.
Back to top
View user's profile Send private message
tkondal



Joined: 03 Nov 2006
Posts: 24

PostPosted: Fri Jan 26, 2007 8:29 pm    Post subject:
I also noted that the documenation for "ControlSendKeys" refers to the "SendKeys" method instead of "ControlSendKeys".
Back to top
View user's profile Send private message
admin
Site Admin


Joined: 05 Jul 2006
Posts: 351

PostPosted: Mon Jan 29, 2007 12:13 am    Post subject:
Thank you for this info, we have corrected the documentation for the next release.

Jenö
Back to top
View user's profile Send private message Visit poster's website
tkondal



Joined: 03 Nov 2006
Posts: 24

PostPosted: Fri Feb 02, 2007 8:02 pm    Post subject:
Here's another one in the ButtonCheck() and ButtonUncheck() docs:

If the button could be ckecked the return value is True, otherwise False.

and...

If the button could be unckecked the return value is True, otherwise False.
Back to top
View user's profile Send private message
admin
Site Admin


Joined: 05 Jul 2006
Posts: 351

PostPosted: Sun Feb 04, 2007 11:30 pm    Post subject:
Thank you for the info.
We have corrected the text for V1.1.0

Jenö
Back to top
View user's profile Send private message Visit poster's website
tkondal



Joined: 03 Nov 2006
Posts: 24

PostPosted: Tue Feb 06, 2007 5:54 pm    Post subject:
Another one that caused me to spend a day on my script...

MouseClickElement():

"If the function succeeds, the return value is zero, otherwise the return value is an error code. "

In my case, when the function succeeds, it returns 1, and when it fails, it returns 0.

I have noted that there are many inconsistencies in the return codes for various functions. Just a suggestion for the next version, it would be easier for developers to compare the return code to a pre-defined constant.

Here's a Python code to show what I mean:

rc = Ranorex.MouseClickElement(eMyElement)
if (rc == Ranorex.RC_OK):
print "Success"
else:
print "Fail"
Back to top
View user's profile Send private message
admin
Site Admin


Joined: 05 Jul 2006
Posts: 351

PostPosted: Wed Feb 07, 2007 12:23 am    Post subject:
Thank you for this important info, we checked the call chain of the mouse functions and found a bug. It can happen, that the functions MouseMoveToElement and MouseClickElement return a false value.

We corrected the bug for the next version V1.1.0.

tkondal wrote:
Just a suggestion for the next version, it would be easier for developers to compare the return code to a pre-defined constant.


Good idea, but unfortunately we cannot support this in the next release.
We have a lot of user and we want to be compatible with earlier versions.

Jenö
Back to top
View user's profile Send private message Visit poster's website
tkondal



Joined: 03 Nov 2006
Posts: 24

PostPosted: Mon Mar 26, 2007 8:21 pm    Post subject: Ranorex 1.1 Doc Typo
I noticed in the documentation for 1.1 that there is a "File List" item with "RanorexPython.cpp" in it; is this supposed to be there?

Also, the entry for "Menu Functions" has a ".n" appended to it.
Back to top
View user's profile Send private message
tkondal



Joined: 03 Nov 2006
Posts: 24

PostPosted: Mon Mar 26, 2007 9:16 pm    Post subject: TreeViewGetSelectedItem
In the doc for Ranorex.TreeViewGetSelectedItem, it says:
The handle of the next item if successful,...

I'm guessing this should be :
The handle of the selected item if successful,...
Back to top
View user's profile Send private message
admin
Site Admin


Joined: 05 Jul 2006
Posts: 351

PostPosted: Tue Mar 27, 2007 9:09 pm    Post subject:
Thanks for this info...
Quote:
In the doc for Ranorex.TreeViewGetSelectedItem, it says:
The handle of the next item if successful,...

I'm guessing this should be :
The handle of the selected item if successful,...

You can find the corrected docu in the next release...

Quote:
I noticed in the documentation for 1.1 that there is a "File List" item with "RanorexPython.cpp" in it; is this supposed to be there?

The whole documentation will be generated automatically. This file will be appended.
Quote:
Also, the entry for "Menu Functions" has a ".n" appended to it.

This is a type error, we will fix it for the next release.

Gabor
Ranorex Team
Back to top
View user's profile Send private message Visit poster's website
tkondal



Joined: 03 Nov 2006
Posts: 24

PostPosted: Fri Mar 30, 2007 5:23 pm    Post subject: RanorexPython.ApplicationGetFirst
RanorexPython.ApplicationGetFirst

The documentation is misleading, the return type should be handle if successful, and 0 if not.
Back to top
View user's profile Send private message
admin
Site Admin


Joined: 05 Jul 2006
Posts: 351

PostPosted: Sun Apr 01, 2007 10:29 pm    Post subject:
Thank you for this info, we have corrected the documentation for the next release.

Please read also the post:

http://www.ranorex.com/forum/applicationgetnext-t147.html

Jenö
Ranorex Team
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    Ranorex Forum Index -> Bug Reports All times are GMT + 2 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum