In my application there is a billing thru credit card.
how to validate the credit card details(min balance,credit
card no,card holder name).if these details are valid then only
that booking will be done.how to validate these details thru
automation or manual?
Answer Posted / patil
You should store the value for the name in a variable well
in advance in a Test Data file. Using a function which
reads the data, get the value from the sheet in an
iterative process.
Ex: custname="xyz"
Then...
If B.P.F.WebTable.exist(0) Then
name = Trim(B().P().F().webedit("cname").getroproperty)
("text"))
If custname=name Then
Reporter.ReportEvent micdone,"sucess"
End If
Else
msgbox "No object"
Existaction
End if
Patil
Jai Ganesh Maharajki...
| Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
How can you send user defined messages to test report?
How to record a qtp script ?
can u please explain what is the exact difference between qtp8.2 and 9.0
What is Unicode Compatibility?
Explain the benefits of quick test pro(qtp)?
can u explain the keyword driven framework with an example clearly how to create all the files and how to attach to main test.
after click on compose mail how can we attached a file in qtp with vbscript code
How to write business scripts using object repository with different scenarios
Hi we are running tests remotely from quality center and pushing tests into qtp boxes remotely, and it does execution but while uploading results back into quality center it hangs in qtp box.If any one come across similar problem, please send me details how to handle this. Thanks kris
Explain the difference between data driven testing and parameterization ?
What is the differences between image check point and bit map check point?
How do you capture tooltip using QTP?
If the objects hierarchy is changing from build to build, then how you will handle that condition?
Explain different types of checkpoints?
Dear All, How to generate Pass or Fail Report in QTP without using Reporter.Report Event Method ? Thanks Balaji