Tests failing on win64

6 views
Skip to first unread message

Ivo Grootjes

unread,
Jun 19, 2011, 6:24:41 PM6/19/11
to Selenium Developers
There are a couple of failing tests on win64 thought i'd let you know.

ClickTest.testCanClickOnALinkAndFollowIt
TypingTest.testAllPrintableKeys
TypingTest.testArrowKeysAndPageUpAndDown
TypingTest.testLowerCaseAlphaKeys
TypingTest.testNumericShiftKeys
TypingTest.testShouldBeAbleToTypeQuoteMarks
TypingTest.testShouldBeAbleToTypeTheAtCharacter

Also go test_dotnet is failing probably because of a small error in
the rakefiles.

Daniel Wagner-Hall

unread,
Jun 19, 2011, 10:06:28 PM6/19/11
to selenium-...@googlegroups.com
On 19 June 2011 23:24, Ivo Grootjes <i...@igsoft.nl> wrote:
> There are a couple of failing tests on win64 thought i'd let you know.
>
> ClickTest.testCanClickOnALinkAndFollowIt
> TypingTest.testAllPrintableKeys
> TypingTest.testArrowKeysAndPageUpAndDown
> TypingTest.testLowerCaseAlphaKeys
> TypingTest.testNumericShiftKeys
> TypingTest.testShouldBeAbleToTypeQuoteMarks
> TypingTest.testShouldBeAbleToTypeTheAtCharacter

Which browser?

> Also go test_dotnet is failing probably because of a small error in
> the rakefiles.

Can you post the actual error displayed? Possibly also the output of
go test_dotnet log=true

Ivo Grootjes

unread,
Jun 20, 2011, 3:35:30 AM6/20/11
to selenium-...@googlegroups.com
Hi below are the actual errors. I use firefox 4.0.1 and go.bat //java/client/test/org/openqa/selenium/firefox:test:run haltonerror=false haltonfailure=false

The error for go dot_net is Don't know how to build task '//dotnet:firefox-test'

 org.openqa.selenium.firefox.FirefoxDriverTestSuite: org.openqa.selenium (7)
ClickTest.testCanClickOnALinkAndFollowIt  
First failed in build #148 
with 2 changes
« Hide stacktrace
junit.framework.ComparisonFailure: null expected:<[XHTML Test Page]> but was:<[]>
    at org.openqa.selenium.ClickTest.testCanClickOnALinkAndFollowIt(ClickTest.java:47)
    at junit.extensions.TestDecorator.basicRun(TestDecorator.java:24)
    at junit.extensions.TestSetup$1.protect(TestSetup.java:23)
    at junit.extensions.TestSetup.run(TestSetup.java:27)
    at junit.extensions.TestDecorator.basicRun(TestDecorator.java:24)
    at junit.extensions.TestSetup$1.protect(TestSetup.java:23)
    at junit.extensions.TestSetup.run(TestSetup.java:27)
« Hide stacktrace
TypingTest.testAllPrintableKeys  
First failed in build #87 
with 3 changes
« Hide stacktrace
java.lang.AssertionError:  Expected: is "!\"#$%&'()*+,-./0123456789:;<=>?@ ABCDEFGHIJKLMNOPQRSTUVWXYZ [\]^_`abcdefghijklmnopqrstuvwxyz{|}~"      got: "!\"#$%&'()*+,-./0123456789:;<=>?@ ABCDEFGHIJKLMNOPQRSTUVWXYZ [\]^_àbcdefghijklmnopqrstuvwxyz{|}" 
java.lang.AssertionError: 
Expected: is "!\"#$%&'()*+,-./0123456789:;<=>?@ ABCDEFGHIJKLMNOPQRSTUVWXYZ [\]^_`abcdefghijklmnopqrstuvwxyz{|}~"
     got: "!\"#$%&'()*+,-./0123456789:;<=>?@ ABCDEFGHIJKLMNOPQRSTUVWXYZ [\]^_àbcdefghijklmnopqrstuvwxyz{|}"

    at org.hamcrest.MatcherAssert.assertThat(MatcherAssert.java:21)
    at org.hamcrest.MatcherAssert.assertThat(MatcherAssert.java:8)
    at org.openqa.selenium.TypingTest.testAllPrintableKeys(TypingTest.java:362)
    at junit.extensions.TestDecorator.basicRun(TestDecorator.java:24)
    at junit.extensions.TestSetup$1.protect(TestSetup.java:23)
    at junit.extensions.TestSetup.run(TestSetup.java:27)
    at junit.extensions.TestDecorator.basicRun(TestDecorator.java:24)
    at junit.extensions.TestSetup$1.protect(TestSetup.java:23)
    at junit.extensions.TestSetup.run(TestSetup.java:27)
