I'm evaluating the product and testing a small sharepoint site with it.
Somehow, for some elements on the page they have different IDs on each run, although the page itself looks identical. Below if the path of the object and instead of * there are different numbers, from ALMOST each run to another. Not always though. I'll attach the screenshot of the page as well...
Here are some recommendations which can help you improve the reliability of your tests:
1. Recognition problems in Sharepoint applications are often caused by the fact that a problematic object is mapped by its className property, and the property value changes when the mouse pointer is placed over the control. In this case, there are two possible solutions:
- remove the className property from the scheme of the problematic Name Mapping item. In this case, the object's identification will not depend on its focused/not focused state. However, you should use this approach only when the remaining properties specified in the Name Mapping scheme identify the object in a reliable way;
- replace the variable part(s) of the problematic property value with the "*" wildcard.
2. If some other property used to identify a problematic object has a dynamically changing value, replace the variable part of the property with the "*" wildcard in your Name Mapping scheme (see the "Editing Name Mapping Items" help topic for more information).
3. Some recognition problems can also be caused by peculiarities of IE 8 - the browser creates an objects tree for a web page in two processes, but only a single process contains the actual objects (if you try to work with "fake" objects located in the other process, the test will fail). Please see our reply in the following SQAforums thread to learn how to avoid the problem: http://www.sqaforums.com/showflat.ph...;Number=568679