Uploaded image for project: 'Dev - Nexus Repo'
  1. Dev - Nexus Repo
  2. NEXUS-226

Error with Automated Script when attempting to validate outside URL for Help Menu testing

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.0-beta
    • Fix Version/s: 1.0-beta
    • Component/s: None
    • Labels:
      None

      Description

      Created an Automated script => The script executes, and the URL is launched successfully for the Nexus Home link => However, the automated test is unable to validate text on the URL (this occurs when the links are set to open in a new tab or a new window). The last command to selectWindow with a target of null should bring the window back to home URL which is http://localhost:8081/, but that step does not occur either.

      <tr>
      <td>click</td>
      <td>//a[contains(text(),'Nexus Home')]</td>
      <td></td>
      </tr>
      <tr>
      <td>selectWindow</td>
      <td>name=http://nexus.sonatype.org/</td>
      <td></td>
      </tr>
      <tr>
      <td>waitForAllWindowNames</td>
      <td>http://nexus.sonatype.org/</td>
      <td></td>
      </tr>
      <tr>
      <td>verifyTextPresent</td>
      <td>Nexus is a powerful and robust Maven repository manager</td>
      <td></td>
      </tr>
      <tr>
      <td>selectWindow</td>
      <td>null</td>
      <td></td>

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              koconnor Kristine O'Connor
              Reporter:
              koconnor Kristine O'Connor
              Last Updated By:
              Peter Lynch Peter Lynch
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Date of First Response:

                  Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 1h
                  1h

                    tigCommentSecurity.panel-title