aspose 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
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
 
Similar Threads
Script for an email address that is already registered in the database
Junit4+Eclipse+Selenium RC- Test class should have exactly one public zero-argument constructor
selenium code for ahref
Java XHTML DOM: Exception in getElementById with XPath
java.lang.NoClassDefFoundError: org/dom4j/DocumentException - error encontered