Changes between Version 14 and Version 15 of DeveloperGuidelines/Testing/EdenTest/WriteTestcase
- Timestamp:
- 08/10/14 19:11:55 (11 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
DeveloperGuidelines/Testing/EdenTest/WriteTestcase
v14 v15 49 49 {{{ 50 50 *** Settings *** 51 Library../resources/main.txt51 Resource ../resources/main.txt 52 52 53 53 54 54 *** 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 Browserhttp://${SERVER}/eden/default/user/login58 #puts arg2 in textbox(arg1) 59 Input Text auth_user_email admin@example.com 55 Login 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 60 60 Input Text auth_user_password testing 61 61 #Clicks the submit button 62 Click Button xpath=//input[@class='btn' and @value='Login'] 62 Click Button xpath=//input[@class='btn' and @value='Login'] 63 63 #Checks if the text 'Logged in' is there or not 64 Page Should Contain Logged in 65 64 Page Should Contain Logged in 66 65 }}} 67 66