Forum Discussion

SmartBearRD's avatar
7 years ago

Keyword Validation ST5 errors, but DejaCapture screenshot shows that the keyword is present

There are a couple of possible reasons for this.

 

(1) One reason may be that when the recording was made, the keyword was selected to be searched for in a specific document. We have seen that on occasion a web site changes and the keyword still appears on the page; however, it is no longer in the original specified document. A methodology to avoid this is to have DejaClick search ALL DOCUMENTS rather than the selected document. The video below shows how to do this.

 

(2) Another possibility is that the page may on occasion be taking some time to render completely, and the keyword has not actually appeared yet in the browser when DejaClick has made the determination that the keyword cannot be found (and a Status 5 error is declared). By the time the DejaCapture is taken, the keyword has appeared. The approach in this case would be to first use the keyword as a “Continue Waiting” keyword and then also use the same keyword to generate an error if the keyword is not found. By using a “Continue Waiting” keyword, Deja will wait as long as it takes for the keyword to show up (up to the allotted time for the monitoring server to run a transaction). The Continue Waiting Keyword is a better technique than to use a pause interval for the event where the keyword shows up. Please note that one needs to be in Advanced Mode in the DejaClick sidebar for this function.

 

The following video is for illustrative purposes only (meaning the site does render quickly and the keyword is always found).

 

Continue Waiting Keyword Search in All Documents

https://vimeo.com/235069662

 

This article is the result of an actual Customer Care case.

 

 “We have received a keyword validation failed alert for our DejaClick monitor XYZ on 2017-09-04 04:59:45. The monitoring script is looking for a string “Blah Blah Blah”. Sometimes it takes 1-2 seconds to load and the app says “Getting Blah…”. How can we make the script wait up to 30 seconds before performing the validation?”

 

A Knowledge Base article was created for this:

 

https://na33.salesforce.com/articles/Technical_Article/I-See-Keyword-Validation-ST5-errors-yet-the-DejaCapture-screenshot-shows-that-the-keyword-is-present?popup=false&navBack=H4sIAAAAAAAAAIuuVipWslLyzssvz0lNSU_1yM9NVdJRygaKFSSmp4ZkluSA-KVAvn58aaZ-NkyhPpCDosu-ODWxKDnDVqk2FgDeHqwIVQAAAA

No RepliesBe the first to reply