Test an Action like "Test query"

On our radar
Enable to Test an Action giving new input parameters.
Created on 10 May 2010
Comments (31)
10 May 2010

So, actually you mean a Unit test?
11 May 2010
Be able to configure input parameters and execute an action. Then view all output variables.
14 May 2010
I've been wanting this for a long time. Initially I thought of it as an "automatic" web screen that would be created to test, but I find your idea even more productive.
11 Aug 2010
@Joost Landgraf

Yes! Something like unit test would be AWESOME! Would save loads of time!
17 Oct 2011
This is the most liked idea since it was created over 1year and half ago...Any ideas if this will ever get done?
22 Sep 2012
I personally will not implement a large solution in the Agile Platform until there is a feature like this.  Web UI testing solutions are NOT a substitute for unit testing.

Anyone know if this item is at the top of Outsystems backlog?

8 Oct 2012
Yeah, OS staff, please comment on this feature! :)
8 Jan 2013
I'll keep bugging: OS staff, you really ought to comment on this one, when will it see the light of day?
5 Mar 2013
Great idea, would save alot of time for sure!
18 Apr 2013
Sorry for double posting but this idea just hit the 300 MARK!
19 Apr 2013
As for OS staff commenting on this feature, see here: http://www.outsystems.com/forums/discussion/9112/wisdom-of-the-crowds-warning-bit-of-a-rant/

(Why they couldn't have done it here is beyond me, but anyway...)
Merged this idea with 'Actions and Webservices test functionality' (created on 2012-04-26 09:15:53 by Rene Sundermeijer)
It would be very helpful and timesaving if a test option for actions and webservices would be integrated in Service Studio. Instead of creating test screens, setup test data and publish espace to create your own test set.

This test action should include:
  • possibility to set input parameters
  • debug mode

Merged from 'Actions and Webservices test functionality' (idea created on 2012-04-26 09:15:53 by Rene Sundermeijer), on 2014-01-24 12:51:46 by Gonçalo Borrêga
Joop Stringer
5 May 2012
I like this ... now I use soapUI to test webservices ... but the way soapUI handles webservices is different then how OutSystems handles them

Merged from 'Actions and Webservices test functionality' (idea created on 2012-04-26 09:15:53 by Rene Sundermeijer), on 2014-01-24 12:51:46 by Gonçalo Borrêga
12 Feb 2014
This would be fantastic!!!  I'm disappointed something like this wasn't already implemented.
4 Mar 2015
Most liked idea ever, and still nothing?

Almost 5 years from original post...
14 Apr 2015

It would also be nice for Automated Testing porposes  if we could test a "generic action" by their name/parameters. 

Dunno if its hard to implement.
14 Jul 2015
5 years without an official feedback from OutSystems. Bad... :/
20 Jul 2015
Well, not exactly "without feedback", just not in this thread (see my > 2yo comment above). See here.
5 Dec 2016

I'm curious  what is the status of this? did everybody lose hope and stopped asking when this idea would crystallize or it is in the making?

6 Dec 2016

@Alexei: the problem is that it's both technically and functionally difficult to implement. See the link I posted above for background info.

29 Jan 2017

Please implement this.

Developing an application in Outsystems will be more fun. :D

26 Aug 2017

Great idea, would save a lot of time.

16 Oct 2017

This would really speed up development. You do not have to create a from with a button to test it anymore. Just enter the input variables and test it.

24 Oct 2017

It could be samething as a scrapbook, I would like very much if it was possible to test a build in function in this way. Till now what I do is to create a page with what I want to test, publish and test the function, a lot of wasted time is lost.

17 Nov 2017

Hey everyone!


The reason why I don't think this has been done before is that, unlike Test Query, the platform needs to generate the code (either C# or Java) in order to allow proper execution. As such, while testing a query is somewhat easier, testing a piece of code is not.


With this in mind, I decided to take this path on my Masters Degree Project/Thesis. What I intend to do is a Testing Framework component that "automatically" gets your User Actions and generates the unit test cases to achieve branch coverage. There are other features intended but this is the major one.

If you're willing to spare a few minutes to help me out - since I'm on the R&D phase -, I would appreciate that you leave a feedback on https://armando.outsystemscloud.com/TFQuery/.

Thank you all,


17 Nov 2017


The reason why this hasn't been done yet is laid out behind the link I posted above. Basically the problem is you need a full context (site properties, session variables, etc.) which you don't have.

17 Nov 2017

@Kilian Hekhuis 

Why couldn't those be test parameters as we have in test query? We already have that pattern implemented, so surely that can't be the reason...
I tend to agree with Armando Gomes with the on the fly generation of code and execution. But heck, it does not need to be instant we surely can handle the wait for a few seconds to get that up and running

17 Nov 2017

This would be nice!

20 Nov 2017

@Pedro Coelho

It could, but it's far more complex. Queries don't have true globals, while actions do.

21 Nov 2017

Nobody said it was easy :) And I really like this discussions since we can always learn something new.

What I'm trying to build is something that could help you save some time when doing the tests. It would generate them for you and it would also execute those, given a few possible limitations that I'm not really sure right now.

So, yeah. In the end it could be something like a "test action" but not-so-instant.

Again, any suggestion, feel free to use the link above or firing me a message. I'm more than eager to get views and inputs from other people.