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       Ask Questions on ANYTHING, that arise in your Daily Life at     FORUM9.COM
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
 
if Object repository contain x and y properties. we do not know whether they are mandatory or assistive properties. While executing the script qtp will use both the properties or only sufficient properties to identify the object. It means it use OR (or) AND ADP3
Can i run the qtp, without OBJECT REPOSTIRY...  7
How to check the value for variables during run time. Pls anybody can give the answer.. Thanks in advance... Navis2
where we are going to write the descriptive programming.for example we are invoking qtp application where we are going to write that code  3
what is the Command used to start the QTp from Run.(start-> Run) GE4
1. I have asked the same question for the third time, but i am getting wrong answers. Pls give me the script to count the number of edit boxes or checkboxes in an windows application screen. In windows application childobject is not working, anyone very urgent  7
what are the mandatory properties in qtp? what are the library functions in qtp? Wipro3
How u call functions in QTP Function to calculate the length of characters in a word -  4
What is the function of Filter in QC . give with a real time example. TCS1
There are two tabs in the application suppose, A and B.On clicking the tab "A" one table grid will open. if u click on tab "B" Another table gride will open. Now can I do some operations on both table grids with a single table grid properties in the object repository? I have added all objects of the first table grid into the object repository Now iam checking enable/disable status of "save button" in the second table grid my code is like this val=javawindow("zseries").javabutton("save").getroproperty ("enabled") when I highlighting the save button in the object repository by keeping open the second tablegrid on the application.It is displaying the popup message"The selected object can not be found in the application" can I use properties of one table grid for both tabs if so how it is possible. Can anyone help me Livetek1
How to Import data from a ".xls" file to Data table during Runtime.  1
Which scripting language QTP is using?  3
How can i count "spaces" in any sentence or a string if suppose " It is a Testing question" Here we have 4 gaps(spaces) Is there any function to find out spaces between words Livetek3
What is the difference between QTP 8.2 object repository and QTP 9.2 object repository Any body have an please give Answer Mail id: nagireddy.sn@gmail.com IBM5
Using Object Repository is a advantage or disadvantage? Wipro5
can anyone please send me qtp framework material please its urgent  1
How can i select multiple values from drop down list using vb script in qtp? and wt is the script for clicking msg box box automatically with a specific time. Thanks in advance...Kalyani. CSC2
How to Synchronize the Browser at Field level? For example if you put Browser.sync(), its waiting upto for that Browser sync only. It should wait total Browser get upload with fields. IBM3
WHAT IS PARAMITARIZATION?  8
Could some one explain me how to create folder on the desktop from QTP?? This is an interview question Clinical-Soft1
 
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