Page tree

Versions Compared


  • This line was added.
  • This line was removed.
  • Formatting was changed.


When copying XPath from the Perfecto Object Spy you are copying XPath which surrounds string values with double quotes (").


Example: //*[@text="Login"]


And when pasting the XPath into C# code you must manually change the double quotes to either single quotes or escape the double quotes.


//*[@text='Login'] or //*[@text=\"Login\"]