Friday, August 8, 2008
1.How to make arguments optional in a function?
A.Suppose there is alogin window in the user name we can type Any thing but while running its giving som eerror we can avoid tht error actually so, we can make tht tsl as an optional so tht if an error occurs it countinues but not stop for exampleOptional.Dialog("Login").WinEdit("Name:").Set "ssss" these line make an optional now
3.What is the difference between image and bitmap check point
A.Image check point - It will capture your whole image.
Bitmap Check point- Using this you can capture desired area
of image or other portion
Bitmap Check point- Using this you can capture desired area
of image or other portion
4.When the Low Level Recording is used in QTP
A.1. if fails to record in Contact Sensitative
2. if it fails to record in analog recording
3. When the Object is not identified4. Not use
2. if it fails to record in analog recording
3. When the Object is not identified4. Not use
5.How to add a runtime parameter to a data sheet?
A.Example:
Datatable.GetSheet ("Global").Add Parameter ("NewColumn_Name")
This adds a new column called NewColumn_Name in the
data table under Global Sheet
Datatable.GetSheet ("Global").Add Parameter ("NewColumn_Name")
This adds a new column called NewColumn_Name in the
data table under Global Sheet
6.How to suppress warnings from the "Test results page"?
A.i am unable to understand your question clearly anyway i will give some input to you I hope it's useful to you if you want Pass result in the Result page reporter.reportevent micPass,if you want fail result in the Result page reporter.reportevent micFail, if you want Warning result in the Result page
Reporter.reportevent micWarning if you don't want any result symbol only u want text in the Result page reporter.reportevent micDone,
Reporter.reportevent micWarning if you don't want any result symbol only u want text in the Result page reporter.reportevent micDone,
7.Can we do Load Testing with QTP?
A.Yes but we can do in Module Level
You can not create a load in QTP. QTP is a functional regression testing tool. QTP can only act like 1 user. You need a tool like Load Runner to actually create a load.
You can not create a load in QTP. QTP is a functional regression testing tool. QTP can only act like 1 user. You need a tool like Load Runner to actually create a load.
Subscribe to:
Posts (Atom)