How can we disable popup blocker? (I think it means when
we get a pop up
messge(its error) how we wil disable that one with out
interrupting normal
process)
Answer Posted / pramod k sirotia
Hi, Prasann.p
First of All, I would like to ask to M.hemakumar, Godisgr8
and Jenny that you all are very intellient becuase you know
Advance "Recovery Scenarios" feature of QTP.
But my dear fried do not misguide to someone if you don't
know the exact answer of query. Please read once carefully
to Ques. it's not Covers any of your recovery scenariors.
If you guys say right then let me know how to Handle to
Popup blocker Off by QTP. As you says in Recvoery part "U
instruct QTP how to deal(ex)Click the OK button"
but kind for your information i would like to say you that
if you click oK button by QTP then that message will go
away but your Popup bloker will not be off.
So As per my best knowledge please consider this Code to
handle this situation.
'When we get a pop up messge(its error))
If Browser("Browser").Page("XYZ").GetRoProperty
("innerhtml").exist
Then
Reocord Go to Browser then Click Tools-> Popup Blocker ->
Turn off.
remaining Script
End If
Next Codes.
Hope you will get your problesm out.
If you are not satisfied call or Contact me at:
pramod.sirotia@gmail.com
| Is This Answer Correct ? | 1 Yes | 1 No |
Post New Answer View All Answers
HI Everybody, I am using QTP 9.2, I have a problem and hope everybody help me solve it. Now I need to use mouse wheel event to zoom in or zoom out in web client, but QTP can't catch this event. I look forward helping of everybody. Thank you very much.
How can I change object description or check point values in qtp?
How to associate shared object repository to test in qtp?
Anybody plz give, How do you test aframe in a web page? If page cotain text message or Images, tables?
What is the difference between shared and local object repository?
Why qtp the best testing tool?
How to create runtime property for an object?
How to use checkpoints in qtp ?
whare exactly we have to use functions and sub routain
What is the extension of qtp local repository?
banking project description for software tester
How QTP identify the system time that's changes every seconds?
when will you do debug your script? and explain that process?
In keyward driven framework what will be the step for yahoo login page ,inbox logout,plz explain in detail
What do you mean by iteration?