leeleoo / flash-selenium

Automatically exported from code.google.com/p/flash-selenium
0 stars 0 forks source link

ERROR: Threw an exception: window.document.clickcolors.PercentLoaded is not a function on session #20

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. compile sample code from http://code.google.com/p/flash-selenium/
2. run test

What is the expected output? What do you see instead?
expected: during test, should click and different colors should display.
instead: did not see different colors display and test failed.

What version of the product are you using? On what operating system?
-windows xp
-selenium-server.jar version: v1.0.1 [2696], with Core v@VERSION@ [@REVISION@]
-firefox 3.0.7

Please provide any additional information below.
selenium-server console output
15:46:26.343 INFO - Launching Firefox...
15:46:30.250 INFO - Got result: OK,74da73a986564a79975233f50d5fc310 on
session 74da73a986564a79975233f50d5fc310
15:46:30.250 INFO - Command request: getEval[navigator.userAgent, ] on
session 74da73a986564a79975233f50d5fc310
15:46:30.281 INFO - Got result: OK,Mozilla/5.0 (Windows; U; Windows NT 5.1;
en-US; rv:1.9.0.7) Gecko/2009021910 Firefox/3.0.7 (.NET CLR 3.5.30729) on
session 74da73a986564a79975233f50d5fc310
15:46:30.281 INFO - Command request:
open[http://www.geocities.com/paulocaroli/flash/colors.html, ] on session
74da73a986564a79975233f50d5fc310
15:46:31.406 INFO - Got result: OK on session 74da73a986564a79975233f50d5fc310
15:46:31.406 INFO - Command request:
getEval[window.document['clickcolors'].PercentLoaded();, ] on session
74da73a986564a79975233f50d5fc310
15:46:31.437 INFO - Got result: ERROR: Threw an exception:
window.document.clickcolors.PercentLoaded is not a function on session
74da73a986564a79975233f50d5fc310

Original issue reported on code.google.com by na...@mail.com on 26 Jun 2009 at 11:40

GoogleCodeExporter commented 8 years ago
I m facing the same issue could anybody please help me..

Thanks
Chetan!

Original comment by chetanpa...@gmail.com on 27 Jul 2009 at 10:19

GoogleCodeExporter commented 8 years ago
It looks like Paulo's test page doesn't support automation in Firefox, I think
because it uses <object> rather than <embed>, or something like that. I 
downloaded
the html, modified it to use swfobject http://blog.deconcept.com/swfobject/ and 
then
served it up locally and it worked in Firefox.

Original comment by ohthep...@gmail.com on 27 Aug 2009 at 5:25

GoogleCodeExporter commented 8 years ago
I could able to make this issue work when ran scripts in Google Chrome.

IE 8.0 always hung with some pop-up blocker message
FF 3.0 always gave same error message.

Google Chrome Rocks :)

Original comment by vikram.s...@gmail.com on 12 Mar 2010 at 9:06

GoogleCodeExporter commented 8 years ago
DefaultSelenium("localhost",4444,"*googlechrome",URL)

Original comment by vikram.s...@gmail.com on 12 Mar 2010 at 9:06