Testing for text on page
Testing for ids or links
Testing if a radio button is selected or not
Testing to see if an input field has data
h2 Testing to see if a Select drop down was chosen
Selecting inputs
Testing if a class is present
- Looks for <div id="wrapper" class="MyPageName"></div>
Helper 'click link' method
- Catches when pages time out and retries link at least once.
- Usage.
- Startup Selenium, closing window when done:
- Startup Selenium, leaving window open:
Starting Junit tests
Capture screenshot of exception
Labels:
None
