Advertisement
Guest User

Untitled

a guest
Jan 23rd, 2017
75
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.04 KB | None | 0 0
  1. given:
  2. to LoginPage
  3. at LoginPage
  4.  
  5. when:
  6. "Login as" 'admin'
  7. then:
  8. at SalesToolsPage
  9.  
  10. when:
  11. "Select in the left menu" 'Administration', 'A Reports', 'Maintain Report Descriptions'
  12. then:
  13. at MaintainReportDescriptionsPage
  14.  
  15. when:
  16. "Fill field" 'Code', 'Auto'
  17. "Fill field" 'Description', 'Test'
  18. "Click button" "Cancel"
  19. "Check that field is empty" 'Code'
  20. "Check that field is empty" 'Description'
  21. "Click button and verify JS-message" "Add", 'Please enter a value for "Code".'
  22. "Fill field" 'Code', 'Auto'
  23. "Click button and verify JS-message" "Add", 'Please enter a value for "Description".'
  24. "Fill field" 'Description', 'Test'
  25. "Click button" "Add"
  26. "Verify that element presented" 'New code added.'
  27. "Select in the left menu" 'Reports', 'R Reports'
  28. then:
  29. at ReportsPage
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement