261 reputation
25
bio website
location San Diego, CA
age
visits member for 3 years, 3 months
seen Sep 18 at 4:23

Jun
1
comment Page Objects design issues
As test author, you know when your given login info will be successful. It therefore makes sense to create distinct methods for each destination page, in this case: public HomePage loginFail(String username, String password) {...}. I usually recommend creating a parameterized method with a generic return type to keep the code DRY. If your code goes off the path, e.g. navigates to an unexpected page, you should throw an Exception to be caught by the test runner.
Jun
6
awarded  Revival
Sep
26
awarded  Nice Answer
Sep
11
revised Page Objects design issues
grammar
Sep
10
awarded  Yearling
Jul
16
revised WebDriver: Can I inject a jQuery script for a page that isn't using jQuery?
80 character column.
Jul
14
revised WebDriver: Can I inject a jQuery script for a page that isn't using jQuery?
change URL to google cdn, not jquery.com
Jul
14
revised WebDriver: Can I inject a jQuery script for a page that isn't using jQuery?
sexified the format; deleted 7 characters in body
Jul
14
revised WebDriver: Can I inject a jQuery script for a page that isn't using jQuery?
fixed ugly formatting. further satiation of my nagging perfectionism.
Jul
13
revised WebDriver: Can I inject a jQuery script for a page that isn't using jQuery?
forgot to mention a feature
Jul
13
revised WebDriver: Can I inject a jQuery script for a page that isn't using jQuery?
deleted 22 characters in body
Jul
13
revised WebDriver: Can I inject a jQuery script for a page that isn't using jQuery?
added 191 characters in body
Jul
13
answered WebDriver: Can I inject a jQuery script for a page that isn't using jQuery?
Nov
23
awarded  Necromancer
Aug
18
awarded  Editor
Aug
18
revised Page Objects design issues
added 3 characters in body
Jul
28
awarded  Supporter
Jul
27
awarded  Teacher
Jul
27
answered Page Objects design issues