Forum Discussion
Thanks for your replies so far.
The mapping looks quite simple to me and, as far as I can make out, the static properties TestComplete is looking for, to identify the "msiexec" process, are more or less the same since the beginning.
Here is a screenshot of the object tree:
And here is a screenshot of NameMapping:
And a keyword test for installing:
Fred
You say "to identify the "msiexec" process, are more or less the same since the beginning." Which leads me to believe maybe something there is changing? In your object tree I also see more than one msiexec object. What does your mapping look like for that?
Also, where exactly is it failing? And what is the error message for the failure?
- Prodigio6 years agoOccasional Contributor
Thanks for your reply, cunderw.
I recreated the tests for the installer. So the properties of the msiexec process are the same since then. The second msiexec process somehow belongs to the first one. Don't ask me how, but it starts when I execute my installer. And there is no mapping for it, since all I need is on the msiexec process which is shown collapsed in the object tree screenshot.
If something is changing during rebuilding of the installer, I don't the it in TestComplete. Because I can highlight everything with TestComplete on the new builded installer, to me the mapping seems to be okay.
TestComplete is telling me that it cannot find the
Aliases.msiexec.wndMsiDialogCloseClass.btnWeiter
.Do you need any other screenshots to find the cause?
Fred
- cunderw6 years agoCommunity Hero
If you can highlight the objects after run time, but they are only not found while running your test, then as tristaanogre mentioned it's probably a timing thing and you will need to include one of the wait methods for your objects to exist and be visible.
- Prodigio6 years agoOccasional Contributor
Hey Carson,
sorry for the late response.
So by putting delays in between you mean the dealy like I used in the installer seen in my post above?
Or is there a delay option where TestComplete tries to find an object within a timespan of e.g. 15 seconds?
Thanks,
Fred
Related Content
- 4 years agoJackalNZZ