Posts

Showing posts with the label #Fun

How developers fix their bug -- funny forwarded email.

Image
Forwarding one funny email from yahoo group ~ enjoy testing - Nimesh ########################################################## #include <stdio.h> #define LAST 10 int main() { int i, sum = 0; for ( i = 1; i < = LAST; i++ ) { sum += i; } /*-for-*/ printf("sum = %d\n", sum); return 0; } ########################################################## And the developer fixes it this way ########################################################## #include stdio.h; #define LAST 10 int main() { int i, sum = 0; /* */ for ( i = 1; i < = LAST; i++ ) { sum += i; } /*-for-*/ printf("sum = %d\n", sum); return 0; } ##########################################################

Automate QA Feeds task [continuous to last post]

Image
Continuous post of CSV\XML\RSS Feeds are QAed To validate Feed URL(s) are not broken ; we can use XML DOM. Below is script that validates broken link. To validate ASCII Character , I have used below script. You can create excel custom tool where you centralize all feeds , verifies broken resources before creating actual feed.