ALLInterview.com :: Home Page KalAajKal.com
 Advertise your Business Here     
Browse  |   Placement Papers  |   Company  |   Code Snippets  |   Certifications  |   Visa Questions
Post Question  |   Post Answer  |   My Panel  |   Search  |   Articles  |   Topics  |   ERRORS new
   Refer this Site  Refer This Site to Your Friends  Site Map  Bookmark this Site  Set it as your HomePage  Contact Us     Login  |  Sign Up                      
tip   To Refer this Site to Your Friends   Click Here
Google
 
Categories  >>  Software  >>  Testing  >>  Automation Testing  >>  QTP
 
 


 

 
 WinRunner interview questions  WinRunner Interview Questions
 Load Runner interview questions  Load Runner Interview Questions
 QTP interview questions  QTP Interview Questions
 Test Director interview questions  Test Director Interview Questions
 Rational TestSuite interview questions  Rational TestSuite Interview Questions
 Silk Test interview questions  Silk Test Interview Questions
 Automation Testing AllOther interview questions  Automation Testing AllOther Interview Questions
Question
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)
 Question Submitted By :: Prasann.p
I also faced this Question!!     Rank Answer Posted By  
 
  Re: 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
# 1
Navigation:

File->Settings->Run(tab)->Select the option proceed to next 
Step
 
Is This Answer Correct ?    2 Yes 3 No
M.hemakumar
 
  Re: 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
# 2
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 ?    0 Yes 0 No
Jenny
 
 
 
  Re: 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
# 3
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 ?    0 Yes 0 No
Godisgr8
 
  Re: 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
# 4
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 ?    0 Yes 0 No
Pramod K Sirotia
 
  Re: 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
# 5
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 ?    0 Yes 0 No
Francis
 

 
 
 
Other QTP Interview Questions
 
  Question Asked @ Answers
 
how to test background color and dynamic images during runtime  2
How can we make a shared object repository in QTP 9? Ordain-Solutions3
what is throw object ?  1
Hi Guys, I am very new to QTP tool , In real time environment how to test the application with this tool, 1. How to load application in QTP tool 2. How to write test script in QTP. 3. In manual testing we test login box (user id , password) how can we test this kind of testing with QTP tool with examples . Please guys put some focus on my questions , real time ecperienced answers would be appreciate, advance thanks ,please guys i am expecting ur answers as soon as posible IBM1
Hi everybody, Can anybody tell me that how the QTP frameworks are implemented . I wanted to know with examples . Thanks in advance  1
what is test data Wipro3
How to call actions in QTP? Wipro1
I have java based application on my computer. Can I install QTP on it? What are system requirements for installing QTP?  3
How to do the scripting. Is there any inbuilt functions in QTP as in QTP-S. Whatz the difference between them? how to handle script issues?  1
1.can we parameterise object repository?how we can do it? 2.there is a name "mallikharjun".i want to get the vowels in it through VBSCRIPT? Tech-Mahindra3
Give me diffrent script in QTP for Webpage(Java and .Net),WindowsBased Applications,Java application,.Net application... Virtusa2
what are the environment variables,how do you use them. give an example. Polaris3
Wher to use DATA TABLE METHODS in Qtp?What is the use of it? Wipro5
What scripting language QTP of?  4
what is the difference between image and bitmap check point  3
Anybody can tell me what are the common roles and responsibilites of a Automation Test engineer IBM1
what is diffrense between action and function IBM3
w is output value MBT2
What is API Satyam1
Hi All, I am using QTP for one of the Desktop application which uses Keyboard inputs like 'Tab ,F7 etc' and also mouse (Click). After recording when i am running the Script ,it is not able to recognize the keyboard inputs like F7,Tab and mouse Click because of which either i have to skip that part or manually do the inputs. Please answer how can i make script more flexible so that it will recognize both keyboard and mouse operations.  3
 
For more QTP Interview Questions Click Here 
 
 
 
 
 
   
Copyright Policy  |  Terms of Service  |  Help  |  Site Map 1  |  Articles  |  Site Map  |   Site Map  |  Contact Us interview questions urls   External Links 
   
Copyright © 2007  ALLInterview.com.  All Rights Reserved.

ALLInterview.com   ::  Forum9.com   ::  KalAajKal.com