Skip to main content
Jan Cees Boogaard
Rocketeer
Nov 19, 2018 11:33 AM UTC

Uniface 9: Automated Testing Tools with Uniface??

Automated Testing Tools with Uniface??

Author: adrian.gosbell@synapse-i.jp (Adrian Gosbell)

Here's a question.. we're planning on replacing our automated testing tools that we use to test Uniface. At the moment we use Testpartner which since it was sold to Microfocus, has been discontinued, so we have issues with things like 64 bit support, Windows 8 and so on. We also have some 'home brewed' tests, and they are proving to be a nightmare to support, plus I'd sooner we build Uniface features, not a testing tool. Anybody out there in customer land using testing tools, this is for repetitive tests? (screen scraping which is then played back. If so, what, and any details to share on what experiences using them have been, any details on why a particular product was chosen and so forth. Also happy to discuss on the phone, receive emails and so forth.

19 replies

Jan Cees Boogaard
Rocketeer
Nov 19, 2018 11:33 AM UTC

Automated Testing Tools with Uniface??

Author: adrian.gosbell@synapse-i.jp (Adrian Gosbell)

Here's a question.. we're planning on replacing our automated testing tools that we use to test Uniface. At the moment we use Testpartner which since it was sold to Microfocus, has been discontinued, so we have issues with things like 64 bit support, Windows 8 and so on. We also have some 'home brewed' tests, and they are proving to be a nightmare to support, plus I'd sooner we build Uniface features, not a testing tool. Anybody out there in customer land using testing tools, this is for repetitive tests? (screen scraping which is then played back. If so, what, and any details to share on what experiences using them have been, any details on why a particular product was chosen and so forth. Also happy to discuss on the phone, receive emails and so forth.

Interesting timing, as we are in the final decision phase. I've talked about this at various user groups this year, so happy to share what is happening. The shortlist consists of: Ranorex (from Ranorex), Rational (from IBM), Silktest (from Microfocus)and Rapise (from Inflectra). The challenge (as always) is accessing the Windows handles which testing tools need in order to recognize them. Some of our controls are built in an entirely proprietary way because when delivered in the Uniface 5 era, they needed to behave in the same way on all of those GUI platforms we used to support ( OS/2 anybody?!). So an important part of the decision making process is how can we use the Uniface controls with the tools. (are there apis, how easy to use, etc, etc). We want to make a decision by the end of the calendar year, so I''ll share what the outcomes are. Its been an interesting experience to be on the end of the sales activity from the companies we worked through, and how serious they are in trying to sell us something. Some of the companies who did not make it on the shortlist (we started with about 15) really did not want to sell us anything..


Author: Adrian Gosbell (adrian.gosbell@synapse-i.jp)
Jan Cees Boogaard
Rocketeer
Nov 19, 2018 11:33 AM UTC

Automated Testing Tools with Uniface??

Author: adrian.gosbell@synapse-i.jp (Adrian Gosbell)

Here's a question.. we're planning on replacing our automated testing tools that we use to test Uniface. At the moment we use Testpartner which since it was sold to Microfocus, has been discontinued, so we have issues with things like 64 bit support, Windows 8 and so on. We also have some 'home brewed' tests, and they are proving to be a nightmare to support, plus I'd sooner we build Uniface features, not a testing tool. Anybody out there in customer land using testing tools, this is for repetitive tests? (screen scraping which is then played back. If so, what, and any details to share on what experiences using them have been, any details on why a particular product was chosen and so forth. Also happy to discuss on the phone, receive emails and so forth.

Hi Adrian, Did you find an automatic testing tool? Kind regards. Rafa.


Author: uniface8 (spanish_uniface@hotmail.es)
Jan Cees Boogaard
Rocketeer
Nov 19, 2018 11:33 AM UTC

Automated Testing Tools with Uniface??

Author: adrian.gosbell@synapse-i.jp (Adrian Gosbell)

