File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
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


Win a copy of OCM Java EE 6 Enterprise Architect Exam Guide this week in the OCMJEA forum!
JavaRanch » Java Forums » Engineering » Testing
Bookmark "Problems with xpath and selenium" Watch "Problems with xpath and selenium" New topic
Author

Problems with xpath and selenium

Jessica Dias
Greenhorn

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
Greenhorn

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 agree. Here's the link: http://aspose.com/file-tools
 
subject: Problems with xpath and selenium