UI testing beginner here, can Selenium be used for UI testing single page JavaScript apps?
Apps use async AJAX / Web Socket requests, service end points are tested but I need UI testing as well.
Apart from Selenium, which other tools would you recommend?
It's perfectly fine for pages that are heavy on the ajax, you just may have to do some fine-grained adjusting of the timeouts for each method you call since there won't necessarily be an obvious signal to Selenium when an ajax method completes (like there is when a page finishes loading).
checkout timeout usage here:
http://seleniumhq.org/docs/04_webdriver_advanced.html
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With