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 |
How to enter table check points?
What is the difference between low level recording and virtual object.
need clear explanation of actions and functions in qtp with examples?can anyone suggest me gud site for that other than qtp manual?
Can you do more than just capture and playback?
Hi all, On recording a particular Web application with QTP,Have came across a problem for which I havent found a solution so far.. The script of importance is as follows: Browser("Personalized Start Page").Page("XYZ").Frame ("mainFrame_4").Link("address.csv").Click Browser("Personalized Start Page").Page("XYZ").Sync Dialog("0% of dms.php from XYZ-").Dialog("File Download").WinButton("Save").Click My problem is that on recording the application with QTP and clicking the "address.csv" link another browser window comes up temporarily followed by the Windows "FileSave" dialog.The browser window which came up closes down when the Windows "FileSave" dialog is visible and I save the file to a windows location. On the "Record and Run" settings under Qtp,have activated settings for web and windows applications. But when I run this recorded script,and after the "address.csv" click,The browser window comes up and goes down,No Windows "FileSave" dialog comes up and the QTP shows the error Dialog("0% of dms.php from XYZ-") object is not found,though this object is there in the repository. Have tried putting the Dialog("0% of dms.php from XYZ- ").Exist property.But the "Exist" property is not recognised by the dialog at all. Any help in this direction is appreciated.. Thanks in advance J
Explain data driven framework?
how you have used object libraries? plzzzzz do answer
in which situation u will use recording and in which situation u will used to write script manually
When I used random numbers(1 to 9) with regular expression and run the test, it runs only 5 iterations with passed result instead of running all 1 to 9. Please tell me what can be the reason
In project module it contains 3-ok buttons with same properties who qtp identify its objects while runing ??
we have 10 automation scripts. how to call them from one main script.
What is log file?How to write log file code?
2 Answers Apps Lab, Value Labs,