Changes between Version 6 and Version 7 of DeveloperGuidelines/Testing/EdenTest/WriteTestcase/Advanced
- Timestamp:
- 08/10/14 19:13:07 (11 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
DeveloperGuidelines/Testing/EdenTest/WriteTestcase/Advanced
v6 v7 6 6 {{{ 7 7 *** Settings *** 8 Documentation Test case to check the login functionality of Eden 9 Library ../resources/main.txt 8 Resource ../resources/main.txt 9 10 10 11 11 *** Test Cases *** 12 12 Login 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) 14 16 Input Text auth_user_email admin@example.com 15 17 Input Text auth_user_password testing 18 #Clicks the submit button 16 19 Click Button xpath=//input[@class='btn' and @value='Login'] 20 #Checks if the text 'Logged in' is there or not 17 21 Page Should Contain Logged in 18 22 19 23 Login 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 21 26 Input Text auth_user_email nottheadmin@example.com 22 27 Input Text auth_user_password testing