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)
Answers were Sorted based on User's Feedback
Answer / godisgr8
In QTP, we can use Recovery Scenario's to handle exceptions
like this Pop-up messages;
Trigger->Pop-up message box
Recovery->U instruct QTP how to deal(ex)Click the OK button
Post-Recovery->How to Proceed further (ex)Run the next test
iteration
We can use the recovery scenario file to other scripts too.
They will be of file extension rs.
| Is This Answer Correct ? | 2 Yes | 0 No |
Answer / francis
Use can use the vbscript cmd in the script
On error resume next
or use can use the below one
File->Settings->Run(tab)->Select the option proceed to next
Step
| Is This Answer Correct ? | 1 Yes | 0 No |
Answer / jenny
Ideas:
A program can deal with an exception in one of three ways:
– ignore it
– handle it where it occurs
– handle it an another place in the program
If you do not see the pop up message and if the err can be
ignore it,
Then make a code to Write the err to a error log;
Proceed to next step.
| Is This Answer Correct ? | 1 Yes | 1 No |
Answer / 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 |
Answer / m.hemakumar
Navigation:
File->Settings->Run(tab)->Select the option proceed to next
Step
| Is This Answer Correct ? | 3 Yes | 7 No |
I added 5 edit box objects in OR.i run the script and the first edit box successfully executed.But on next day when i executed same script for second edit box,it gives an error "object not Found". But when i used Highlight in app. object already in OR.So how i will handel this type of error. Hi please inform me the write answer.Its urgent.
Can we use smart identification in Keyword Driven approach? If yes , How we can use. Please Explain?
your coming from electrical backgroung..but y ur coming to software side?
Hi, is it possible for recording shortcut key during record session? The application on which I am working is web based application. This application has several shortcut key associated with menu option. I have succesfully recorded all menu option but unable to record shortcut key.
Hi Friends... What you are doing in Regression Testing and how many test cases you ran in regression testing... suppose there is 1000 test cases is there how many test cases again you run .. 1000 test caes r how many... thanx in advance..
c language is thre but what is the purpose of c++, java is there but what is the purpose of Advanced java ....why these are all versions are coming...whta is the problem?
HOW DO U CALL A ACTION IN QTP?
Can any body help me to write descriptive program to find a cell value (say 2 row, 3rd column) in a datatable which is creating dynamically and statically
Can we test the Word Document using QTP Tool? We should test the page size,page set up, paragraph indentation and spacing, font size of the the character int the page.
how will check the links in multiple pages at a time
What is the difference between Accessibility Checkpoint and Bitmap Checkpoint in QTP? Note: I have read it in QTP help but i dont want answer from that.......
How Can I automate PDF forms using QTP9.2 ?