If you run Google Chrome with these parameters:
--enable-logging --v=1 http://goo.gl/BL4bP
--user-data-dir http://goo.gl/BCkal
you get absolutely independent instance of Chrome logging a lot of interesting things and among them all calls from JavaScript to console.log, console.info, console.error functions.
What does it mean for Acceptance Testing? Simple! If you log from JavaScript you can test your Application through Google Chrome log.
Here is an example of how I am checking Google Chrome Log from PowerSlim http://goo.gl/NT7b2 Here is how it is filled from Java Script http://goo.gl/LLeV4 I am doing it from QUnit tests but it could easily have been done from the real App.
BTW PowerSlim is a nice PowerShell based SLIM server to Fitnesse Acceptance Testing Framework http://goo.gl/BmZ7E
--enable-logging --v=1 http://goo.gl/BL4bP
--user-data-dir http://goo.gl/BCkal
you get absolutely independent instance of Chrome logging a lot of interesting things and among them all calls from JavaScript to console.log, console.info, console.error functions.
What does it mean for Acceptance Testing? Simple! If you log from JavaScript you can test your Application through Google Chrome log.
Here is an example of how I am checking Google Chrome Log from PowerSlim http://goo.gl/NT7b2 Here is how it is filled from Java Script http://goo.gl/LLeV4 I am doing it from QUnit tests but it could easily have been done from the real App.
BTW PowerSlim is a nice PowerShell based SLIM server to Fitnesse Acceptance Testing Framework http://goo.gl/BmZ7E