It's not a secret anymore!
The moose likes Testing and the fly likes Problems with xpath and selenium Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

JavaRanch » Java Forums » Engineering » Testing
Bookmark "Problems with xpath and selenium" Watch "Problems with xpath and selenium" New topic

Problems with xpath and selenium

Jessica Dias

Joined: Jul 24, 2013
Posts: 2
Hello, good morning. I'm using XPath to find an attribute of a field and be able to change this attribute.
For example, I have the last name and this field has the value Dias. I want to put another name.
This command in selenium

The exception

Thanks for the help
Doug Slavens

Joined: Sep 10, 2013
Posts: 11
What is datos? Is that a string variable? If so, then you want to build the string with the + sign like this:

I’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link:
subject: Problems with xpath and selenium
jQuery in Action, 3rd edition