D. Woodill a écrit :
Hello,
Test result
_________________________
Test OpenGoogle Test Search
| open| http://www.google.com|
| verifyTitle| Google|
| type| q| Selenium ThoughtWorks
| verifyValue| q| Selenium ThoughtWorks
| verifyLocation| http://www.google.com|
Actual value '/' did not match
'*http://www.google.com'
| clickAndWait| btnG|
...
Google Test Search
| open| http://www.google.ca|
| verifyLocation| http://www.google.ca| Actual value '/' did
not match '*http://www.google.ca'
| verifyTitle| Google|
...
from selenium reference (seleniumReference.html) :
"""
- verifyLocation / assertLocation
-
Verifies the location of the current page being
tested.
target: The expected ***relative location of
the page.***
value: ignored
examples:
| verifyLocation |
/mypage |
|
| assertLocation |
/mypage |
|
"""
So you can only verify a relative location (not the server name).
sorry for this annoying automatic footer :
|
_______________________________________________
Selenium-users mailing list
[email protected]
http://lists.public.thoughtworks.org/mailman/listinfo/selenium-users