Skip to main content

Posts

Showing posts from January, 2016

Code share - Test Run Summary Table with collapsible point of failure details

Video is here . Code is here: File: myscript1.js function repeatTest($scope) {   $scope.tests = [     {testName: "Test1", overallResult: "Pass", firstError: "-", lastError: "-"},     {testName: "Test2", overallResult: "Fail", firstError: "Page not found", lastError: "Page not found"},     {testName: "Test3", overallResult: "Fail", firstError: "Could not select value in combobox - EmpAgeRange", lastError: "Could not find editbox - EmpAddressLine2"}   ]; } File: index.html <!DOCTYPE html> <html>   <head>     <script src="http://code.angularjs.org/1.2.0-rc.2/angular.js"></script>     <link rel="stylesheet" href="style.css" />     <script src="myscript1.js"></script>   </head>   <body ng-app="">     <h1>Test Run Summary</h1&g