Run desktop application on a different machine
SOLVED- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Run desktop application on a different machine
Thank you in advance!
Solved! Go to Solution.
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I don't think that full remapping is a good choice. Usually in the log you can find name of object that was not found.
Find this object in NameMapping tree and try to understand what properties don't match. Then change their values to correct. You can use wildcards (? or *) to ignore part of the value.
Also TestComplete 12.10 has feature that helps to update bad mapped properties directly from log. See "Object recognition hint" warning.
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Do you have same configuration on your both the Machine-
Like -
1- TestComplete version.
2- Operating System
3- You Application Version (UAT)
4- If Web Application then Browser Version etc..
because we have running test on several machine and did not face any issue related to object (Platform should be same on all machine)
Re-map the objects - is not a very good idea all the time, if your objects (NameMapping) is very huge and running on deferent machines.
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I'm with @Bobik on this... something environmental is different on the second machine causing the object to not be found. NameMapping depends upon certain properties of objects in order to find them. So, if those properties are different on a different machine, then the object may not be found properly.
Additionally, the second machine MAY run things slower than the first... so, it might be that the second machine actually timed out looking for the object (10 seconds is the default usually) and so reported the object as not found. Double check time stamps on things to see if there is a possibility of a timeout.
Robert Martin
[Hall of Fame]
Please consider giving a Kudo if I write good stuff
----
Why automate? I do automated testing because there's only so much a human being can do and remain healthy. Sleep is a requirement. So, while people sleep, automation that I create does what I've described above in order to make sure that nothing gets past the final defense of the testing group.
I love good food, good books, good friends, and good fun.
Mysterious Gremlin Master
Vegas Thrill Rider
Extensions available
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thank you guys for the inputs!
The issue is now resolved.
The issue was that the application has the same configuration, but did not have the same window color, which cause all the objects' name changed.
After modified the windows color theme to classic, and reboot the machine, now TC was able to find the objects.
Thanks again!
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Glad to hear that it's been resolved! That's good news.
Just as a side note... it just feels like a rather strange design that the Windows theme actually alters the names of the components of the application. I know that applications do that... but it just feels weird. Just my $0.02
Robert Martin
[Hall of Fame]
Please consider giving a Kudo if I write good stuff
----
Why automate? I do automated testing because there's only so much a human being can do and remain healthy. Sleep is a requirement. So, while people sleep, automation that I create does what I've described above in order to make sure that nothing gets past the final defense of the testing group.
I love good food, good books, good friends, and good fun.
Mysterious Gremlin Master
Vegas Thrill Rider
Extensions available