« Hide stacktrace
TypingTest.testArrowKeysAndPageUpAndDown  
First failed in build #87 
with 3 changes
« Hide stacktrace
java.lang.AssertionError:  Expected: is "ba1"      got: "bã1" 
java.lang.AssertionError: 
Expected: is "ba1"
     got: "bã1"

    at org.hamcrest.MatcherAssert.assertThat(MatcherAssert.java:21)
    at org.hamcrest.MatcherAssert.assertThat(MatcherAssert.java:8)
    at org.openqa.selenium.TypingTest.testArrowKeysAndPageUpAndDown(TypingTest.java:375)
    at junit.extensions.TestDecorator.basicRun(TestDecorator.java:24)
    at junit.extensions.TestSetup$1.protect(TestSetup.java:23)
    at junit.extensions.TestSetup.run(TestSetup.java:27)
    at junit.extensions.TestDecorator.basicRun(TestDecorator.java:24)
    at junit.extensions.TestSetup$1.protect(TestSetup.java:23)
    at junit.extensions.TestSetup.run(TestSetup.java:27)
« Hide stacktrace
TypingTest.testLowerCaseAlphaKeys  
First failed in build #87 
with 3 changes
« Hide stacktrace
java.lang.AssertionError:  Expected: is "abcdefghijklmnopqrstuvwxyz"      got: "ãbcdefghijklmnopqrstuvwxyz" 
java.lang.AssertionError: 
Expected: is "abcdefghijklmnopqrstuvwxyz"
     got: "ãbcdefghijklmnopqrstuvwxyz"

    at org.hamcrest.MatcherAssert.assertThat(MatcherAssert.java:21)
    at org.hamcrest.MatcherAssert.assertThat(MatcherAssert.java:8)
    at org.openqa.selenium.TypingTest.testLowerCaseAlphaKeys(TypingTest.java:330)
    at junit.extensions.TestDecorator.basicRun(TestDecorator.java:24)
    at junit.extensions.TestSetup$1.protect(TestSetup.java:23)
    at junit.extensions.TestSetup.run(TestSetup.java:27)
    at junit.extensions.TestDecorator.basicRun(TestDecorator.java:24)
    at junit.extensions.TestSetup$1.protect(TestSetup.java:23)
    at junit.extensions.TestSetup.run(TestSetup.java:27)
« Hide stacktrace
TypingTest.testNumericShiftKeys  
First failed in build #87 
with 3 changes
« Hide stacktrace
java.lang.AssertionError:  Expected: is "~!@#$%^&*()_+{}:\"<>?|END~"      got: "~!@#$%^&*()_+{}:\"<>?|END" 
java.lang.AssertionError: 
Expected: is "~!@#$%^&*()_+{}:\"<>?|END~"
     got: "~!@#$%^&*()_+{}:\"<>?|END"

    at org.hamcrest.MatcherAssert.assertThat(MatcherAssert.java:21)
    at org.hamcrest.MatcherAssert.assertThat(MatcherAssert.java:8)
    at org.openqa.selenium.TypingTest.testNumericShiftKeys(TypingTest.java:316)
    at junit.extensions.TestDecorator.basicRun(TestDecorator.java:24)
    at junit.extensions.TestSetup$1.protect(TestSetup.java:23)
    at junit.extensions.TestSetup.run(TestSetup.java:27)
    at junit.extensions.TestDecorator.basicRun(TestDecorator.java:24)
    at junit.extensions.TestSetup$1.protect(TestSetup.java:23)
    at junit.extensions.TestSetup.run(TestSetup.java:27)
« Hide stacktrace
TypingTest.testShouldBeAbleToTypeQuoteMarks  
First failed in build #87 
with 3 changes
« Hide stacktrace
java.lang.AssertionError:  Expected: is "\""      got: "" 
java.lang.AssertionError: 
Expected: is "\""
     got: ""

    at org.hamcrest.MatcherAssert.assertThat(MatcherAssert.java:21)
    at org.hamcrest.MatcherAssert.assertThat(MatcherAssert.java:8)
    at org.openqa.selenium.TypingTest.testShouldBeAbleToTypeQuoteMarks(TypingTest.java:92)
    at junit.extensions.TestDecorator.basicRun(TestDecorator.java:24)
    at junit.extensions.TestSetup$1.protect(TestSetup.java:23)
    at junit.extensions.TestSetup.run(TestSetup.java:27)
    at junit.extensions.TestDecorator.basicRun(TestDecorator.java:24)
    at junit.extensions.TestSetup$1.protect(TestSetup.java:23)
    at junit.extensions.TestSetup.run(TestSetup.java:27)
« Hide stacktrace
TypingTest.testShouldBeAbleToTypeTheAtCharacter  
First failed in build #87 
with 3 changes
« Hide stacktrace
java.lang.AssertionError:  Expected: is "@"      got: "\"@" 
java.lang.AssertionError: 
Expected: is "@"
     got: "\"@"

    at org.hamcrest.MatcherAssert.assertThat(MatcherAssert.java:21)
    at org.hamcrest.MatcherAssert.assertThat(MatcherAssert.java:8)
    at org.openqa.selenium.TypingTest.testShouldBeAbleToTypeTheAtCharacter(TypingTest.java:107)
    at junit.extensions.TestDecorator.basicRun(TestDecorator.java:24)
    at junit.extensions.TestSetup$1.protect(TestSetup.java:23)
    at junit.extensions.TestSetup.run(TestSetup.java:27)
    at junit.extensions.TestDecorator.basicRun(TestDecorator.java:24)
    at junit.extensions.TestSetup$1.protect(TestSetup.java:23)
    at junit.extensions.TestSetup.run(TestSetup.java:27)
« Hide stacktrace
 org.openqa.selenium.firefox.FirefoxDriverTestSuite: org.openqa.selenium.firefox (1)
FirefoxDriverTest.testMultipleFirefoxDriversRunningConcurrently  
First failed in build #87 
with 3 changes
« Hide stacktrace
java.lang.AssertionError:  Expected: is "kHxse$*u5ycWd'FcK.an(~1V(w2\PXIe%)TTryIVyÂKBU71\!ko9x4:n3LIm1Â,BR5G"      got: "kHxse$*u5ycWd'FcK.an(1V(w2\PXIe%)TTryIVyÂKBU71\!ko'9x4:n3LIm1Â,BR5G" 
java.lang.AssertionError: 
Expected: is "kHxse$*u5ycWd'FcK.an(~1V(w2\PXIe%)TTryIVyÂKBU71\!ko9x4:n3LIm1Â,BR5G"
     got: "kHxse$*u5ycWd'FcK.an(1V(w2\PXIe%)TTryIVyÂKBU71\!ko'9x4:n3LIm1Â,BR5G"

    at org.hamcrest.MatcherAssert.assertThat(MatcherAssert.java:21)
    at org.hamcrest.MatcherAssert.assertThat(MatcherAssert.java:8)
    at org.openqa.selenium.firefox.FirefoxDriverTest$2.run(FirefoxDriverTest.java:416)
    at org.openqa.selenium.ParallelTestRunner$WorkerThread.run(ParallelTestRunner.java:43)
« Hide stacktrace


2011/6/20 Daniel Wagner-Hall <dawa...@gmail.com>

--
You received this message because you are subscribed to the Google Groups "Selenium Developers" group.
To post to this group, send email to selenium-...@googlegroups.com.
To unsubscribe from this group, send email to selenium-develo...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/selenium-developers?hl=en.


Jim Evans

unread,
Jun 20, 2011, 7:58:03 AM6/20/11
to Selenium Developers
The targets for .NET were pretty radically reorganized with the
collapse to a single WebDriver assembly. The test targets for .NET are
now found under //dotnet/test/<browser>. So to test the .NET bindings
for Firefox, you'd want 'go //dotnet/test/firefox'.
> org.openqa.selenium.TypingTest.testArrowKeysAndPageUpAndDown(TypingTest.jav a:375)
> org.openqa.selenium.TypingTest.testShouldBeAbleToTypeQuoteMarks(TypingTest. java:92)
>     at junit.extensions.TestDecorator.basicRun(TestDecorator.java:24)
>     at junit.extensions.TestSetup$1.protect(TestSetup.java:23)
>     at junit.extensions.TestSetup.run(TestSetup.java:27)
>     at junit.extensions.TestDecorator.basicRun(TestDecorator.java:24)
>     at junit.extensions.TestSetup$1.protect(TestSetup.java:23)
>     at junit.extensions.TestSetup.run(TestSetup.java:27)
> « Hide stacktrace
> TypingTest.testShouldBeAbleToTypeTheAtCharacter
> First failed in build #87
> with 3 changes
> « Hide stacktrace
> java.lang.AssertionError:  Expected: is "@"      got: "\"@"
> java.lang.AssertionError:
> Expected: is "@"
>      got: "\"@"
>
>     at org.hamcrest.MatcherAssert.assertThat(MatcherAssert.java:21)
>     at org.hamcrest.MatcherAssert.assertThat(MatcherAssert.java:8)
>     at
> org.openqa.selenium.TypingTest.testShouldBeAbleToTypeTheAtCharacter(TypingT est.java:107)
> org.openqa.selenium.ParallelTestRunner$WorkerThread.run(ParallelTestRunner. java:43)
> « Hide stacktrace
>
> 2011/6/20 Daniel Wagner-Hall <dawag...@gmail.com>

Ivo Grootjes

unread,
Jun 20, 2011, 8:06:51 AM6/20/11
to selenium-...@googlegroups.com
Ok so the only thing to do is updating the test_dotnet target in the main rakefile to reflect this. 

2011/6/20 Jim Evans <james.h....@gmail.com>

Israel Santiago

unread,
Jun 20, 2011, 8:06:36 AM6/20/11
to selenium-...@googlegroups.com
Hi,

Please, this problem is also occurring with the target java in firefox.

Sds,
Israel Santiago
Reply all
Reply to author
Forward
0 new messages