HAR - Adding Descriptions
Please follow the below steps for adding step names/descriptions for each transaction in the HAR script
-
Open the recorded script and search for "Pages" entry in the script.
"pages": [{"startedDateTime": "2016-12-13T07:55:39.815Z","id": "page_1","title": "http://sahitest.com/demo/training/books.htm","pageTimings": {"onContentLoad": 859.9610000001121,"onLoad": 875.251000001299}},{"startedDateTime": "2016-12-13T07:56:42.819Z","id": "page_2",
"title": "http://sahitest.com/demo/training/login.htm","pageTimings": {"onContentLoad": 29.318000000785105,"onLoad": 27.689000000464148}}]
and replace the value for "title" with the desired name for ex:- here replacing with the step1,step2
"pages": [{"startedDateTime": "2016-12-13T07:55:39.815Z","id": "page_1","title": "step1","pageTimings": {"onContentLoad": 859.9610000001121,"onLoad": 875.251000001299}},{"startedDateTime": "2016-12-13T07:56:42.819Z","id": "page_2","title": "step2","pageTimings": {"onContentLoad": 29.318000000785105,
"onLoad": 27.689000000464148}}]
After making changes save the updated script.
Now we can go ahead and create a scenario under Appvance Scenario Builder by attaching the updated script and running it.
-
The added step name should be reflected in the Appvance IQ controller window when the script completes.
Before adding description:
After adding description:
