Future of DOM based UI testing
Posted: Fri Sep 05, 2014 3:55 pm
I came this question across a networking website and found it very intriguing. It's not a question about how Ranorex will help me solve a question but on the extensive use to extJS in applications.
I work with Selenium for quite a while now and was very happy with it for some time. However recently, I get more and more projects where I see extensive use of JavaScript. For example webpages written with ExtJS. As a result, the DOM structure of the webpage becomes unreliable for automation purposes and it gets harder and harder to make it work with any other DOM based automation tool.
Now, given the fact that the above-mentioned technologies become more and more popular and relatively simple HTML webpages are harder to find, what does that mean in terms of automation tools like Ranorex? As far as I see it, if that trend continues, and I see no reason why it wouldn't, will DOM based tools become useless? Are there any other tools that somehow interact better with JS based webpages? Don't you think the future is heading towards image recognition and testing based on the "eye" of the user.
Will be great to know some thoughts and\or personal experiences on that topic.
I work with Selenium for quite a while now and was very happy with it for some time. However recently, I get more and more projects where I see extensive use of JavaScript. For example webpages written with ExtJS. As a result, the DOM structure of the webpage becomes unreliable for automation purposes and it gets harder and harder to make it work with any other DOM based automation tool.
Now, given the fact that the above-mentioned technologies become more and more popular and relatively simple HTML webpages are harder to find, what does that mean in terms of automation tools like Ranorex? As far as I see it, if that trend continues, and I see no reason why it wouldn't, will DOM based tools become useless? Are there any other tools that somehow interact better with JS based webpages? Don't you think the future is heading towards image recognition and testing based on the "eye" of the user.
Will be great to know some thoughts and\or personal experiences on that topic.