This exception is thrown when the script attempts to access an object that does not exist. The object may not exist for a variety of reasons. The most common reason is that the object was incorrectly identified. In order to resolve this issue, navigate to the page that caused the error in the script recorder, click 'View' in the Menu and click 'Element HTML' menu item. A window like the following will appear. Hover the cursor over the element in question to determine alternative attributes to use to identify the element.
To determine which attributes are available for the element, refer to this
link.
To determine possible reasons refer to the following:
1. Cookies were not cleared before recording.
Cookies retain the state of the user for certain sites. For example, it may keep a user logged in during recording but on playback, the browser is no longer logged in.If this is the case, goto the 'Tools' menu and click 'Clear Cache' and re-record.
2. The page has changed since you recorded the transaction.
Occasionally, a page may display ads or another intermediate page. If this is the case, it is recommended that the script is recorded for a transaction that does not often change.If that is not possible, refer to the 'Help' documentation on how a script can be modified to be more resilient to change or contact our support team for further assistance.
3. The page is very dynamic and uses advanced javascript
When web sites use methods to enhance user experience such as AJAX or any type of javascript effect to modify the DOM, additional wait statements must be added in order for the script to know when to execute the next statement. If text is added to the page as a result of these effects, highlight the new text with the cursor and right click, then click 'add wait_until'.
4. An action in the script caused multiple steps to be recorded.
While recording, if multiple steps are created for one action, the javascript on the page may have caused another event to be recorded by the script recorder. If this is the case, removing the extra step may resolve your issue.
5. Your website has very dynamic content
If your site has content that is constantly changing, it may be difficult to create a reliable script for your site. Using the index attribute to identify an element may not work on playback. If this is the case, our Support Team would be happy to work with you and and create a script for your transaction.
This is the most common error when scripting. We strongly recommend reading the 'Tips and Tricks' and the 'Help' documentation in order to troubleshoot the problem.