vendredi 22 juillet 2016

How can I read scriptduration from the below scope variable?

{ "errorMessage": "", "instructionIdWithInScript": 1, "screenShotFilePath": "/204/1574/screenshots/112186/1.jpg", "scriptDuration": "00:01:45", "automationDriverName": "Selenium-WebDriver", "screenShotFileSize": "277.830078125", "screenShotStatus": 28304, "value": "", "command": "open", "scenarioOrder": 1, "instructionResult": "Pass", "scenarioResult": "Pass", "scriptName": "01_copy of SearchBookProduct_WIP", "scriptOrder": 1, "scriptResult": "Pass", "scriptRowCount": 0, "scenarioDuration": "00:09:29", "scriptDisplayOrder": 1, "scenarioName": "Amazon", "dataFileName": null, "target": "http://www.amazon.com/http://www.amazon.com/http://www.amazon.com/http://ww…zon.com/http://www.amazon.com/http://www.amazon.com/http://www.amazon.com/", "globalInstructionSequesnce": 1, "scriptIterationOrder": 0, "instructionDuration": "00:00:15", "dataFilterDesc": null, "selected": false, "downloadSelect": false } I am getting below error when I write $scope.metaInfo.scriptDuration. cannot read property "scriptDuration" undefined. I edited my question with correct info..

Aucun commentaire:

Enregistrer un commentaire