• RSS
  • Facebook
  • Twitter

One Center for all the Testing Need. OneTestingCenter is for all, for all QA, for all Automation. Automation is easy, fun and enriching experience. Happy Learning and Happy Testing!

  • Access to All QA

    At OneTestingCenter, you find lots of books,articles,blogs and detailed guides. Everyone has access to QA. Happy Learning, Happy Testing.

  • Global Trainings

    All the QA/Auotmation trainings are available at OneTestingCenter. QA, Automation, QTP/UFT, Selenium, LoadRunner, QC/ALM, Appium...

  • Automation Learning Fun

    Technology is always evolving. Automation is always challenging. To be frank, Automation is fun, enthusiastic and enrching experience.



    QTP @ Synchronization @ Script Demo 

    '*******************************************
    'QTP @ Synchronization @ Script Demo
    '*******************************************

    '********************************************
    'QTP @ Synchronization > Wait Method Demo
    '********************************************
    SystemUtil.Run "C:\Program Files\HP\QuickTest Professional\samples\flight\app\flight4a.exe"
    wait(2)

    '********************************************
    'QTP @ Synchronization > WaitProperty Method Demo
    '********************************************
    LoginExist=Dialog("Login").WaitProperty("enabled",10): msgbox "LoginExist" & LoginExist

    '********************************************
    'QTP @ Synchronization > Exist Method Demo
    '********************************************
    If Dialog("Login").Exist Then
    Dialog("Login").Activate
    Dialog("Login").WinEdit("Agent Name:").Set "QuickTest"
    Dialog("Login").WinEdit("Agent Name:").Type  micTab
    Dialog("Login").WinEdit("Password:").SetSecure "4cff4da856c61fe63bc04099938e4b492de78365"
    Dialog("Login").WinButton("OK").Click
    wait(5)
    '********************************************
    'QTP @ Synchronization > WaitProperty Method Demo
    '********************************************
    st1=Window("Flight Reservation").WaitProperty ("visible",true,1500000)
    MsgBox st1
    Window("Flight Reservation").WinMenu("Menu").Select "File;Exit"
    else
    MsgBox " Nothing I can do here"

    End If


    Reactions:

    QTP @ Synchronization @ Script Demo



    QTP @ Synchronization @ Script Demo 

    '*******************************************
    'QTP @ Synchronization @ Script Demo
    '*******************************************

    '********************************************
    'QTP @ Synchronization > Wait Method Demo
    '********************************************
    SystemUtil.Run "C:\Program Files\HP\QuickTest Professional\samples\flight\app\flight4a.exe"
    wait(2)

    '********************************************
    'QTP @ Synchronization > WaitProperty Method Demo
    '********************************************
    LoginExist=Dialog("Login").WaitProperty("enabled",10): msgbox "LoginExist" & LoginExist

    '********************************************
    'QTP @ Synchronization > Exist Method Demo
    '********************************************
    If Dialog("Login").Exist Then
    Dialog("Login").Activate
    Dialog("Login").WinEdit("Agent Name:").Set "QuickTest"
    Dialog("Login").WinEdit("Agent Name:").Type  micTab
    Dialog("Login").WinEdit("Password:").SetSecure "4cff4da856c61fe63bc04099938e4b492de78365"
    Dialog("Login").WinButton("OK").Click
    wait(5)
    '********************************************
    'QTP @ Synchronization > WaitProperty Method Demo
    '********************************************
    st1=Window("Flight Reservation").WaitProperty ("visible",true,1500000)
    MsgBox st1
    Window("Flight Reservation").WinMenu("Menu").Select "File;Exit"
    else
    MsgBox " Nothing I can do here"

    End If