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
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
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