Found the problem - the code from svn doesn't require the fix mentioned
in the tutorial for assertLocation.
However, I still have one failing test, testFailedVerifications - it
appears that it doesn't see that /selenium-driver and / as the same.
Is this a problem? Something that I've misconfigured?
# Executing: |assertFailureOnNext | Actual value
'/tests/html/test_verifications.html' did not match
'*/tests/html/not_test_verifications.html' | |
# Executing: |verifyLocation | /tests/html/not_test_verifications.html
| Expected failure message 'Actual value
'/tests/html/test_verifications.html' did not match
'*/tests/html/not_test_verifications.html'' but was 'Actual value
'/selenium-driver/tests/html/test_verifications.html' did not match
'*/tests/html/not_test_verifications.html'' |
On Sep 9, 2005, at 4:58 PM, Warren Pollans wrote:
Hello again,
I'm still trying to get selenium installed on my ibook (G3, 10.3.9)
python 2.3 - with pyCrypto installed
got selenium from svn - last week sometime
installed twisted 1.3.0
(a few twisted unit tests failed - the twisted-list: use 2.0 - this
list: use 1.3.0 ???)
using firefox 1.0.5
the selenium directory is located in my home directory
I'm following the tutorial and am currently running through the
builtin tests, four of which have failed. I don't know how to
troubleshoot this
Here are the tests that failed with log entries:
++++++++++++++++++[ testOpen ]++++++++++++++++++++++
# Executing: |open | ./tests/html/test_open.html | |
# Executing: |verifyLocation | /tests/html/test_open.html | Selenium
failure. Please report to
selenium-devel@lists.public.thoughtworks.org, with details from the
logs at the base of the page. The error message is: assertTrue is not
defined |
Unexpected Exception: message -> assertTrue is not defined, fileName
-> http://localhost:8080/selenium-driver/selenium-api.js, lineNumber
-> 191, stack -> ("/tests/html/test_open.html","Selenium failure.
Please report to selenium-devel@lists.public.thoughtworks.org, with
details from the logs at the base of the page. The error message is:
assertTrue is not
defined")@http://localhost:8080/selenium-driver/selenium-api.js:191
call([object Object],"/tests/html/test_open.html","Selenium failure.
Please report to selenium-devel@lists.public.thoughtworks.org, with
details from the logs at the base of the page. The error message is:
assertTrue is not defined")@:0 ([object Object],[object
Object])@http://localhost:8080/selenium-driver/selenium-
commandhandlers.js:199 ([object Object],[object
Object])@http://localhost:8080/selenium-driver/selenium-
commandhandlers.js:174
()@http://localhost:8080/selenium-driver/selenium-executionloop.js:65
()@http://localhost:8080/selenium-driver/selenium-executionloop.js:32
()@http://localhost:8080/selenium-driver/selenium-executionloop.js:144
@http://localhost:8080/selenium-driver/selenium-executionloop.js:135 ,
name -> ReferenceError
+++++++++++++++[ testSelectWindow ]+++++++++++++++++
# Executing: |open | ./tests/html/test_select_window.html | |
# Executing: |click | popupPage | |
# Executing: |pause | 500 | |
# Executing: |selectWindow | myPopupWindow | Window does not exist |
# Executing: |verifyLocation |
/tests/html/test_select_window_popup.html | |
# Unexpected Exception: message -> assertTrue is not defined, fileName
-> http://localhost:8080/selenium-driver/selenium-api.js, lineNumber
-> 191, stack ->
("/tests/html/test_select_window_popup.html","")@http://localhost:
8080/selenium-driver/selenium-api.js:191 call([object
Object],"/tests/html/test_select_window_popup.html","")@:0 ([object
Object],[object
Object])@http://localhost:8080/selenium-driver/selenium-
commandhandlers.js:199 ([object Object],[object
Object])@http://localhost:8080/selenium-driver/selenium-
commandhandlers.js:174
()@http://localhost:8080/selenium-driver/selenium-executionloop.js:65
()@http://localhost:8080/selenium-driver/selenium-executionloop.js:32
()@http://localhost:8080/selenium-driver/selenium-executionloop.js:144
@http://localhost:8080/selenium-driver/selenium-executionloop.js:135 ,
name -> ReferenceError
++++++++++++++++[ testVerifications ]++++++++++++++++++++
# Executing: |open | ./tests/html/test_verifications.html?foo=bar | |
# Executing: |verifyLocation | /tests/html/test_verifications.html |
Selenium failure. Please report to
selenium-devel@lists.public.thoughtworks.org, with details from the
logs at the base of the page. The error message is: assertTrue is not
defined |
# Unexpected Exception: message -> assertTrue is not defined, fileName
-> http://localhost:8080/selenium-driver/selenium-api.js, lineNumber
-> 191, stack -> ("/tests/html/test_verifications.html","Selenium
failure. Please report to
selenium-devel@lists.public.thoughtworks.org, with details from the
logs at the base of the page. The error message is: assertTrue is not
defined")@http://localhost:8080/selenium-driver/selenium-api.js:191
call([object Object],"/tests/html/test_verifications.html","Selenium
failure. Please report to
selenium-devel@lists.public.thoughtworks.org, with details from the
logs at the base of the page. The error message is: assertTrue is not
defined")@:0 ([object Object],[object
Object])@http://localhost:8080/selenium-driver/selenium-
commandhandlers.js:199 ([object Object],[object
Object])@http://localhost:8080/selenium-driver/selenium-
commandhandlers.js:174
()@http://localhost:8080/selenium-driver/selenium-executionloop.js:65
()@http://localhost:8080/selenium-driver/selenium-executionloop.js:32
()@http://localhost:8080/selenium-driver/selenium-executionloop.js:144
@http://localhost:8080/selenium-driver/selenium-executionloop.js:135 ,
name -> ReferenceError
++++++++++++++++[ testFailingVerifications ]++++++++++++++++++
# Executing: |open | ./tests/html/test_verifications.html | |
# Executing: |assertFailureOnNext | Actual value
'/tests/html/test_verifications.html' did not match
'*/tests/html/not_test_verifications.html' | |
# Executing: |verifyLocation | /tests/html/not_test_verifications.html
| Selenium failure. Please report to
selenium-devel@lists.public.thoughtworks.org, with details from the
logs at the base of the page. The error message is: assertTrue is not
defined |
# Unexpected Exception: message -> assertTrue is not defined, fileName
-> http://localhost:8080/selenium-driver/selenium-api.js, lineNumber
-> 191, stack -> ("/tests/html/not_test_verifications.html","Selenium
failure. Please report to
selenium-devel@lists.public.thoughtworks.org, with details from the
logs at the base of the page. The error message is: assertTrue is not
defined")@http://localhost:8080/selenium-driver/selenium-api.js:191
call([object
Object],"/tests/html/not_test_verifications.html","Selenium failure.
Please report to selenium-devel@lists.public.thoughtworks.org, with
details from the logs at the base of the page. The error message is:
assertTrue is not defined")@:0 ([object Object],[object
Object])@http://localhost:8080/selenium-driver/selenium-
commandhandlers.js:199 ([object Object],[object
Object])@http://localhost:8080/selenium-driver/selenium-
commandhandlers.js:174 apply([object Object],[object Object])@:0
executeCommandAndReturnFailureMessage([object Object],[object
Object])@http://localhost:8080/selenium-driver/selenium-
executionloop.js:234 ([object Object],[object
Object])@http://localhost:8080/selenium-driver/selenium-
executionloop.js:209
()@http://localhost:8080/selenium-driver/selenium-executionloop.js:65
()@http://localhost:8080/selenium-driver/selenium-executionloop.js:32
()@http://localhost:8080/selenium-driver/selenium-executionloop.js:144
@http://localhost:8080/selenium-driver/selenium-executionloop.js:135 ,
name -> ReferenceError
_______________________________________________
Selenium-users mailing list
Selenium-users@lists.public.thoughtworks.org
http://lists.public.thoughtworks.org/mailman/listinfo/selenium-users
_______________________________________________
Selenium-users mailing list
Selenium-users@lists.public.thoughtworks.org
http://lists.public.thoughtworks.org/mailman/listinfo/selenium-users