Here's a question.. we're planning on replacing our automated testing tools that we use to test Uniface. At the moment we use Testpartner which since it was sold to Microfocus, has been discontinued, so we have issues with things like 64 bit support, Windows 8 and so on. We also have some 'home brewed' tests, and they are proving to be a nightmare to support, plus I'd sooner we build Uniface features, not a testing tool. Anybody out there in customer land using testing tools, this is for repetitive tests? (screen scraping which is then played back. If so, what, and any details to share on what experiences using them have been, any details on why a particular product was chosen and so forth. Also happy to discuss on the phone, receive emails and so forth.

An update on this project. We've not made a decision yet. The delay is because we want to figure out a structural way to connect the testing tool to Uniface, and without any dependency on the testing tool vendor. (which was the case with the ‘old tools’, when where was some kind of .dll which contained mapping from the testing product to Uniface). We have the idea to leverage the Microsoft Active Accessibility (MSAA) functionality which is typically used as a utility for end users that are impaired in some way. Consider that it is a series of handles which a tool can use to know what it is (a command button), where it is on the screen (coordinates X:Y), what it’s state is (It is not pressed), what it can do (mouse hover causes a tool tip, pressing it does something, pressing and holding if for more than 5 seconds does something else, etc, etc). We decided to start this with a high level POC based on our shortlist, and it looks like this is achievable. To put the functionality into Uniface is estimated at about a man years worth of effort, so we need to see how we can do this effectively. For example it doesn't have to be done for all widgets, we could think about bringing in some contract help, etc, etc. But it needs to be done, so we need to figure that out. Watch this space.


Author: Adrian Gosbell (adrian.gosbell@synapse-i.jp)
Jan Cees Boogaard
Rocketeer
Nov 19, 2018 11:33 AM UTC

Automated Testing Tools with Uniface??

Author: adrian.gosbell@synapse-i.jp (Adrian Gosbell)

Here's a question.. we're planning on replacing our automated testing tools that we use to test Uniface. At the moment we use Testpartner which since it was sold to Microfocus, has been discontinued, so we have issues with things like 64 bit support, Windows 8 and so on. We also have some 'home brewed' tests, and they are proving to be a nightmare to support, plus I'd sooner we build Uniface features, not a testing tool. Anybody out there in customer land using testing tools, this is for repetitive tests? (screen scraping which is then played back. If so, what, and any details to share on what experiences using them have been, any details on why a particular product was chosen and so forth. Also happy to discuss on the phone, receive emails and so forth.

An update on this project.  We have chosen the testing tool called Ranorex. http://www.ranorex.com/  We are now starting a project to implement MSAA with the specific goal to use these 'hooks' as the way to connect the tool to the Uniface GUI. Our intention is that we will work through the controls gradually and deliver the functionality as it becomes complete.  It will also be documented so it's possible for customers to use it for their own testing purposes. In theory, it does mean that other tools, besides Ranorex could be used, providing they can connect to the MSAA hooks.  


Author: Adrian Gosbell (adrian.gosbell@synapse-i.jp)
Jan Cees Boogaard
Rocketeer
Nov 19, 2018 11:33 AM UTC

Automated Testing Tools with Uniface??

Author: adrian.gosbell@synapse-i.jp (Adrian Gosbell)

Here's a question.. we're planning on replacing our automated testing tools that we use to test Uniface. At the moment we use Testpartner which since it was sold to Microfocus, has been discontinued, so we have issues with things like 64 bit support, Windows 8 and so on. We also have some 'home brewed' tests, and they are proving to be a nightmare to support, plus I'd sooner we build Uniface features, not a testing tool. Anybody out there in customer land using testing tools, this is for repetitive tests? (screen scraping which is then played back. If so, what, and any details to share on what experiences using them have been, any details on why a particular product was chosen and so forth. Also happy to discuss on the phone, receive emails and so forth.

Hi, I have to admit that I'm not really familiar with this topic, but having googled MSAA, I found the following??: http://msdn.microsoft.com/en-us/library/windows/desktop/hh848051(v=vs.85).aspx http://en.wikipedia.org/wiki/Microsoft_UI_Automation so should UIA (successor to MSAA) be used instead of MSAA or is it just a matter of concepts? Regards RogerW.


