Nice things to know

  • Copying and pasting URLs within the testing application: Run the mouse over the text, right-click and select “Copy”. Then, put the cursor in the URL bar within the testing session, right-click and select “Paste and go to…”. Note: Using keyboard shortcuts will not work.
  • Try clicking twice into a field (during Record) that does not separate click events in playbacks, such as credit card fields.
  • To play back several scripts in a row, create a suite. Note: The suite seems ideal for simpler scripts. Problems are more likely to occur in more complex scripts, such as filling out forms.
  • During Record, click into fields rather than tabbing

When scripts fail

  • Read this article (or find another article explaining XPath syntax) to learn general XPath syntax: https://www.browserstack.com/guide/xpath-in-selenium
  • Try changing elements inside failed steps (click on the dropdown)
  • Some third-party applications (like Stripe) may generate element attributes that change over time and subsequently cause a replay to fail.