Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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


Please Help Members By Posting Answers For Below Questions

How can you send user defined messages to test report?

1059


How to record a qtp script ?

1052


can u please explain what is the exact difference between qtp8.2 and 9.0

2168


What is Unicode Compatibility?

2016


Explain the benefits of quick test pro(qtp)?

997


can u explain the keyword driven framework with an example clearly how to create all the files and how to attach to main test.

6205


after click on compose mail how can we attached a file in qtp with vbscript code

2182


How to write business scripts using object repository with different scenarios

1920


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

2214


Explain the difference between data driven testing and parameterization ?

1039


What is the differences between image check point and bit map check point?

1088


How do you capture tooltip using QTP?

1092


If the objects hierarchy is changing from build to build, then how you will handle that condition?

1053


Explain different types of checkpoints?

1027


Dear All, How to generate Pass or Fail Report in QTP without using Reporter.Report Event Method ? Thanks Balaji

2729