Demo entry 1469185

Data-driven tests


Submitted by mavier on Mar 16, 2015 at 21:42
Language: RobotFramework. Code size: 614 Bytes.

*** Settings ***
Test Template       Invalid Login

*** Test Cases ***  USERNAME            PASSWORD
Invalid Username    invalid             ${VALID PASSWORD}
Invalid Password    ${VALID USERNAME}   invalid
Invalid Both        invalid             invalid
Empty Username      ${EMPTY}            ${VALID PASSWORD}
Empty Password      ${VALID USERNAME}   ${EMPTY}
Empty Both          ${EMPTY}            ${EMPTY}

*** Keywords ***
Invalid Login
  [Arguments]   ${username}   ${password}
  Input Username    ${username}
  Input Password    ${password}
  Submit Credentials
  Error Page Should Be Open

This snippet took 0.01 seconds to highlight.

Back to the Entry List or Home.

Delete this entry (admin only).