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

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
Will really appriciate. Can you guys please help to resolve this ? What am
I missing in order to run the sample tests.

What steps will reproduce the problem?
1. Running the ColorTest sample code
2. Does not run with 
flashApp = new FlashSelenium(selenium, "clickcolors");
3. Also, does not run with 
flashApp = new FlashSelenium(selenium, "coloredSquare");
4. Getting similar error on other Sample tests like 'Sum'

What is the expected output? What do you see instead?
1. Test should work fine

What version of the product are you using? On what operating system?

IE 6.0 and FireFox 3.0.10 on Windows XP Prefessional

Please provide any additional information below.

com.thoughtworks.selenium.SeleniumException: ERROR: Threw an exception:
window.document.coloredSquare is undefined
    at
com.thoughtworks.selenium.HttpCommandProcessor.throwAssertionFailureExceptionOrE
rror(HttpCommandProcessor.java:97)
    at
com.thoughtworks.selenium.HttpCommandProcessor.doCommand(HttpCommandProcessor.ja
va:91)
    at
com.thoughtworks.selenium.HttpCommandProcessor.getString(HttpCommandProcessor.ja
va:262)
    at com.thoughtworks.selenium.DefaultSelenium.getEval(DefaultSelenium.java:435)
    at com.thoughtworks.selenium.FlashSelenium.call(FlashSelenium.java:55)
    at
com.thoughtworks.selenium.FlashSelenium.PercentLoaded(FlashSelenium.java:95)
    at 

Original issue reported on code.google.com by ajay...@gmail.com on 22 May 2009 at 5:42

GoogleCodeExporter commented 8 years ago
Ajay, take a look at
http://code.google.com/p/flex-ui-selenium/issues/detail?id=1#makechanges and 
check if
my solution solves your problem :)

Original comment by s0c...@gmail.com on 30 May 2009 at 1:49

GoogleCodeExporter commented 8 years ago
I have had the same issues as well.  After some digging around found out that 
the following work instead:
*firefoxproxy
*googlechrome

Have been unable to try out *iexploreproxy, but the other two run the script 
without any problems.  

Original comment by rfleming5@gmail.com on 3 Feb 2011 at 8:37