Let me clarify a few things.
- I'm not talking about unit tests. I'm talking about integration tests. After the build is completed then we are testing the web application.
- I am not talking about browser automation. If you're accessing the browser to access the web application then you are doing UI automation. This is known to break frequently.
- I am not talking about headless testing in which we are still automating via the browser, but the browser's UI doesn't show up. That is not what I am talking about.
I'm talking about automating a web application without using a browser. Is that possible? I've read in various books/online articles where the author recommends automating without the UI first because it will be more stable than browser (aka UI) automation.
How can I implement functional, non-browser automation for my product?
Edit: I'm currently not in a position to find out whether or not our product has a WebAPI since I'm just starting out. Answers should include both the cases - if it's present as well as if it is not present.