Micro Focus QTP (UFT) Forums
Error in testing the browser - Printable Version

+- Micro Focus QTP (UFT) Forums (https://www.learnqtp.com/forums)
+-- Forum: Micro Focus UFT (earlier known as QTP) (https://www.learnqtp.com/forums/Forum-Micro-Focus-UFT-earlier-known-as-QTP)
+--- Forum: UFT / QTP Beginners (https://www.learnqtp.com/forums/Forum-UFT-QTP-Beginners)
+--- Thread: Error in testing the browser (/Thread-Error-in-testing-the-browser)



Error in testing the browser - gb_kriss - 06-19-2010

Hello All

iam trying to test firefox3.6 browser,the test requirement is,
iam going to downloads folder under browser tools ->options,clicking on browse button and selecting the location as desktop.
iam getting the error as object window cannot be identified, and when i click on the tools option it is capturing as coordinates, how to name it to text .

OS-windows xp (32 bit)
qtp9.2
firefox3.6

Code:
SystemUtil.Run "firefox","","C:\Documents and Settings\prasad",""
Window("Window").Click 53,166
Window("Options").WinObject("MozillaWindowClass").Click 390,241
Window("Options").Dialog("Browse For Folder").WinTreeView("Choose Download Folder:").Select "Desktop"
Window("Options").Dialog("Browse For Folder").WinButton("OK").Click
Window("Options").WinObject("MozillaWindowClass").Click 266,384

Error
Run Error Cannot identify the object "Window" (of class Window). Verify that this object's properties match an object currently displayed in your application.
Line (2): "Window("Window").Click 53,166".
can anyone please help me to reslove it

Thanks
Saikrishna


RE: Error in testing the browser - guin.anirban - 06-21-2010

QTP only supports IE browser starting from 6.0 version.


RE: Error in testing the browser - Saket - 06-21-2010

Hi guin.anirban,
I would like to correct you here - QTP do support Firefox.

however QTP 9.2 only supports Firefox 1.5 and 2.0, and QTP 9.5 and 10 supports Firefox 3.0.x
Please refer QTP readme.


RE: Error in testing the browser - guin.anirban - 06-21-2010

Thanks Saket for correcting me.

According to my knowledge i answered like that. Sorry for misguiding.

But i want to know for supporting Firefox what are the extra things we need to do?


RE: Error in testing the browser - Saket - 06-21-2010

Not sure if QTP 10 fully supports Firefox 3.6, but if you can dowgrade it to 3.5, you will have to install a patch realeased by HP-
http://support.openview.hp.com/selfsolve/document/FID/DOCUMENTUM_QTPWEB_00046 (requires login)