Support for QT?

Thursday, November 10, 2011 7:11:16 AM
Hi Inflectra,

We are heavily into trialling the Rapise tool but a lot of our in-house and 3rd party applications are written using the QT framework.

We are having terrible trouble recognising any objects in our applications. We have tried all the methods listed in the documentation in addition to no method - and forcing Rapise to learn the object. We are having no success.

Additionally, even the relative analogue record method doesn't work.

Can you please confirm support for QT or add some insight into the issue?

Thanks again,

9 Replies
Thursday, November 10, 2011 2:23:55 PM
re: ROAMES on Thursday, November 10, 2011 7:11:16 AM
We don't have explicit support for the QT framework, so depending on what platform you're running on, it may or may not work. Are these .NET, Java or C++ applications? The custom libraries in Rapise will work as long as QT implements the Microsoft Active Accessibility (MSAA) standard. I have asked our developers to provide more information on whether QT fully supports MSAA, will let you know.
Saturday, November 12, 2011 2:44:08 PM
re: inflectra.adam on Thursday, November 10, 2011

According to our development group, the best choice would be to use the following Rapise libraries:

1. Generic library
2. Advanced accesibility library.

We haven't a specific QT library, but depending on customer demand we may invest in that as an additional library.

If you use these two libraries listed above, does the Learn feature recognize objects in your application. Let us know if not and we can investigate further for you. For more specific advice, you can submit a support ticket to

Sunday, November 13, 2011 3:50:54 PM
re: inflectra.adam on Saturday, November 12, 2011

We just tried using Rapise with a sample Qt application:

and using both the Generic and Advanced Accessibility libraries together, it was able to recognize the objects.

Tuesday, November 15, 2011 5:43:51 AM
re: inflectra.adam on Sunday, November 13, 2011
Hi Rapise,

Thank you so much for your help. We have completed evaluating SpiraTeam and have decided to purchase some copies, so we'll be in touch soon. Our Rapise evaluation will be based on success with QT.

I have tried using the combined generic/advanced libraries and am tentatively increased confidence as the recording dialogue seems to display the object names now - previously this was not happening.

However, I now have a syntax error occurring on playback in the (assumed, based on debugging) player.js script. An initial overview of this class I cannot find a problem with.

The output displays thus:

SeS Player Starting...
Verbose level:1
C:\Program Files (x86)\Inflectra\Rapise\Bin\..\Engine\Player.js(487,2): Expected '}'
Error evaluating script file C:\Users\nick.vandernet\Documents\My Rapise Tests\QT Test 001\QT Test 001.js (syntax error): SyntaxError: Expected '}'
###Initialization error (0)

So, I think we're close, but damn brackets!

Please help.

Tuesday, November 15, 2011 6:08:35 AM
re: ROAMES on Tuesday, November 15, 2011
Hi Inflectra,

We fixed the syntax error - looks like it was caused by an ellipses in an automatic comment.

However, this resulted in the same original problem - on playback no objects are recognised.

Does your library rely on the Microsoft Accessibility metadata being implemented (names of objects and other exposing, etc)?

Because these controls have not been implemented. So I also tried running a quick record-and-play over one of the most common QT apps around - google earth - and found the same problem. Rapise cannot recognise the objects.

Please advise.

Thanks again,

Wednesday, November 16, 2011 2:22:32 AM
re: ROAMES on Tuesday, November 15, 2011


The Generic and Advanced Accessibility libraries of Rapise do rely on the MSAA metadata being published correctly by the UI framework (some of the others use different methods, e.g. browser DOM, .NET, Java, etc.).

We shall check into the playback issue and let you know what our recommendations are.

Wednesday, November 16, 2011 7:57:08 PM
re: inflectra.adam on Tuesday, November 15, 2011


How are the objects being recognized? Are they displayed as Simulted objects in the object tree inside Rapise? You can email your sample Rapise project files as a zip to


Thursday, November 17, 2011 5:44:24 AM
re: inflectra.adam on Wednesday, November 16, 2011
Hi Rapise,

I have now taken this offline and am working with Adam. I look forward to posting success. Thanks for your help thus far.

Friday, January 27, 2012 9:38:34 PM
re: ROAMES on Thursday, November 17, 2011
We have just released Rapise v1.3.1 that comes with built-in support for testing Qt applications.
  • Started: Thursday, November 10, 2011 7:11:16 AM
  • Last Reply: Friday, January 27, 2012 9:38:34 PM
  • Replies: 9
  • Views: 2068