Changes between Version 6 and Version 7 of DeveloperGuidelines/Testing/EdenTest/WriteTestcase/Advanced


Ignore:
Timestamp:
08/10/14 19:13:07 (11 years ago)
Author:
Arnav Sharma
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • DeveloperGuidelines/Testing/EdenTest/WriteTestcase/Advanced

    v6 v7  
    66{{{
    77*** Settings ***
    8 Documentation  Test case to check the login functionality of Eden
    9 Library  ../resources/main.txt
     8Resource  ../resources/main.txt
     9
    1010
    1111*** Test Cases ***
    1212Login with valid email and valid passwd should be successful
    13     Open Browser  http://${SERVER}/eden/default/user/login   
     13   #opens the browser to the argument url
     14    Go To  http://${SERVER}/eden/default/user/login
     15    #puts arg2 in textbox(arg1)
    1416    Input Text  auth_user_email  admin@example.com
    1517    Input Text  auth_user_password  testing
     18    #Clicks the submit button
    1619    Click Button  xpath=//input[@class='btn' and @value='Login']
     20    #Checks if the text 'Logged in' is there or not
    1721    Page Should Contain  Logged in
    1822
    1923Login with invalid email and valid passwd should fail
    20     Open Browser  http://${SERVER}/eden/default/user/login
     24   Logout From Eden
     25   Go To  http://${SERVER}/eden/default/user/login
    2126    Input Text  auth_user_email  nottheadmin@example.com
    2227    Input Text  auth_user_password  testing