Hi All,
issue is related to handling pop up script generated in IE,
and run on mozilla.

In App Under Test, when we get the alert pop ups, we just
click ok button. if we need to run the same code on mozilla
it will not identify .

so we will check browser
if browser(*).dialog(IE object).exits
browser(*).dialog(IE object).winbutton(OK).click
else 'by default mozilla
browser(*).dialog(mozilla
object).page(*).webbutton(OK).CLICK
END IF

But my qustion is. Do we write the above piece of code where
ever we get such kind of pop ups from the application like
alert pop up, confirmation pop up....

OR do we have any other alternative way to do this by using
any functions in Recovery Scebarios?

If Any of u know idea please do help me in this regard.
or send answer to kravimb@gmail.com


No Answer is Posted For this Question
Be the First to Post Answer

Post New Answer

More QTP Interview Questions

Tell some commonly used Excel VBA functions?

0 Answers  


what are the different u notice in betweem QTP version 8.2 and 9.2 and what is new in QTP9.2

1 Answers  


Excepton Handling?

0 Answers   Wipro,


Hi all im having a pop up validation browser which is 20 in number, i want to close those similar pop browsers one after the other, is there any specific code for that? i tried by giving creation time & putting in a loop but it dint work? valid working answers will be greatly appreciated

2 Answers   McAfee,


How to test menu options using qtp

2 Answers  






In an(AUT) web application their are two frames as fraMain and fraFooter. Both the frames contain link which needs to be retrieved at a single step. I tried it using "Regular Expression" as fra.* but QTP doesn't recognize the object. So Plz help me out to get resolve the problem:-)

1 Answers  


I have the script like this: Browser("Login").Page ("Application").Frame("ScopeFrame").Link("DC3701737 (Active)").Click in which the value "DC3701737" will get changed and i have to use the same value in so many places. I got the value "DC3701737" in to a variable(Say x). Now if i want to pass the variable in to link object .. how? Browser("Login").Page("Application").Frame ("ScopeFrame").Link(x).Click Is it possible to pass any variable into a link object .. so, that the application will select that link automatically? If ur not able to understand, pls let me know.

2 Answers   ABC,


HI, pls help me on this, iam not able to capture getcelldata value in javatable... msgbox javawindow("").javatable("").getcelldata(3,3) but it diaplays empty...

0 Answers  


we have 5 default properties we want add more Default property in Object Repository how to add the property

2 Answers   Nous,


what are the different data driven types?

6 Answers  


Suppose i have given 10 test cases all the test cases should be automated?

3 Answers   NTT Data,


how to get the object count ?????????

8 Answers  


Categories