Opened 11 years ago

Closed 10 years ago

Last modified 8 years ago

#2320 closed Bug (Fixed)

_IENavigate return values

Reported by: BrewManNH Owned by: guinness
Milestone: Component: Standard UDFs
Version: Severity: None
Keywords: Cc:


It appears from looking at the _IENavigate function that the return values from it don't match with the description in the help file. The function is supposed to return a value of -1 if it was successful, and 0 if there was a problem.

This section returns -1 with @error set if any errors are encountered in the _IELoadWait function and are passed from _IENavigate as a success, but with the @error value set to the error.

If $f_wait Then
	Return SetError(@error, 0, -1)

Attachments (0)

Change History (4)

comment:1 Changed 11 years ago by BrewManNH

Upon further investigation of the _IE* functions I've found this bug to be present in the following _IE functions as well.

  • _IELinkClickByText
  • _IELinkClickByIndex
  • _IEImgClick
  • _IEFormImageClick
  • _IEFormSubmit
  • _IEBodyWriteHTML
  • _IEDocWriteHTML

All of these functions are supposed to return -1 on a success, yet all return -1 even if there's an error in the _IELoadWait call.

BTW, this bug continues in the beta version of the _IE functions also.

comment:2 Changed 11 years ago by guinness

  • Version changed from to

comment:3 Changed 10 years ago by guinness

  • Milestone set to
  • Owner set to guinness
  • Resolution set to Fixed
  • Status changed from new to closed

Fixed by revision [8021] in version:

comment:4 Changed 8 years ago by philkryder

this still seems to be a problem in more current versions for some of the functions.

Guidelines for posting comments:

  • You cannot re-open a ticket but you may still leave a comment if you have additional information to add.
  • In-depth discussions should take place on the forum.

For more information see the full version of the ticket guidelines here.

Add Comment

Modify Ticket

as closed The owner will remain guinness.

E-mail address and user name can be saved in the Preferences.

Note: See TracTickets for help on using tickets.