Ask a Question

MSAA testing / limiting MSAA

SOLVED
PrecisionDan
Occasional Contributor

MSAA testing / limiting MSAA

Hello,

 

I've recently started to use MSAA enabled with my tests. It has  worked great with some objects, allowing me to access buttons/ properties that I couldn't before, but I've run into the issue that a lot of my objects share the same WndClass and subsequently, I've had to recreate tests that I've previously created, and re map objects that previously did't cause me any issues. 

 

I suppose my question is, is it possible to only allow the use of MSAA on particular objects (for example on a ribbonControl) and not on others (TreeView for instance).

 

I know that there is a MSAAMAXCHILDCOUNT command line options but the documentation doesn't do a great job of explaining what it does. I was wondering if anyone could help me out?

 

Thank you,

-Dan 

5 REPLIES 5
PrecisionDan
Occasional Contributor

I just found this bit of documentation:

https://support.smartbear.com/testcomplete/docs/working-with/managing-projects/properties/open-apps/...

 

Which is essentially saying I can stipulate which items get MSAA object mapping based on the WndCaption property. Now my issue is that the one item I wanted to use MSAA object mapping on doesn't have a caption. '

 

Is there any other way to stipulate which items get MSAA mapping?

 

 

AlexKaras
Community Hero

Hi,

 

If I got your question right, caption is a kind of optional property. Just specify the WndClass for your ribbonControl and TreeView should not be processed by MSAA. (My guess is that they have different windows classes.)

 

Regards,
  /Alex [Community Hero]
____
[Community Heroes] are not employed by SmartBear Software but
are just volunteers who have some experience with the tools by SmartBear Software
and a desire to help others. Posts made by [Community Heroes]
may differ from the official policies of SmartBear Software and should be treated
as the own private opinion of their authors and under no circumstances as an
official answer from SmartBear Software.
The [Community Hero] signature is used with permission by SmartBear Software.
https://community.smartbear.com/t5/custom/page/page-id/hall-of-fame
================================
PrecisionDan
Occasional Contributor

They share a WndClass, I was more wondering if there was any possible to to tell test complete to allow MSAA or object A and not object B within the same class. I know there is a way to limit it based on WndCaption. Unfortunately, both objects have an empty string for WndCaption

Hi,

 

I see... Unfortunately, I am not aware about any other possible option.

You may create Support ticket via the https://support.smartbear.com/message/?prod=TestComplete form - hopefully Support guys will provide you with some other option...

 

Regards,
  /Alex [Community Hero]
____
[Community Heroes] are not employed by SmartBear Software but
are just volunteers who have some experience with the tools by SmartBear Software
and a desire to help others. Posts made by [Community Heroes]
may differ from the official policies of SmartBear Software and should be treated
as the own private opinion of their authors and under no circumstances as an
official answer from SmartBear Software.
The [Community Hero] signature is used with permission by SmartBear Software.
https://community.smartbear.com/t5/custom/page/page-id/hall-of-fame
================================
sonya_m
SmartBear Alumni (Retired)

Thank you Alex!

 

@PrecisionDan , I wasn't able to locate your support ticket. Could you let us know if you figured out the solution to this? Otherwise, I'd encourage you to open one, as Alex suggested. It would be great if you could share the final solution with us here too!


Sonya Mihaljova
Community and Education Specialist

cancel
Showing results for 
Search instead for 
Did you mean: