Skip to content

Instantly share code, notes, and snippets.

View illicitonion's full-sized avatar

Daniel Wagner-Hall illicitonion

View GitHub Profile
$ firefox --version
Mozilla Firefox 3.6.6, Copyright (c) 1998 - 2010 mozilla.org
$ ./go //java/client/test/com/thoughtworks/selenium:firefox-emulation-test:run
(in /usr/local/google/danielwh/wcs/selenium/trunk)
Writing: cpp/IEDriver/Generated/atoms.h
Testing: //java/client/test/com/thoughtworks/selenium:firefox-emulation-test
public void testShouldBeAbleToIncludeLeadingPeriodInDomainName() throws Exception {
String name = gotoValidDomainAndClearCookies();
if (name == null || name.matches("\\d{1,3}(?:\\.\\d{1,3}){3}")) {
System.out.println("Skipping test: unable to find domain name to use");
return;
}
driver.manage().deleteAllCookies();
assertNull("Looks like delete all cookies doesn't", driver.manage().getCookieNamed("name"));
Error: uncaught exception: [Exception... "Component returned failure code: 0x80040111 (NS_ERROR_NOT_AVAILABLE) [nsIXPCComponents_Utils.import]" nsresult: "0x80040111 (NS_ERROR_NOT_AVAILABLE)" location: "JS frame :: file:///tmp/anonymous6607701011160284758webdriver-profile/extensions/fxdriver@googlecode.com/components/wrappedElement.js :: <TOP_LEVEL> :: line 20" data: no]
"autofill": {
"enabled": false
},
Testcase: testShouldAllowUsersToAcceptAnAlertManually took 0.115 sec
Caused an ERROR
a.document.getElementsByTagName("dialog")[0] is undefined
Build info: version: '2.2.0', revision: '13043', time: '2011-07-22 13:00:46'
System info: os.name: 'Linux', os.arch: 'i386', os.version: '2.6.32-gg508-generic', java.version: '1.6.0-google-v4'
Driver info: driver.version: RemoteWebDriver
org.openqa.selenium.WebDriverException: a.document.getElementsByTagName("dialog")[0] is undefined
Build info: version: '2.2.0', revision: '13043', time: '2011-07-22 13:00:46'
System info: os.name: 'Linux', os.arch: 'i386', os.version: '2.6.32-gg508-generic', java.version: '1.6.0-google-v4'
Driver info: driver.version: RemoteWebDriver
Testcase: testShouldReportTheXAndYCoordinatesWhenClicking took 5.525 sec
Caused an ERROR
Unable to locate element: {"method":"id","selector":"clientX"}
For documentation on this error, please visit: http://seleniumhq.org/exceptions/no_such_element.html
Build info: version: '2.2.0', revision: '13043', time: '2011-07-22 13:00:46'
System info: os.name: 'Linux', os.arch: 'i386', os.version: '2.6.32-gg508-generic', java.version: '1.6.0-google-v4'
Driver info: driver.version: RemoteWebDriver
org.openqa.selenium.NoSuchElementException: Unable to locate element: {"method":"id","selector":"clientX"}
For documentation on this error, please visit: http://seleniumhq.org/exceptions/no_such_element.html
Build info: version: '2.2.0', revision: '13043', time: '2011-07-22 13:00:46'
FirefoxDriver.prototype.dismissAlert = function(respond) {
webdriver.modals.dismissAlert(this);
respond.send();
};
FirefoxDriver.prototype.dismissAlert.preconditions = [ webdriver.preconditions.alertPresent ];
danielwh@danielwh:/usr/local/google/danielwh/wcs/selenium/trunk$ ./go clean test_htmlunit haltonerror=false haltonfailure=false
(in /usr/local/google/danielwh/wcs/selenium/trunk)
Compiling: //java/client/src/org/openqa/selenium:base as build/java/client/src/org/openqa/selenium/base.jar
Compiling: //java/client/src/org/openqa/selenium/interactions:api as build/java/client/src/org/openqa/selenium/interactions/api.jar
Compiling: //java/client/src/org/openqa/selenium/internal:codecs as build/java/client/src/org/openqa/selenium/internal/codecs.jar
Compiling: //java/client/src/org/openqa/selenium:webdriver-api as build/java/client/src/org/openqa/selenium/webdriver-api.jar
Compiling: //java/client/src/com/thoughtworks/selenium:api as build/java/client/src/com/thoughtworks/selenium/api.jar
Compiling: //java/client/src/org/openqa/selenium/io:io as build/java/client/src/org/openqa/selenium/io/io.jar
Compiling: //java/client/src/org/openqa/selenium/net:net as build/java/client/src/org/openqa/selenium/net/net.jar
Compili
task :test_java => [
"//java/client/test/org/openqa/selenium/atoms:test:run",
"//java/client/test/org/openqa/selenium:SmallTests:run",
:test_support,
:test_java_webdriver,
:test_selenium,
"test_grid",
# Android should be installed and the tests should be ran
# before commits.
:test_android
Testcase: canListDecoratedElements took 0.064 sec
FAILED
Expected: <12>
got: <13>
junit.framework.AssertionFailedError:
Expected: <12>
got: <13>