Contributions
Re: "The object does not exist" even though mapping seems right
Hey tristaanogre, I've tried your suggestion, but it doesn't seem to help. Overall it just feels so random if a test passes or fails. It is also not just limited to the installer I'm trying to test, but also the software itself, that is installed with the installer. I also unchecked the "Extended find" box: no effect. Is there any cache TestComplete is creating in the background which I could delete, maybe that has some impact? Or does the "Store Object" function does has an impact on my tests? Updating TestComplete to the newest version (12.60)? It is really frustrating... Anyway, thanks so far! Fred586Views0likes1CommentRe: "The object does not exist" even though mapping seems right
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, Fred1.9KViews0likes0CommentsRe: "The object does not exist" even though mapping seems right
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? Fred2KViews0likes6CommentsRe: "The object does not exist" even though mapping seems right
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: Fred2KViews0likes8Comments"The object does not exist" even though mapping seems right
Hello, I guess this error message have been discussed thousands of times already, but none of the other threads were helping me. I'm creating a installer using Visual Studio and WiX. Testing is performed with TestComplete 12.30.1651.7 on Windows 7. I've recorded the test several times, did it from scratch again. But it feels like every new build of the installer causes the tests to fail. And I've just talked about the local testing. Doing it on VMs with the help of Jenkins isn't successful either. I can see the the installer process in NameMapping on Mapped Objects and Aliases, but havn't touched Aliases just to be sure. I can even highlight the installer with left click, even though the test failed beforehand. So TestCompelte sees it, but during a test run it doesn't. I've added delays of 10 secons, but even that isn't saving the test from failing. Could it be that creating a new build of the installer and other related software causes some mismatch between the name mapping? And if yes, how to fix it? I'm a bit tired of testing my UI, it isn't reliable at all. Kind regards Fred2.3KViews0likes11CommentsRe: how to get ipaddress using jscript in testcomplete?
I've tried the solution above, but couldn't get it working. I'm getting the "JavaScript runtime error" with "Invalid number of parameters". Unfortunately I'm totally new to JavaScript, so I don't know how to fix that. I also found other ways of how one could get the IP Address of the machine, where TestComplete is running on, but they felt way more difficult than this one. I'd appreciate any help on this!1.6KViews0likes0Comments