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

What is meant by Repository?

7 Answers   ALFiNE IT Solutions, Four soft,


Please let know the scripts for counting number of repeated letters in the word. Note repeated letter should not be count agian. Ex: If "Hello" is my word... l is coming twice.. it should count once and print... secong 'l' should not count again..

5 Answers  


Can an action have 2 shared object repositories associated with them? In that case, if two of them contain the same object, which one will be considered?

0 Answers  


How to Compare the 2 xl-sheets in QTP? ple write the vb Script for the comparison?

1 Answers  


Hi all, On recording a particular Web application with QTP,Have came across a problem for which I havent found a solution so far.. The script of importance is as follows: Browser("Personalized Start Page").Page("XYZ").Frame ("mainFrame_4").Link("address.csv").Click Browser("Personalized Start Page").Page("XYZ").Sync Dialog("0% of dms.php from XYZ-").Dialog("File Download").WinButton("Save").Click My problem is that on recording the application with QTP and clicking the "address.csv" link another browser window comes up temporarily followed by the Windows "FileSave" dialog.The browser window which came up closes down when the Windows "FileSave" dialog is visible and I save the file to a windows location. On the "Record and Run" settings under Qtp,have activated settings for web and windows applications. But when I run this recorded script,and after the "address.csv" click,The browser window comes up and goes down,No Windows "FileSave" dialog comes up and the QTP shows the error Dialog("0% of dms.php from XYZ-") object is not found,though this object is there in the repository. Have tried putting the Dialog("0% of dms.php from XYZ- ").Exist property.But the "Exist" property is not recognised by the dialog at all. Any help in this direction is appreciated.. Thanks in advance J

1 Answers   ADP,


How is test case write?

0 Answers  


What r the different type of reports generated in Quality Center?

1 Answers   TCS,


Hi All, How to Compare two strings character by character in QTP

0 Answers  


There is one parent browser and 'n' number of child browsers on desktop. Write a code to close all the child browsers but parent browser should not be closed.

1 Answers  


Where to use Property Let, Property Get, Property Set in UFT

0 Answers  


Where is the resultset of a sqlquery (which is fired by rsobj.open sqlquery,xxxx,xxxx) stored ?

0 Answers   Accenture,


How to record objects of Windows taskbar

2 Answers   RoboSoft,


Categories