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 / 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 |
w is recovery senario manager
if numbers are always changing write a script for that
How to get data line by line from web element
What is difference between shared and local object repository?
In Datatable having the data like this S.no Name Address 1 raj hyderabad 2 suresh Mumbai 3 shyam chennai 4 dev banglore i want to get the shyam row id & column id using scipting i.e 3,3
What is the parameterization? Give one example?
Which version of QTP is using by companies nowadays?
Which Databases supports for QTP?
how do we know whether all objects are stored in the object repository or not? how can we know if a particular object is not stored in the repository?
What is standalone database?
write a VBscript code to parametrize test script using test data from sqlserver database?
can any body tell me all of the release dates of QTP?????..... thanks in adv!