Expand | ||
---|---|---|
| ||
|
...
Expand | ||
---|---|---|
| ||
Object identification failure can be categorized in following cases:
Object identification failure may be due to network latency, page is heavy to load in the expected time or connectivity failure. This can be handled by synchronization time.
A tool may fail to identify an object when object identification is based on incorrect attributes. Selected attributes might not have a static value. At times, there are properties, which are supposed to be static but contain dynamic values. For example, id attribute is supposed to be static but there are frameworks that generate values of id attribute dynamically. In such cases, your id values are supposed to change every time you refresh a page. On the other hand, there can be situation where a window is identified by title. If title contains timestamp as part of the title, it is prone to change repeatedly after each login. In all such cases, it is advisable to look for other property that is static and uniquely points to the desired object. If there is none and you have to deal with dynamism of the attribute value, check whether the dynamic portion of attribute value is predictable or not. |
...