End Event in Ajax TruClient web protocol script
Question ID: 107770
2
0

What "End Event" options are available and what do they mean when used in step or transaction termination actions in an Ajax TruClient protocol script?

Marked as spam
Posted by (Questions: 144, Answers: 1)
Asked on July 26, 2017 6:28 pm
643 views
Answers (1)
1
Private answer

The ''End Event'' options and their meaning is as follows:

* Action Started - Dispatched when the action defined in the step is starting. For steps with objects (i.e. most steps) it will occur right after the object has been successfully found in the application.

* Action Completed - Dispatched when the action defined in the step is completed.

* Step network completed - Dispatched when the network activity associated with the step is completed. Ajax TruClient waits a small amount of time in order to make sure that no new requests are created after all other requests have ended. The threshold is configurable via the script Runtime Settings (default is 150ms).

* DOM Content Loaded - Corresponds to the ''domcontentloaded'' event and is dispatched when parsing of the page is completed. The event will be dispatched only if the step's action has triggered a page navigation.

* Document Loaded - Corresponds to the standard ''load'' event and is dispatched when the page is completely loaded, including frames/images/stylesheets. The event will be dispatched only if the step's action has triggered a page navigation.

* Dialog opened - A modal dialog has opened. The dialog can either be opened from JavaScript (using the alert/confirm/prompt functions) or is an authentication dialog.

Marked as spam
Posted by (Questions: 0, Answers: 152)
Answered on July 26, 2017 6:32 pm
EyeOnTesting

Welcome back to "EyeOnTesting" brought to you by Orasi Software, Inc.

X
Scroll to Top