# Single Page Application Selenium Testing

**URL:** <https://club.ministryoftesting.com/t/single-page-application-selenium-testing/22715>\
**Category:** Archive\
**Tags:** automation\
**Created:** [8 February 2019 16:48 UTC](https://club.ministryoftesting.com/t/single-page-application-selenium-testing/22715 "2019-02-08T16:48:53Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![truiz1388](https://sea2.discourse-cdn.com/flex020/user_avatar/club.ministryoftesting.com/truiz1388/32/4165_2.png) [@truiz1388](https://club.ministryoftesting.com/u/truiz1388)\
**Post date:** [8 February 2019 16:48 UTC](https://club.ministryoftesting.com/t/single-page-application-selenium-testing/22715/1 "2019-02-08T16:48:53Z")

</div>

Hello,

Our program at work is using a third-party solution written as a Single Page App (SPA) and we’re struggling to automate using Java and Selenium. The framework was created by others who are on a different team in the company now, and we have inherited everything they had. It’s been in place almost 2 years now, so unfortunately it’s here to stay.  
Our tests are really flaky and we struggle with using XPATH and CSS as identifiers.  
I was wondering if anyone has faced similar issues and if you have any tips for us please.

Thank you in advance.

---

<div class="post-metadata">

**Author:** ![joaofarias](https://sea2.discourse-cdn.com/flex020/user_avatar/club.ministryoftesting.com/joaofarias/32/11709_2.png) [@joaofarias](https://club.ministryoftesting.com/u/joaofarias)\
**Post date:** [8 February 2019 18:54 UTC](https://club.ministryoftesting.com/t/single-page-application-selenium-testing/22715/2 "2019-02-08T18:54:04Z")

</div>

Considering that the velocity on this front can be inherently low, you may want to:

- Try to scope down your work

- Discover what is risker in your app

\* In case you cannot check it [with a more appropriated tool](https://www.cypress.io/)
