QTP Automation/VbScript

Author Message
gv_vbs

  • Total Posts : 1
  • Scores: 0
  • Reward points : 0
  • Joined: 10/7/2009
  • Status: offline
QTP Automation/VbScript Wednesday, October 07, 2009 5:20 AM (permalink)
0
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
 
 
#1

    Online Bookmarks Sharing: Share/Bookmark

    Jump to:

    Current active users

    There are 0 members and 1 guests.

    Icon Legend and Permission

    • New Messages
    • No New Messages
    • Hot Topic w/ New Messages
    • Hot Topic w/o New Messages
    • Locked w/ New Messages
    • Locked w/o New Messages
    • Read Message
    • Post New Thread
    • Reply to message
    • Post New Poll
    • Submit Vote
    • Post reward post
    • Delete my own posts
    • Delete my own threads
    • Rate post

    2000-2012 ASPPlayground.NET Forum Version 3.9