Deprecated: Function create_function() is deprecated in /home/qualit96/public_html/wp-content/plugins/revslider/includes/framework/functions-wordpress.class.php on line 258

Warning: Cannot modify header information - headers already sent by (output started at /home/qualit96/public_html/wp-content/plugins/revslider/includes/framework/functions-wordpress.class.php:258) in /home/qualit96/public_html/wp-includes/rest-api/class-wp-rest-server.php on line 1372

Warning: Cannot modify header information - headers already sent by (output started at /home/qualit96/public_html/wp-content/plugins/revslider/includes/framework/functions-wordpress.class.php:258) in /home/qualit96/public_html/wp-includes/rest-api/class-wp-rest-server.php on line 1372

Warning: Cannot modify header information - headers already sent by (output started at /home/qualit96/public_html/wp-content/plugins/revslider/includes/framework/functions-wordpress.class.php:258) in /home/qualit96/public_html/wp-includes/rest-api/class-wp-rest-server.php on line 1372

Warning: Cannot modify header information - headers already sent by (output started at /home/qualit96/public_html/wp-content/plugins/revslider/includes/framework/functions-wordpress.class.php:258) in /home/qualit96/public_html/wp-includes/rest-api/class-wp-rest-server.php on line 1372

Warning: Cannot modify header information - headers already sent by (output started at /home/qualit96/public_html/wp-content/plugins/revslider/includes/framework/functions-wordpress.class.php:258) in /home/qualit96/public_html/wp-includes/rest-api/class-wp-rest-server.php on line 1372

Warning: Cannot modify header information - headers already sent by (output started at /home/qualit96/public_html/wp-content/plugins/revslider/includes/framework/functions-wordpress.class.php:258) in /home/qualit96/public_html/wp-includes/rest-api/class-wp-rest-server.php on line 1372

Warning: Cannot modify header information - headers already sent by (output started at /home/qualit96/public_html/wp-content/plugins/revslider/includes/framework/functions-wordpress.class.php:258) in /home/qualit96/public_html/wp-includes/rest-api/class-wp-rest-server.php on line 1372

Warning: Cannot modify header information - headers already sent by (output started at /home/qualit96/public_html/wp-content/plugins/revslider/includes/framework/functions-wordpress.class.php:258) in /home/qualit96/public_html/wp-includes/rest-api/class-wp-rest-server.php on line 1372
{"id":13881,"date":"2018-04-10T20:38:29","date_gmt":"2018-04-10T15:38:29","guid":{"rendered":"http:\/\/quality-spectrum.com\/?p=13881"},"modified":"2018-04-10T20:38:29","modified_gmt":"2018-04-10T15:38:29","slug":"debugging-sherlock-style","status":"publish","type":"post","link":"http:\/\/quality-spectrum.com\/debugging-sherlock-style\/","title":{"rendered":"Debugging Sherlock Style"},"content":{"rendered":"

Can we learn something for Sherlock on how to debug UI automation problems?<\/p>\n

There are commonalities between debugging and a crime scene<\/p>\n

Both have a couple of unknowns we have to find answers to<\/p>\n

With the exception of a murderer trying to clean his tracks..<\/p>\n

But debugging complex code bases can be somewhat similar too, in terms of the unknowns<\/p>\n

The first thing to learn is study data that is available instead of jumping directly into reproducing the problem<\/p>\n

Most often we don’t have enough data (or understanding) which is a situation we should not have in the first place<\/p>\n

By analyzing data we can arrive at a very precise reason why there is a failure<\/p>\n

Which, in turn, helps us solve the problem in the first or second debug attempt<\/p>\n

If not, then the good old ‘buck shot’ method hoping to luckily stumble over the problem is attempted (we are all very familiar with)<\/p>\n

For more lessons from Sherlock:<\/p>\n

\n
\n

Debugging the Sherlock Style<\/a><\/p>\n<\/blockquote>\n