Step2: var theUrl = pxReqURI + "?pyActivity=Test-Class-Work.ActivityName&pzPrimaryPageName=Datapage";
var theResponse = httpRequestAsynch(theUrl,"",50,400);
Positive Scenario: Refreshsection happens first and the activity called. In this case, data entered in UI is updated in clipboard because of Refreshsection. When activity executed after that data is found in clipboard and processed correctly.
Failure Scenario: Activity called before refreshsection. Hence, data entered in UI is not available in clipboard which results in process fail.
Failure scenario happens rarely and not sure how this has to be handled. Pleas help