Verifications in AJAX Click & Script

  • Questions
  • Verifications in AJAX Click & Script
Question ID: 105105
1
0

I need to add script verifications to my AJAX Click&Script scripts like when I use web_reg_find in the HTTP protocol. How is this done. Please provide an example.

Marked as spam
Posted by (Questions: 23, Answers: 4)
Asked on August 14, 2013 8:14 pm
5 views
Answers (1)
1
Private answer

This is the verification that is used instead of web_reg_find.Notice the third argument.This tells the web_browser function That the action to be performed is a web check or verification. The fourth argument to the function call contains the text to beverified. In this case, verify that AutoComple Demonstration wasfound on the page from above. If the function was successful,you should see ''web_browser(''Verification'') was successful'' in the log

Place this code after the step that load the page...

web_browser(''Verification'',
''Snapshot=t2.inf'',
VERIFICATION,
''ContainsText=Any text on that page'',
LAST);

Note that the verification function supports the following additional arguments ''BrowserTile='', ''ContainsText='', ''DoesNotContainText''' and ''NotFound=''

Marked as spam
Posted by (Questions: 12, Answers: 361)
Answered on August 14, 2013 8:29 pm