I am a software development engineer in test for Infosys. My job is officially to write automated tests in Selenium Webdriver. I'm also a web developer as a hobbyest
This week, I learned to make parallel tests in Selenium WebDriver and TestNG. Pro-tip, don't write your WebDriver objects as singletons! I did everything else right, puzzled over why my tests wouldn't run parallel only to realize I had different pages running off the same Driver instance because it was a singleton! Doh.
Fixed that and it worked.
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
This week, I learned to make parallel tests in Selenium WebDriver and TestNG. Pro-tip, don't write your WebDriver objects as singletons! I did everything else right, puzzled over why my tests wouldn't run parallel only to realize I had different pages running off the same Driver instance because it was a singleton! Doh.
Fixed that and it worked.