lucieneven
14 years agoContributor
object of PopupMenu doesn't exist during the play
Hello,
I have a quick question about popup menu which doesn't exist during the play. During the java webstart test, error throws when trying to executing the code:
Call panel.PopupMenu.MenuItem1.Click(31, 8)
As enclosed 2.png, missing object refers to PopupMenu.
As can be seen from 1.png and 3.png, i went to both NameMapping and Object Browser and verified that it's the truth that PopupMenu doesn't exist at all! That's weird,
I read through the help of "Handling the 'Object Does Not Exist' Error", i think most likely it's the problem of "The object has not been created by the time TestComplete tries to obtain it."
However, looking at "Possible Causes of the Problem", the Waiting
for Process or Window Activation doesn't help in this case.
Enclosed you'll see the 4.png, basically i don't understand why the popup menu appears during the test but PopupMenu can't be seen in the NameMapping and Object Browser.
In this case, could you please shed some light here what i can do? Before that, i did a try with Object Spy, as shown by 5.png, the hiarachy display correctly. So the problem for me is why PopupMenu doesn't exist during the test, neither NameMapping nor Object Browser, although it can be identified by Object Spy.
Thanks for your help, it's really a headache for me!
Lucien
I have a quick question about popup menu which doesn't exist during the play. During the java webstart test, error throws when trying to executing the code:
Call panel.PopupMenu.MenuItem1.Click(31, 8)
As enclosed 2.png, missing object refers to PopupMenu.
As can be seen from 1.png and 3.png, i went to both NameMapping and Object Browser and verified that it's the truth that PopupMenu doesn't exist at all! That's weird,
I read through the help of "Handling the 'Object Does Not Exist' Error", i think most likely it's the problem of "The object has not been created by the time TestComplete tries to obtain it."
However, looking at "Possible Causes of the Problem", the Waiting
for Process or Window Activation doesn't help in this case.
Enclosed you'll see the 4.png, basically i don't understand why the popup menu appears during the test but PopupMenu can't be seen in the NameMapping and Object Browser.
In this case, could you please shed some light here what i can do? Before that, i did a try with Object Spy, as shown by 5.png, the hiarachy display correctly. So the problem for me is why PopupMenu doesn't exist during the test, neither NameMapping nor Object Browser, although it can be identified by Object Spy.
Thanks for your help, it's really a headache for me!
Lucien