What is the best tool for functional testing a complex web application

I have a rather complicated web application written using Grails. I am trying to create a functional testing framework, initially using Selenium, but ran into two problems.

  • The part of the page that I want to check includes a tree-like data structure that is displayed using jstree. The problem here is that the action I want to simulate - clicking a user on a node to display its children - seems to work by clicking on a specific coordinate inside the div, which is difficult to verify. I managed to work around the problem by opening this node using Javascript passed directly to the browser using the Selenium executeScript () method.

  • Webapp makes heavy use of file uploads, and this is something I definitely should check out. There is no easy way to send files using Selenium.

What is the best way to get around this? I’m thinking about trying Tellurium (but it’s not clear from my reading whether file downloading works) or iMacros (assuming the browser extension will download files better). This cannot be the rare situation I am in; can anyone suggest a better alternative?

+6
source share
3 answers

I can confirm that iMacros (what you mentioned) works great with all kinds of tree views and file uploads. It even supports downloading files based on Flash or "ajaxy": http://blog.alertfox.com/2011/03/are-file-upload-scripts-on-your-website.html

0
source

Admittedly, I am biased, but can I offer Telerik Test Studio, which you can find here :. I just checked that we can easily record and play clicks on a special jsTree extender. We also have built-in support for file upload processing. What else do you want?

Cody, Test Studio Support Team

0
source

We used the Rational functional tester to test a Web 2.0-based application using the dojo 1.0 toolkit. We used along with our own vegetation. It worked great with a few exceptions, such as not-so-good support for new browsers, new versions of Firefox, etc.

0
source

Source: https://habr.com/ru/post/887723/


All Articles