Uploaded image for project: 'Pluto'
  1. Pluto
  2. PLUTO-708

Selenium should clear the TCK login username and password fields prior to entering text

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 3.0.0
    • 3.0.1
    • tck
    • None

    Description

      This issue serves as a task for having Selenium clear the username and password fields prior to entering text. This corrects a problem on Liferay Portal and shouldn't cause a problem with other portals.

      TCKSimpleTestDriver.java (before enhancement)
      userEl.sendKeys(username);
      pwEl.sendKeys(password);
      pwEl.submit();
      
      TCKSimpleTestDriver.java (after enhancement)
      userEl.clear();
      userEl.sendKeys(username);
      pwEl.clear();
      pwEl.sendKeys(password);
      pwEl.submit();
      

      Attachments

        Activity

          People

            msnicklous Scott Nicklous
            vsingleton Vernon Singleton
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: