Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


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



How can we disable popup blocker? (I think it means when we get a pop up messge(its error) how w..

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

How can we disable popup blocker? (I think it means when we get a pop up messge(its error) how w..

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

How can we disable popup blocker? (I think it means when we get a pop up messge(its error) how w..

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

How can we disable popup blocker? (I think it means when we get a pop up messge(its error) how w..

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

How can we disable popup blocker? (I think it means when we get a pop up messge(its error) how w..

Answer / m.hemakumar

Navigation:

File->Settings->Run(tab)->Select the option proceed to next
Step

Is This Answer Correct ?    3 Yes 7 No

Post New Answer

More QTP Interview Questions

Hi Everybody, Can anybody please tell me the how to display the result of the QTP in the notepad text file rather than in the QTP result window. Suppose this is my simple script:WHich will open the notepad file and enter some text and then will change the font then will calculate how much time has been taken.Now, in this script i want to display the result in notepad file. Dim s Dim starttimer,endtimer,timeit s="uyetuywqtywqte" SystemUtil.Run "notepad","","Y:\","" Window("Notepad").WinEditor("Edit").Type micCtrlDwn + "s" + micCtrlUp Window("Notepad").Dialog("Save As").WinEdit("File name:").Set "test1" Window("Notepad").Dialog("Save As").WinEdit("File name:").Type micReturn Window("Notepad_3").Type s Window("Notepad_3").WinEditor("Edit").Type micCtrlDwn + "s" + micCtrlUp starttimer=timer Window("Notepad_3").WinMenu("Menu").Select "Format;Font..." Window("Notepad_3").Dialog("Font").WinEdit ("Font:").Type "cou" + micDwn Window("Notepad_3").Dialog("Font").WinComboBox ("Font:").Select "Courier" Window("Notepad_3").Dialog("Font").WinEdit ("Font:").Set "Courier" Window("Notepad_3").Dialog("Font").WinEdit("Font:").Type micReturn endtimer=timer timeit=endtimer-starttimer print(timeit) Please also tell me where the function for the text file result will be declared and where it should be called. Thanks, Gaytri

2 Answers  


What is smart identification?

2 Answers   Ordain Solutions,


I wnnt to learn about QTP Automation Framework,please give URL Address to get more information about AFW.

0 Answers   UHG,


For ex we are doing automate testing in that can we do some part of application recording, some part descriptive programing and some part general VB scripting like that .............

3 Answers   Satyam,


i have batch scripts in qtp and i want to update the status like pass/fail in excel sheet after excecuting the every script in batch.how to write the script for this?

1 Answers   IBM,


Pls let me know completely about descriptive programming, where it is used, pls explain with a real time example of its occurence and the program code written in qtp.

3 Answers  


Approach for Installation,comaptibility,system testing

0 Answers   Diebold,


in QTP, we have options like (record and play,recording modes(normal,analog,low level),object identification,smart identification,object repository,synchronizing test,transactions,checkpoints(std,bitmap,text,text area,DB,XML,accessibility),regular expression,actions,data driving,parameter,parameterization,data tables,recovery scenario(pop up,object state,test run error,application crash). real time users of QTP, pls say and when and at what point u have used all these options ,in ur concerned project.pls give me explanation in accordance with ur real time project handled. real users pls send some time in the aboue case. if u can send the the reply through allinterview or at ref_it_ref@yahoo.co.in

1 Answers  


Why do you choose only QTP for your project automation among remaining tools like Rational robot and silk test?

2 Answers   CTS,


what is the purpose of SetTOProperty Method?

1 Answers   Cap Gemini, iGate, Wipro,


explain keyword driven framework with banking domain?

0 Answers   TCS,


What are software testing metrics

3 Answers  


Categories