can u Give Procedure to Handle Pop Window & write Code for
that
Answers were Sorted based on User's Feedback
Answer / m.hemakumar
you can use pop up recovery scenario to recover from problem
assume a popup window contains yes ,no ,cancel buttons
Function Name: Popup_Recover()
public function Popup_Recover()
if Browser("title:=*").Dialog("name:=.*").Link
("name:=Yes").Exist Then
Browser("title:=*").Dialog("name:=.*").Link
("name:=Yes").Click
End If
End Function
| Is This Answer Correct ? | 6 Yes | 1 No |
Answer / siva
if u enter the invalid password means at that time u can get
the pop up message
for ex
browser(logical name).page(logical name).link(element).set
datatable("username",2)
browser(logical name).page(logical name).link(element).set
datatable("password",2)
if u enter the invalid password means u get the pop up message
| Is This Answer Correct ? | 0 Yes | 5 No |
is it possible to change the date format like MM/DD/YY into DD/MM?YY through script in QTP
how to create flat file datasubmission in qtp
When to use Descriptive programing?
How to make arguments optional in a function?
How do u connect database through QTP tell me both Ms Access and SQL
I have made the recovery scenario in script. When i am exceuting the script. it stop automatically after running recovery scenario. Please tell the resaon?
Is it possible to change the values of analog recording?
If created one virtual object? Next time I changed the window position will it work?
Suppose there are 10 browsers opened on desktop. I want to close all browsers except one browser in QTP. Can any one give the code for this?
What is the difference between a Function and Action in QTP?
What are the check points can be inserted without recording?
How to export QTP results to an ".xls" file?