Execute_File "Path of the .vbs file "
executefile "C:Usersviju(PV)Desktopopening.vbs"
record events on your application stop recording
go to tools menu
slect data driver
and data driven wizard
pass parametres using step by step
click next
click parametrize radio button
and parametrize yr script
clik next
click finish
Public : In any testing tool not only the QTP if we declare as a Public then we can use that variable to any function within the script
Private : we can use that variable within the function
There are 4 trigger events during which a recovery scenario should be activated. A pop up window appears in an opened application during the test run: A property of an object changes its state or value, A step in the test does not run successfully, An open application fails during the test run, These triggers are considered as exceptions.You can instruct QTP to recover unexpected events or errors that occurred in your testing environment during test run. Recovery scenario manager provides a wizard that guides you through the defining recovery scenario. Recovery scenario has three steps: 1. Triggered Events 2. Recovery steps 3. Post Recovery Test-RunPrivate : we can use that variable within the function
No comments:
Post a Comment