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   SiteMap shows list of All Categories in this site.
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
 
for example one window is there, the window contains how many edit box's i want script? i know the script but that is not exact answer.... The script is like this .......... set a=description.creation() a("Native class")="WinEdit" b=window("Flight Reservation").childobject(a).count msgbox b  2
I would like to do some certifications in QTP. please suggese what kind of certifications can i do. I am currently put up at chennai. So please suggest some reputed centres where these courses are offered.  1
How to test whether the navigation i.e. from one page to another is working r not using QTP for web based application  1
HI, Anybody can explain Automation Test Framework...and wht do we do before start of Automation..... Siemens2
How do u write a regular expression for date (dd/mm/yyyy) field?  2
How to check the value for variables during run time. Pls anybody can give the answer.. Thanks in advance... Navis2
Does the Existing reusable action can be modified at the time of calling the action?? Please help me..  2
What is the difference betweent test and component?  1
What is an Custom Object in QTP ?  1
Can Any One Write How to Write the Script for Child Objects  2
what is the mediater between qtp and application/project in automation testing?  1
What is iteration? How it is related to Test Results in QTP Virinchi-Technologies2
How do you data drive an external spreadsheet?  1
w is datatable CTS5
What expansion of "MIC" in MICPASS (TEST ReportPAGE) TCS5
1.how can we report the QTP test result in a different excel sheet 2. Aurigo3
What is the difference between keyword driven frameworkd and Modularisation framework?(Chandana) Wipro4
How to "Turn Off" QTP results after running a Script?  2
Hi Friends, If you got one Bug , and you are insert that bug in bug tracking tool , and you need to attach SC's (screen shots) also. how to tae SC's , in your organization any separate tools available to take SC's. please provide Ans. its urgent... Thanx in advance  3
Where the text version of script file located in file system?  1
 
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