Cleaning cookies

Document created by Dave Murphy Employee on Jul 20, 2017
Version 1Show Document
  • View in full screen mode

Cleaning the cookies is useful when for some reason in the middle of a test case this operation is needed. For example in one case, a user needed to be created before the main test case, to make sure that the cookies of the first part don't interfere with the main part, this javascript was be set after finishing the first part.

 

Here is the code that needs to be set in a javascript:

 

$context.currentClip.targets[0].cookies = null;

Attachments

    Outcomes