Newbie to group - Various robot questions!
User McDonald, Sean (Sean.McDonald@ds-s.com.nospam) posted:
I am new to this group and was wondering what other peoples experiences of
We are using the latest version of Rational Robot. I am working on a
project which has an MFC MDI host application containing a mixture of VB and
VC++ custom ActiveX controls. We have added the Rational ActiveX test
control to all controls and the host application.
Here are some questions I need answering!
We have several custom VB .ocx controls which are not being recognised
correctly in robot. The main application is MFC MDI based. Robot can see
down to the controls child objects but cannot expose the parent interface
(which contains some specially written GET properties to output various
information about the data contained within. This seems more of an issue
with the VB custom controls than the VC++ ones!
I have found bits of information including an in-house document about
writing a Proxy for the control you are testing - this is not complete
Re: Newbie to group - Various robot questions!
User (Paul_Downes@providian.com.nospam) posted:
I'm afraid I don't have specific assistance for your issues, but may offer
I am not sure if it is of any help, but there is a doc posted on the
RationalUsers website relating to using the test enabler with MFC controls;
Recognition of custom controls is always an issue. Sometimes, however, the
object data VP is able to see the control data even if SQAGetProperty
cannot. If you want to be able to programmatically utilize the data, there
is a function on the RU website that allows you to extract the data from an
object data VP; see -
If you have a current version of Robot, you should not need to use the test
enabler to access the standard VB objects. However, refer to the doc above
for its use with MFC controls.
If Inspector can see a property, Robot SQAGetProperty *usually* can. The
trick is to determine the correct context recognition string.
I have posted a paper, "Extending Rational Robot Support for New ActiveX
Controls", that explains how the Rational Robot proxy system works, gives
instructions on how to use the Rational Robot Active X Proxy Wizard to
create a new proxy, and provides examples of working proxies. See -
Cheers . . . Paul