Author: rogerw (roger.wallin@abilita.fi)
Jan Cees Boogaard
Rocketeer
Nov 19, 2018 11:33 AM UTC

Automated Testing Tools with Uniface??

Author: adrian.gosbell@synapse-i.jp (Adrian Gosbell)

Here's a question.. we're planning on replacing our automated testing tools that we use to test Uniface. At the moment we use Testpartner which since it was sold to Microfocus, has been discontinued, so we have issues with things like 64 bit support, Windows 8 and so on. We also have some 'home brewed' tests, and they are proving to be a nightmare to support, plus I'd sooner we build Uniface features, not a testing tool. Anybody out there in customer land using testing tools, this is for repetitive tests? (screen scraping which is then played back. If so, what, and any details to share on what experiences using them have been, any details on why a particular product was chosen and so forth. Also happy to discuss on the phone, receive emails and so forth.

dleveque said
Adrian Gosbell said An update on this project.  We have chosen the testing tool called Ranorex. http://www.ranorex.com/  We are now starting a project to implement MSAA with the specific goal to use these 'hooks' as the way to connect the tool to the Uniface GUI. Our intention is that we will work through the controls gradually and deliver the functionality as it becomes complete.  It will also be documented so it's possible for customers to use it for their own testing purposes. In theory, it does mean that other tools, besides Ranorex could be used, providing they can connect to the MSAA hooks.  
Hi Adrian, We are also looking for a replacement to our ageing TestPartner/QADirector tool so we are very interested in this. Do you already have some documentation of what can be found in MX05 related to this? Will unifields be supported? Will the HTML widget be supported? ... Thanks for sharing!

We did not make as much progress with the 'productization' of the initial phase of this project as we wanted. (the work to extract ourselves from Compuware took more than we anticipated).  Under the hood, some widgets have been implemented (I think the edit box and the command button), but it's not documented (or supported) because we want to start using them ourselves with automated tests. You could call this our own verification and certification.  So you'll see that as we reach that point, the widgets that have the MSAA hooks available will be updated in the documentation.   I'm expecting that that we'll see the first phases in MX06.  Unifields and the HTLM Control should be included, the HTML control will have some other dependencies which we will have to work around first of all.  We'll keep you informed as the project progresses. 


Author: Adrian Gosbell (adrian.gosbell@synapse-i.jp)
Jan Cees Boogaard
Rocketeer
Nov 19, 2018 11:33 AM UTC

Automated Testing Tools with Uniface??

Author: adrian.gosbell@synapse-i.jp (Adrian Gosbell)

Here's a question.. we're planning on replacing our automated testing tools that we use to test Uniface. At the moment we use Testpartner which since it was sold to Microfocus, has been discontinued, so we have issues with things like 64 bit support, Windows 8 and so on. We also have some 'home brewed' tests, and they are proving to be a nightmare to support, plus I'd sooner we build Uniface features, not a testing tool. Anybody out there in customer land using testing tools, this is for repetitive tests? (screen scraping which is then played back. If so, what, and any details to share on what experiences using them have been, any details on why a particular product was chosen and so forth. Also happy to discuss on the phone, receive emails and so forth.

Adrian Gosbell said An update on this project.  We have chosen the testing tool called Ranorex. http://www.ranorex.com/  We are now starting a project to implement MSAA with the specific goal to use these 'hooks' as the way to connect the tool to the Uniface GUI. Our intention is that we will work through the controls gradually and deliver the functionality as it becomes complete.  It will also be documented so it's possible for customers to use it for their own testing purposes. In theory, it does mean that other tools, besides Ranorex could be used, providing they can connect to the MSAA hooks.  

Hi Adrian, We are also looking for a replacement to our ageing TestPartner/QADirector tool so we are very interested in this. Do you already have some documentation of what can be found in MX05 related to this? Will unifields be supported? Will the HTML widget be supported? ... Thanks for sharing!


Author: dleveque (david.leveque@vision4health.be)
Jan Cees Boogaard
Rocketeer
Nov 19, 2018 11:33 AM UTC

Automated Testing Tools with Uniface??

