CodeJock Xtreme toolkit controls
Didn't want to resurrect an old thread...
Has anyone recently (last year or two) worked with the CodeJock Xtreme toolkit controls (XTP objects) in a Win app (desktop, not browser based)? I've got a MenuBar object that is native class XTPToolbar and its dropdown menus. And I'm sure I'm going to find more in the AUT (just started working with it).
Done a little bit of research (search here and Google) and it looks like I'll have to either use MSAA directly (if QTP 11 can handle that) or write a DLL that uses it. Have to see if the client will give me access to their HP support account to search there as well.
Any ideas or pointers would be appreciated.
So what have you got, What is getting identified as? Custom methods can be used or not?
The objects are recognized as windows type (WinObject), and the name/native class (XTPToolBar, etc.). Trying to dig in further and get the methods and properties has been difficult, and I haven't been able to get further into them.
I'm trying to find some developer documentation so I can see what the method names might be so I can just try to override call via 'winobject("tagname").object.methodname etc.' but haven't found anything yet. The Xtreme Toolkit Pro site doesn't give access to the manuals online (unlike some other custom class libs).
That is about it, have not been able to get deeper into them. Just wanted to see if anyone else has dealt with them. If not then I'm going to be blazing the trail (why me, again... just my luck).
By any chance you are using UFT 11.5? UFT supports controls developed using MSAA and this control does support MSAA. I think you should explore this option for sure
I don't normally disagree with Tarun's advice but I would warn you to be very careful installing UFT 11.5. It has been very unstable for everyone I work with. Also, once it is installed, you cannot go back to 11.0. I've spent hours deleting registry entries and files with no success.
Try it out first on a machine you don't mind wiping.
We are on QTP 11.0 right now, soon to move to UFT 11.5. And I did read about the MSAA way of getting at it. I'm definitely going to check that one out. I was going to use that as a last resort if I cannot get at the native methods. Thanks.
Apologies for the late post on this, but I'm facing the same problem. My client uses a CodeJock XTPToolbar but UFT does not recognise any of the controls within it. It just comes back as just one large WinObject called 'The Ribbon'. It does not identify tabs within the ribbon or buttons within those tabs. I'm using UFT 11.50 Build 5439 and had hoped UFT's improved MSAA support would work out of the box.
UFT does recognise Word 2010 ribbon buttons, including a property called acc_name (MSAA I'm assuming).
The only article I've found which offers a work around is below (I need to work through it to understand and implement it).
Automating CommandBar - Codejock Developer Community
It would be good to know if you made any progress?