Results 1 to 3 of 3
  1. #1

    how to handle menu by automation?

    please find the code below for menu handling?

    On error resume next
    SiebApplication("oneView Client").SiebMenu("Menu").Select "Application\\Application"
    wait 2
    set WshShell = CreateObject("WScript.Shell")
    wait 2
    WshShell.SendKeys "{DOWN}"
    wait 2
    WshShell.SendKeys "{ENTER}"
    set WshShell = Nothing
    wait 2
    stxt = ""
    stxt = GetActiveDailog()
    Environment.Value("ApplicationVersionName") = stxt
    If Browser("index:=" & intCnt).Dialog("micClass:=Dialog").Exist(10) Then
    Call FncClkButton("[ OK ] button")
    End If
    Be cool

  2. #2

    Re: how to handle menu by automation?

    What is the issue?

    Do the menu objects expand when mouse moved over them?
    -- Here to Learn and share ---

  3. #3

    Re: how to handle menu by automation?

    Hi SAM

    Please check below code for selecting menu button for quality center

    l = -1
    t = -1
    r = -1
    b = -1

    xx = Window("HP Quality Center 9.2").WinObject("Main Menu").GetTextLocation("Tests", l, t, r, b)
    If xx = true Then
    Window("HP Quality Center 9.2").WinObject("Main Menu").Click (l+r)/2,(t+b)/2
    End If
    Be cool



Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
BetaSoft Inc.
All times are GMT -8. The time now is 03:35 PM.

Copyright BetaSoft Inc.