Documentos de Académico
Documentos de Profesional
Documentos de Cultura
cid=56
Chapters Parameterization
Upcoming Trainings
Parameterization is nothing but giving multiple Input/Test data to the test script.
QTP Interview Questions
Regular Expression '"Sheet1" is the name of Sheet in Excel file "qtp.xls" where data needs to be entered .
set mysheet = myxl.ActiveWorkbook.Worksheets("Sheet1")
Error Handling & Recovery
Scenario 'contents of sheet1
'Uname Pwd
Output Values '------------ ------------
'qtpworld.com qtp
Database Connections 'admin qtp
' qtp
Automation Object Model 'admin
'abcd abcd
Synchronization
'Launch Gmail
Environment Variables Systemutil.Run "iexplore.exe","http:\\www.gmail.com"
Outlook
'Insert username and Password in the datatable sheet "Global" under column "Username" and "Password"
'Launch gmail.com
Systemutil.Run "iexplore.exe","http:\\www.gmail.com"
'Make sure whenever you parameterize through datatable you do the following ,
'1. go to File ->Settings ->Run
'2.On the right side panel , Under "Data Table iterations" select the first option that is "Run one iterat
'Login to sample Qtp flight application and keep the main window open.
Window("Flight Reservation").WinButton("Button").Click
Window("Flight Reservation").Dialog("Open Order").WinCheckBox("Order No.").Set "ON"
1 of 2 1/29/2016 8:24 AM
QTPWorld http://www.qtpworld.com/index.php?cid=56
Next
'Launch gmail.com
Systemutil.Run "iexplore.exe","http:\\www.gmail.com"
'Allowing user to enter User name and Password three times during run time
For i = 1 to 3
Next
Copyright QTPWorld.com 2013 Home | Demo videos | Students | Training | FAQ's | Feedback | About Us Designed By WebZone
2 of 2 1/29/2016 8:24 AM