Problems adding swftoolbar repository - 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: VB Scripting/Descriptive Programming (https://www.learnqtp.com/forums/Forum-VB-Scripting-Descriptive-Programming) +--- Thread: Problems adding swftoolbar repository (/Thread-Problems-adding-swftoolbar-repository) |
Problems adding swftoolbar repository - pruebastool - 07-27-2010 Hello! I have a problem saving a swftoolbar object in the repository. This swftoolbar is activated by a right button click, meanwhile i am recording de test QTP reconizes it, and save this line code: Code: "[i]SwfWindow("DialogoPrincipal").[color=#FF0000]SwfToolbar("MenuCtxGrupoEjesPlanta")[/color].Select "Nuevo..."[/i]" When I try to add it through the repository manager, when you click on it you can see the object name, so I suppose QTP can reach it, but when I press the Add button it does nothing. The spy object can acces to all its properties. I guess the problem is the when QTP tries to save the object it has dissapeard because it is a contextual menu, when the focus changes from my application to QTP it is destroyed. But I have no idea how to solve it. Thanks a lot! |