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


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

--

Legend:

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

    v14 v15  
    4949{{{
    5050*** Settings ***
    51 Library  ../resources/main.txt
     51Resource  ../resources/main.txt
    5252
    5353
    5454*** Test Cases ***
    55 Login 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 
     55Login with valid email and valid passwd should be successful
     56   #opens the browser to the argument url
     57    Go To  http://${SERVER}/eden/default/user/login
     58    #puts arg2 in textbox(arg1)
     59    Input Text  auth_user_email  admin@example.com
    6060    Input Text  auth_user_password  testing
    6161    #Clicks the submit button
    62     Click Button  xpath=//input[@class='btn' and @value='Login'] 
     62    Click Button  xpath=//input[@class='btn' and @value='Login']
    6363    #Checks if the text 'Logged in' is there or not
    64     Page Should Contain  Logged in
    65 
     64    Page Should Contain  Logged in
    6665}}}
    6766