Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Problems with xpath and selenium

 
Jessica Dias
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 11
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
What is datos? Is that a string variable? If so, then you want to build the string with the + sign like this:

 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic