07-27-2010, 06:25 PM
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:
Despite of this, the object is not recorded in the repository, so when the test is run an error is displayed because the object is not found in the repository.
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!
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!