[jira] [Updated] (PLUTO-708) Improve login for the TCK

"Neil Griffin (JIRA)" <[email protected]>
Newsgroups gmane.comp.jakarta.pluto.devel
Message-ID <[email protected]>
     [ https://issues.apache.org/jira/browse/PLUTO-708?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Neil Griffin updated PLUTO-708:
-------------------------------
    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.
{code:java|title=TCKSimpleTestDriver.java (before enhancement)}
userEl.sendKeys(username);
pwEl.sendKeys(password);
pwEl.submit();
{code}
{code:java|title=TCKSimpleTestDriver.java (after enhancement)}
userEl.clear();
userEl.sendKeys(username);
pwEl.clear();
pwEl.sendKeys(password);
pwEl.submit();
{code}


  was:
Not all portlet containers have the same login style. Minor enhancement to 

TCKSimpleTestDriver.


> Improve login for the TCK
> -------------------------
>
>                 Key: PLUTO-708
>                 URL: https://issues.apache.org/jira/browse/PLUTO-708
>             Project: Pluto
>          Issue Type: Improvement
>          Components: tck
>    Affects Versions: 3.0.0
>            Reporter: Vernon Singleton
>            Assignee: Scott Nicklous
>            Priority: Minor
>             Fix For: 3.0.1
>
>
> 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.
> {code:java|title=TCKSimpleTestDriver.java (before enhancement)}
> userEl.sendKeys(username);
> pwEl.sendKeys(password);
> pwEl.submit();
> {code}
> {code:java|title=TCKSimpleTestDriver.java (after enhancement)}
> userEl.clear();
> userEl.sendKeys(username);
> pwEl.clear();
> pwEl.sendKeys(password);
> pwEl.submit();
> {code}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.