One Testing Center

QTP - Keyword Driven Framework. QTP Learning Book - Learn By Questions. QTP Learning Book - Made Easy - Part1. QTP Learning Book - Made Easy - Part2. QTP Quality Center - QC.

QTP - Frameworks

QTP - Frameworks. Record and Play back Framework. Action Driven Framework. Data Driven Framework. Functional Decomposition Framework. Keyword Driven Framework. Hybrid Framework. Test Driven Framework.

QTP - Automation

QTP - Basics. QTP - Intermediate. QTP - Advanced. QTP - Frameworks.

QTP - Training

Friends, Welcome to OneTestingCenter. I am HP Functional Test ExportOne. I am HP Automation Functional Test Certified Professional. I am certified for HP Functional Test 11.x. Happy to share my knowledge.

QTP - Books

QTP - Keyword Driven Framework. QTP Learning Book - Learn By Questions. QTP Learning Book - Made Easy - Part1. QTP Learning Book - Made Easy - Part2. QTP Quality Center.

Recent Post

Showing posts with label QTP - Synchronization - Script Demo. Show all posts
Showing posts with label QTP - Synchronization - Script Demo. Show all posts

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


GAReddy @ OneTestingCenter @ All Articles