Changes between Version 13 and Version 14 of DeveloperGuidelines/Testing/EdenTest/WriteTestcase


Ignore:
Timestamp:
08/10/14 13:17:50 (7 years ago)
Author:
Arnav Sharma
Comment:

--

Legend:

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

    v13 v14  
    5353
    5454*** Test Cases ***
    55 Login with valid email and valid passwd should be successful #name of the testcase.
    56     Open Browser  http://${SERVER}/eden/default/user/login #opens the browser to the argument url
    57     Input Text  auth_user_email  admin@example.com #puts arg2 in textbox(arg1)
     55Login with valid email and valid passwd should be successful  #name of the testcase.
     56   #opens the browser to the argument url
     57    Open Browser  http://${SERVER}/eden/default/user/login
     58    #puts arg2 in textbox(arg1)
     59    Input Text  auth_user_email  admin@example.com
    5860    Input Text  auth_user_password  testing
    59     Click Button  xpath=//input[@class='btn' and @value='Login'] #Clicks the submit button
    60     Page Should Contain  Logged in #Checks if the text 'Logged in' is there or not
     61    #Clicks the submit button
     62    Click Button  xpath=//input[@class='btn' and @value='Login']
     63    #Checks if the text 'Logged in' is there or not
     64    Page Should Contain  Logged in
    6165
    6266}}}