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?



In my application there is a billing thru credit card. how to validate the credit card details(min ..

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

Post New Answer

More QTP Interview Questions

what is L-trim function will do?

2 Answers  


Hello Everybody, Please tell me can we create Test Plan in QTP? This I am asking irrespective to integrating with Test Director.I mean is there any option to create Test Plan in QTP itself. Thanks, Gaytri

4 Answers  


Please explain the role of Regular expression in QTP

0 Answers  


How many types of parameters are there in QTP and what are they?

2 Answers  


Tell me the difference between QTP9.2, QTP9.5 and QTP10.0

1 Answers   Genpact, HSBC,






IF THE GUI OF APPLICATION IS CHANGED THEN IS THERE ANY NECISSITY TO CHANGE OR UPDATE OUR TEST SCRIPTS

2 Answers  


how u test a frame in a web page using QTP?

1 Answers   Accenture, IBM,


QTP is used better in which type of application Web based application or desktop application

3 Answers  


What is regular expression?

0 Answers  


can u expect, major bugs in NET BANKING Project? Modules Transaction Module, Customer Relation Module.

2 Answers  


How many types of run modes are there in qtp?

0 Answers  


hello...any one tell me , where can i get company email id.. actually i am searching on testing... in my CV i put 3+ exp.. but all companies are asked company email id.. please provide solution for that... thanx in advance...

9 Answers   HDFC,


Categories