|
John M. Daly
Junior Member
Reged: 04/28/06
Posts: 9
Loc: Millington, IL
|
|
I have been trying to use a script that was written for IE with FireFox. I installed a couple of Patches which allowed me to see the Objects with the Spy and when I go to the Object repository and "Highlight in Application" (Browser, Page or Webelement) it works. When I step through the script and get to the sync line on the Browser, or any line which would do something to a page or element on the page, I am getting a Type Mismatch error. All of the following lines are doing this:
Browser("BName").Page("PName").Sync Browser("BName").Page("PName").WebEdit("UserName").Set gUserID Browser("BName").Page("PName").WebEdit("UserPassword").SetSecure gDefaultPWEncoded Browser("BName").Page("PName").WebButton("Login").Click
I have never seen anything like this and I am at my wits end today trying to figure it out.
I am running QTP11. I am running FireFox 16. I also tried this with FireFix12 with the same results. I have Patches QTPWEB_00090 and QTPWEB_00112 installed.
Has anyone seen a type mismatch error being thrown when doing a Sync on a page before? Anyone have any ideas?
I would really appreciate any help. I am stuck.
Thanks
John
-------------------- John M. Daly
Software Test Automation Engineer
DeVry Inc.
|
satkha
Member
Reged: 07/21/10
Posts: 47
Loc: Kyiv
|
|
As far as I heard for FF you have to write/run another scripts (objects in IE and FF are recognized/processed differently by QTP)...
-------------------- All are not hunters that blow the horn
|
|
Powered by UBB.threads™ 6.5.5
|