Skip to content

JellyRollJunior/selenium-journal

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

37 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

selenium-journal

Documenting my journey to learning selenium!

Reflection:

I got some good debugging experience when doing CrossPlatformTests.

  • Chrome was passing tests but Safari wasn't! It was a big headache getting element not visible / node not visible / stale element / element out of bounds exceptions until I figured out Safari loads slower than chrome so i needed to place some WebDriverWaits to account for Safaris snail loading.

Code Samples:

  • Driver setup
  • Web Elements
  • Locators
    • CssSelector: practicing complex queries
    • XPath
  • Waits
    • Implicit Waits
    • Explicit Waits
      • WebDriverWait
  • Alerts
  • Listeners
  • Exception Handling
  • Actions and Action class
  • Robot class
    • basically only use this when Action is insufficient
    • ex: Action class uses WebDriver API to perform events so if an OS popup occurs, need to use Robot
  • JUnit 4 with Selenium!
  • TestNG with JUnit and Selenium!
  • Cross Browser Testing with TestNG xml file!!!
    • Automated Chrome + Safari testing
  • JavaScriptExecutor

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages