Hello,
I am using Automation tool QTP which uses Vbscript as its engine to create the script and execute the script.
An object text box has been created using J++ (Microsoft) sometime back. This object support a event called
ProcessCmdKey(ref Message msg, Keys keyData).
QTP supports the following operation in firing an event:
SwfEdit("txtEditBox").FireEvent "Click"
The QTP help also says that it supports argument in the form of array variant.
I defined my array variant as
a=Array("msg","120")
When I try to execute the following script
SwfEdit("txtEditBox").FireEvent "ProcessCmdKey",a it throws error messagebox (exception occurred).
Can anyone adivce me on this?
Thanks