Micro Focus QTP (UFT) Forums
Create Custom Object - Printable Version

+- Micro Focus QTP (UFT) Forums (https://www.learnqtp.com/forums)
+-- Forum: Micro Focus UFT (earlier known as QTP) (https://www.learnqtp.com/forums/Forum-Micro-Focus-UFT-earlier-known-as-QTP)
+--- Forum: UFT / QTP Beginners (https://www.learnqtp.com/forums/Forum-UFT-QTP-Beginners)
+--- Thread: Create Custom Object (/Thread-Create-Custom-Object)



Create Custom Object - RobinDesHautbois - 09-24-2011

I'm trying to create a custom object because the web page is now using dojo 1.6 and tons of dijit widgets, which are not supported by the current dojo plugin.

I have successfully tweaked an existing test object, but I need to create a new one. I have added my stuff to Extensibility\Web\DojoTestObjects.xml and Extensibility\Web\Toolkits\Dojo\Dojo.xml as well as the corresponding *.js file in the location following the model of existing (and working) test objects.

I can see my object in Tools>Object Identification.... but the Spy does not identify it. Essentially, the Spy finds a WebTable, when it should find my DojoSelect.

Any advice?


RE: Create Custom Object - guin.anirban - 09-27-2011

Hi Robin,

Can you please tell me the procedure of creating customized object as i also need to develop the same.

Thanks in advance.


RE: Create Custom Object - RobinDesHautbois - 09-27-2011

This is kind of my current problem, actually. I just followed the model provided by the Dojo module of the Web plugin: 2 XML files and as many JavaScript files as necessary.

Take a look in:
C:\Program Files\HP\QuickTest Professional\dat\Extensibility\Web
and
C:\Program Files\HP\QuickTest Professional\dat\Extensibility\Web\Toolkits\Dojo


RE: Create Custom Object - guin.anirban - 09-27-2011

Ok. Thanks for your comment.
Anyway i also faced the same issue for handling the custom control objects but didn't get any solution. Then contacted with HP.
HP PSO team will do the favor but needs to be paid for that.