Author: adrian.gosbell@synapse-i.jp (Adrian Gosbell)

Here's a question.. we're planning on replacing our automated testing tools that we use to test Uniface. At the moment we use Testpartner which since it was sold to Microfocus, has been discontinued, so we have issues with things like 64 bit support, Windows 8 and so on. We also have some 'home brewed' tests, and they are proving to be a nightmare to support, plus I'd sooner we build Uniface features, not a testing tool. Anybody out there in customer land using testing tools, this is for repetitive tests? (screen scraping which is then played back. If so, what, and any details to share on what experiences using them have been, any details on why a particular product was chosen and so forth. Also happy to discuss on the phone, receive emails and so forth.

rogerw said Hi, I have to admit that I'm not really familiar with this topic, but having googled MSAA, I found the following??: http://msdn.microsoft.com/en-us/library/windows/desktop/hh848051(v=vs.85).aspx http://en.wikipedia.org/wiki/Microsoft_UI_Automation so should UIA (successor to MSAA) be used instead of MSAA or is it just a matter of concepts? Regards RogerW.

I asked the development team about this, and apparently MSAA is a subset of UIA (so UIA has more functionality, and more than we need for the auto testing outcome).  The first batch of MSAA (for testing) enhancements will be included in the MX05/Uniface 9.6.06 maintenance release, which is planned for this month (November 2014). 


Author: Adrian Gosbell (adrian.gosbell@synapse-i.jp)
Jan Cees Boogaard
Rocketeer
Nov 19, 2018 11:33 AM UTC

Automated Testing Tools with Uniface??

Author: adrian.gosbell@synapse-i.jp (Adrian Gosbell)

Here's a question.. we're planning on replacing our automated testing tools that we use to test Uniface. At the moment we use Testpartner which since it was sold to Microfocus, has been discontinued, so we have issues with things like 64 bit support, Windows 8 and so on. We also have some 'home brewed' tests, and they are proving to be a nightmare to support, plus I'd sooner we build Uniface features, not a testing tool. Anybody out there in customer land using testing tools, this is for repetitive tests? (screen scraping which is then played back. If so, what, and any details to share on what experiences using them have been, any details on why a particular product was chosen and so forth. Also happy to discuss on the phone, receive emails and so forth.

A free RPA Tool from Edgeverve named https://www.edgeverve.com/assistedge/community/?cmpid=SOC_FBIN_communityedition_41018&source=Digital&subsource=Social_Pyrite" target="_blank">AssistEdge Community Edition which is more useful for Students & Developers. https://www.edgeverve.com/assistedge/community/?cmpid=SOC_FBIN_communityedition_41018&source=Digital&subsource=Social_Pyrite Sample video here https://youtu.be/tzwQ5LNPIRI


Author: Karthiksiddhu (karthiksiddhu99@gmail.com)
Jan Cees Boogaard
Rocketeer
Nov 19, 2018 11:33 AM UTC

Automated Testing Tools with Uniface??

Author: adrian.gosbell@synapse-i.jp (Adrian Gosbell)

Here's a question.. we're planning on replacing our automated testing tools that we use to test Uniface. At the moment we use Testpartner which since it was sold to Microfocus, has been discontinued, so we have issues with things like 64 bit support, Windows 8 and so on. We also have some 'home brewed' tests, and they are proving to be a nightmare to support, plus I'd sooner we build Uniface features, not a testing tool. Anybody out there in customer land using testing tools, this is for repetitive tests? (screen scraping which is then played back. If so, what, and any details to share on what experiences using them have been, any details on why a particular product was chosen and so forth. Also happy to discuss on the phone, receive emails and so forth.

Yes, besides standard Windows controls Uniface also includes non-standards controls. Uniface is older than MSAA/WUIA so the question "has Uniface included WUIA when building them?" is not valid. We are slowly ADDING WUIA to our non-standard controls. We are at point that many customers can use automated tests on their applications. Although sometimes you'll need to improvise a bit. I have no idea what RPA and FA-CALC are, and Google doesn't help much. Regards, Theo Neeskens


Author: Theo Neeskens (tneeskens@itblockz.nl)