Seeking to develop automated tests for my completely ajax-based website developed using Spring MVC/Java. I possess a basic understanding of Selenium and have managed to create some tests using this tool.
The main issue lies in the fact that testing an ajax-based site entirely from backend java code with Selenium proves to be quite challenging.
I am looking for ways to simplify this project. Is it possible to create tests using javascript and then run them via Selenium from the backend?
Some challenges faced include: - Multiple popups loading through ajax calls, making it difficult to click buttons on the popup (error: Cannot click hidden buttons) - Numerous tables loading data page by page internally through ajax calls, causing issues in traversing to next pages efficiently using Java's selenium code.