ActiveX.txt
This function library contains functions for ActiveX test objects and also registers these functions for use as methods with ActiveX test objects. To use the functions in this file, you must also include the Common.txt function library file in your application area.
Functions
GetDateProperty | This function returns the date property of a specified ActiveX object. |
GetTextProperty | This function returns the text property of a specified ActiveX object. |
GetValueProperty | This function returns the value property of a specified ActiveX object. |
OutputProperty | This function returns the value of a specified property. |
VerifyDate | This function verifies if the date of an ActiveX object matches its expected date. |
VerifyEnabled | This function verifies if the specified ActiveX object is enabled. |
VerifyProperty | This function checks if the value of a property matches its expected value. |
VerifyText | This function verifies if the text in an ActiveX object matches its expected text. |
VerifyValue | This function checks if the value of an ActiveX object matches its expected value. |
GetDateProperty Function
Description
This function returns the date property of a specified ActiveX object.
Syntax
GetDateProperty (obj)
Parameter | Description |
---|---|
obj | A variable containing the object on which the function should be performed. |
IMPORTANT
This function is registered for the following object: AcxCalendar.
GetTextProperty Function
Description
This function returns the text property of a specified ActiveX object.
Syntax
GetTextProperty (obj)
Parameter | Description |
---|---|
obj | A variable containing the object on which the function should be performed. |
IMPORTANT
This function is registered for the following objects: AcxComboBox and AcxEdit.
GetValueProperty Function
Description
This function returns the value property of a specified ActiveX object.
Syntax
GetValueProperty (obj)
Parameter | Description |
---|---|
obj | A variable containing the object on which the function should be performed. |
IMPORTANT
This function is registered for the following objects: AcxCheckBox and AcxRadioButton.
OutputProperty Function
Description
This function returns the value of a specified property.
Syntax
OutputProperty (obj, PropertyName)
Parameter | Description |
---|---|
obj | A variable containing the object on which the function should be performed. |
PropertyName | The name of the property. |
Return Value
The value of the property.
IMPORTANT
This function is registered the following objects: ActiveX, AcxButton, AcxCalendar, AcxCheckBox, AcxComboBox, AcxEdit, AcxRadioButton, and AcxTable.
VerifyDate Function
Description
This function verifies if the date of an ActiveX object matches its expected date.
Syntax
VerifyDate (obj, ExpectedDate)
Parameter | Description |
---|---|
obj | The object name and object type to be checked. |
ExpectedDate | The expected date for the object. |
Return Value
True or False.
IMPORTANT
This function is registered for the following object: AcxCalendar.
VerifyEnabled Function
Description
This function verifies if the specified ActiveX object is enabled.
Syntax
VerifyEnabled (obj)
Parameter | Description |
---|---|
obj | The object name and object type of the property to be verified. |
Return Value
True if the object is enabled.
IMPORTANT
This function is registered the following objects: ActiveX, AcxButton, AcxCalendar, AcxCheckBox, AcxComboBox, AcxEdit, AcxRadioButton, and AcxTable.
VerifyProperty Function
Description
This function checks if the value of a property matches its expected value.
Syntax
VerifyProperty (obj, PropertyName, ExpectedValue)
Parameter | Description |
---|---|
obj | The object name and object type of the property to be checked. |
PropertyName | The name of the property to be checked. |
ExpectedValue | The expected value of the property. |
Return Value
True or False.
IMPORTANT
This function is registered the following objects: ActiveX, AcxButton, AcxCalendar, AcxCheckBox, AcxComboBox, AcxEdit, AcxRadioButton, and AcxTable.
VerifyText Function
Description
This function verifies if the text in an ActiveX object matches its expected text.
Syntax
VerifyText (obj, ExpectedText)
Parameter | Description |
---|---|
obj | The object name and object type to be checked. |
ExpectedText | The expected text for the object. |
Return Value
True or False.
IMPORTANT
This function is registered for the following objects: AcxComboBox and AcxEdit.
VerifyValue Function
Description
This function checks if the value of an ActiveX object matches its expected value.
Syntax
VerifyValue (obj, ExpectedValue)
Parameter | Description |
---|---|
obj | The object name and object type to be checked. |
ExpectedValue | The expected value of the object. |
Return Value
True or False.
IMPORTANT
This function is registered for the following objects: AcxCheckBox and AcxRadioButton.
See also: