Re: Problems with selenese and XPath
Re: Problems with selenese and XPath
- Subject: Re: Problems with selenese and XPath
- From: Denis Frolov <email@hidden>
- Date: Wed, 26 Sep 2007 11:42:43 +0400
AFAIK, //input[@id='location1'] should work in both Safari and FF.
I've just tried this locator for submit input in Safari 3.0.3 and it
works ok.
Different browsers have different implementations of Xpath, but
normally tests that run in IDE should run via selenium-core in FF.
Denis
On Sep 25, 2007, at 6:26 PM, Ruth Palmer wrote:
I'm currently trying to get Selenium working and trying to use
ERSelenium in Wonder frameworks to run all the tests I've created
and placed under Resources/Selenium in my eclipse project.
The selenese tests created using the Selenium IDE work when run in
the IDE, but not when run in safari or firefox. The error message
I'm getting is: # error: Element //input[@id='location1'] not found
# warn: currentTest.recordFailure: Element //input[@id='location1']
not found. when using the following XPath for the location
textfield: //input[@id='location1']
If anyone has had similar problems or knows where I'm going wrong
please get in touch
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden