IBM Support

Rational Robot response codes for SQA Basic functions

Troubleshooting


Problem

This technote provides you with information about IBM® Rational® Robot error codes returned when a SQA Basic function fails and their meanings.

Resolving The Problem

The following table contains the numeric code values and descriptions of Rational Robot response codes for SQA Basic functions:



NumericConstantDescription
0
sqaSuccess Command executed successfully.
1001
sqaNoObjectSpecified recMethod is empty.
1002
sqaInvalidRecString Invalid syntax in recMethod.
1003
sqaObjectNotFound The specified object could not be found.
1004
sqaNoPropertySpecified The property$ argument is empty.
1005
sqaPropertyNotFound The specified property could not be found.
1006
sqaErrorGettingProperty An error occurred while getting a property value.
1007
sqaArraysNotSupported No index was specified for an array of property values.
1008
sqaPropertyIsNotArray An index was specified for a property that does not contain an array of values.
1009
sqaPropertyHasNoValueThe property has no value or is currently not applicable. A property that has no value is not the same as a property with a value of 0 or null. For example, the ItemSelected property for an empty list box has no value.
1010
sqaPropertyNotSupportedThe property is not supported. This status typically results when the operating system you are testing on does not support a property — for example, the NumbersOnly property for an edit box is not supported under 16-bit Windows.
1011
sqaUnableToConvertStringCannot convert the specified property value to a String.
1012
sqaPropertyIsReadOnlyThe property value is read-only and cannot be modified.
1013
sqaInvalidDataType The data type of the property cannot be converted to a Variant. With SQASetProperty commands, the type (VarType) of Variant cannot be converted to a property.
1014
sqaInvalidPropertyValueInvalid property value. For example, this error occurs if you try to set the State property for a check box to a value that is not one of the property's choices (Checked or Unchecked).
1015
sqaIndexOutOfBoundsThe array index is not within the bounds of the array.
1016
sqaTimeoutThe specified object could not be found within the specified time, or (with SQAWaitForPropertyValue) was not equal to the specified time.
1017
sqaNoMethodSpecified No method was specified in Object Method.
1018
sqaMethodNotFoundThe method specified in Object Method does not exist.
1019
sqaErrorInvokingMethodAn error occurred while attempting to execute the method. A likely cause is either that the method does not exist or the method arguments are invalid.
1020
sqaErrorSettingPropertyAn error occurred while setting a property value with SQASetProperty.
1030
sqaOutOfMemoryThere is not enough memory to run this command.
1031
sqaUserAbortThe operation was canceled — for example, by pressing F11.
1040
sqaUnknownError An unknown error occurred.



[{"Product":{"code":"SSSHDX","label":"Rational Robot"},"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Component":"Scripting","Platform":[{"code":"PF033","label":"Windows"}],"Version":"2003.06.15;2003.06.16;7.0;7.0.0.1;7.0.0.2;7.0.1;7.0.1.1;7.0.1.2;7.0.0.4;7.0.1.3;7.0.2","Edition":"","Line of Business":{"code":"LOB45","label":"Automation"}}]

Document Information

More support for:
Rational Robot

Software version:
2003.06.15, 2003.06.16, 7.0, 7.0.0.1, 7.0.0.2, 7.0.1, 7.0.1.1, 7.0.1.2, 7.0.0.4, 7.0.1.3, 7.0.2

Operating system(s):
Windows

Document number:
341679

Modified date:
16 June 2018

UID

swg21213510