tony

About

Username
tony
Joined
Visits
26
Last Active
Roles
Members, Staff
Points
6
Posts
7
Badges
1
  • Re: Screenshots on failure for browser tests using Selenium WebDriver

    A couple of corrections for the post above:

    • The special value for embedded screenshots is <embed> so in the examples above it should say:

      • Set the property "com.parasoft.tool.screenshot.Location" to either a directory path or to "<embed>"
      • You could define the property when launching SOAtest by adding -J-Dcom.parasoft.tool.screenshot.Location="<embed>" to the command used to start SOAtest.
    • The Extension Tool example is missing a \ after "nightly", so it should be:

    def setScreenshots() {
        System.setProperty("com.parasoft.tool.screenshot.Location", "C:\\nightly\\screenshots");
    }