10-29-2013 09:55 PM
I am automating an application in firefox with QTP.
I have a sceanrio, where in, I click on a link in a Page which opens a sub-window (identified as Dialog by QTP). I have multiple objects under the window ex. WebList, WebEdit, WebButton etc. and I need to interact with them. (But QTP doesn't recognise anything under Dialog :( ).
I have tried using:
But it is not an optimal solution.
Can I get any help on this?
10-29-2013 10:42 PM
Do you have the necessary QTP patch loaded so that QTP 11.0 can work with Firefox 17 - patch QTPWEB_00122?
(Opinions expressed in my postings are mine alone, and do not reflect the opinions of my employer.No warranties express or implied for any solution/suggestion posted.)
10-30-2013 05:07 AM
I have installed all the necessary QTP Patches (QTPWEB_00090,QTPWEB_00092,QTPWEB_00122) and i am able to identify the objects in the Firefox but i am unable to identify the sub windows in that page.It was identified as 'Dialog' in the QTP and I have multiple objects under the window ex. WebList, WebEdit, WebButton etc. and I need to interact with them.
11-01-2013 06:42 AM
Please check following limitation and suggested workarounds in readme of patch QTPWEB_00090:
* All Firefox versions: Steps on WebElements in a dialog box (such as Browser("").Dialog("").Page("").WebElement)
do not work.
--All Firefox versions: If the Browser("").Dialog("") part of the step is recognized, you can use a recovery
scenario to handle the step or Browser("").Dialog("").Type to handle the step.
--Firefox versions 4 and later: Try using the 'HandleDialog' or 'GetDialogText' methods..
Please find more information in QTPWEB_00090 readme.
And, also check following suggestion: http://support.openview.hp.com/selfsolve/document/
And this ER as well: http://support.openview.hp.com/selfsolve/document/
If you find that this or any post resolves your issue, please be sure to mark it as an accepted solution.”