Skip navigation
snowyy
Currently Being Moderated

How to record right clicking in FLEX by QTP?

Jun 26, 2008 3:26 AM

In Flex application, right clicking a component such as DataGrid, customised contexMenu will show. But when using QTP to automate the testing, it can't record the right clicking operation. Anyone know the way to resolve this?
 
Replies
  • Currently Being Moderated
    Feb 4, 2013 12:08 PM   in reply to snowyy

    I have used below QTP script ,to recognize the context menu and select menu item.

    Set WshShell =CreateObject ("WScript.Shell")
    For i = 1 to 5
    WshShell.sendkeys "{DOWN}"
    wait (1)
    Next
    WshShell.sendkeys "{ENTER}"

     
    |
    Mark as:

More Like This

  • Retrieving data ...

Bookmarked By (0)