Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Error in testing the browser
#1
Solved: 11 Years, 4 Months ago
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
Reply
#2
Solved: 11 Years, 4 Months ago
QTP only supports IE browser starting from 6.0 version.
Reply
#3
Solved: 11 Years, 4 Months ago
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.

Reply
#4
Solved: 11 Years, 4 Months ago
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?
Reply
#5
Solved: 11 Years, 4 Months ago
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...PWEB_00046 (requires login)

Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Chrome Extension UFT Agent for Chrome Browser testing with UFT santhosh kumar 2 12,446 04-20-2016, 01:20 AM
Last Post: santhosh kumar
  General run error. Line (18): "Loop while Browser("Index:=0").Object.Busy" AshokReddy 3 5,062 12-20-2013, 01:44 PM
Last Post: sshukla12
  Browser Compatability testing using QTP11 naveen51 1 2,038 12-16-2013, 10:33 AM
Last Post: supputuri
  error object disabled on line 9 where it says " Browser("Browser").CloseAllTabs" kp_usa 1 3,344 12-20-2012, 12:20 AM
Last Post: adityapant27
  QTP Error: Browser application can't be launched khema84 9 10,983 07-28-2012, 03:23 AM
Last Post: bashu09

Forum Jump:


Users browsing this thread: 1 Guest(s)