Buggy code:
csvFileToRead = data2 ; System . out . println ( ( "Data<seq2seq4repair_space>is<seq2seq4repair_space>" + ( data2 ) ) ) ; } else if ( browser . equals ( "mobileiPhone5S" ) ) { CharminLogin . driver = mobileiPhone5S ( ) ; csvFileToRead = data ; } else if ( browser . equals ( "mobileiPhone5" ) ) { CharminLogin . driver = mobileiPhone5 ( ) ; csvFileToRead = data ; } else if ( browser . equals ( "mobileiPhone5C" ) ) { CharminLogin . driver = mobileiPhone5C ( ) ; csvFileToRead = data ; } else if ( browser . equals ( "mobileHTCOneX" ) ) { CharminLogin . driver = mobileHTCOneX ( ) ; csvFileToRead = data ; } else if ( browser . equals ( "mobileiPhone4S" ) ) { CharminLogin . driver = mobileiPhone4S ( ) ; csvFileToRead = data ; } else if ( browser . equals ( "mobileHTCEveo3d" ) ) { CharminLogin . driver = mobileHTCEveo3d ( ) ; csvFileToRead = data ; } else if ( browser . equals ( "mobileGalaxyNote2" ) ) { CharminLogin . driver = mobileGalaxyNote2 ( ) ; csvFileToRead = data ; } else if ( browser . equals ( "mobileGalaxyNexus" ) ) { CharminLogin . driver = mobileGalaxyNexus ( ) ; csvFileToRead = data ; } else if ( browser . equals ( "mobileAtrixHD" ) ) { CharminLogin . driver = mobileAtrixHD ( ) ; csvFileToRead = data ; } else if ( browser . equals ( "safari" ) ) { CharminLogin . driver = browserSafari ( ) ; csvFileToRead = data2 ; } else if ( browser . equals ( "Chrome" ) ) { CharminLogin . driver = browserChrome ( ) ; csvFileToRead = data2 ; } else if ( browser . equals ( "browserIE11" ) ) { CharminLogin . driver = browserIE11 ( ) ; csvFileToRead = data2 ; } else if ( browser . equals ( "browserIE10" ) ) { CharminLogin . driver = browserIE10 ( ) ; csvFileToRead = data2 ; } else if ( browser . equals ( "iPad" ) ) { CharminLogin . driver = browserIpad ( ) ; } else if ( browser . equals ( "firefox" ) ) { CharminLogin . driver = browserFirefox ( ) ; csvFileToRead = data2 ; } else if ( browser . equals ( "Android" ) ) { CharminLogin . driver = browserAndroid ( ) ; } else if ( browser . equals ( "<seq2seq4repair_space>tabletIpadRetina" ) ) { CharminLogin . driver = tabletIpadRetina ( ) ; } else if ( browser . equals ( "tabletIpadAir" ) ) { CharminLogin . driver = tabletIpadAir ( ) ; } else if ( browser . equals ( "tabletIpad4thGen7" ) ) { CharminLogin . driver = tabletIpad4thGen7 ( ) ; } String name = ( ( ( ( ( ( "" + browser ) + "//" ) + browser ) + "_" ) + ( counter ) ) + "_" ) + "Successful-Completed-Capture.png" ; System . out . println ( ( "Let<seq2seq4repair_space>me<seq2seq4repair_space>see<seq2seq4repair_space>which<seq2seq4repair_space>one<seq2seq4repair_space>get<seq2seq4repair_space>tested<seq2seq4repair_space>" + browser ) ) ; System . out . println ( ( "Image<seq2seq4repair_space>Name<seq2seq4repair_space>" + name ) ) ; System . out . println ( ( "Let<seq2seq4repair_space>me<seq2seq4repair_space>run<seq2seq4repair_space>get<seq2seq4repair_space>driver<seq2seq4repair_space>" + ( CharminLogin . driver ) ) ) ; <START_BUG> fail = ( ( ( ( "" + browser ) + "//Failed//" ) + ( CharminLogin . timeStamp ) ) + "_" ) + "contact_us.png" ; <END_BUG> BufferedReader br = null ; String line = "" ; String ext = "png" ; File dir = new File ( "//users//agolubev1//Desktop//RondAndroid" ) ; int lineNumber = 0 ; br = new BufferedReader ( new FileReader ( csvFileToRead ) ) ; while ( ( line = br . readLine ( ) ) != null ) { System . out . println ( ( "The<seq2seq4repair_space>URL<seq2seq4repair_space>is<seq2seq4repair_space>" + ( counter ) ) ) ; String [ ] nextLine = line . split ( "," ) ; System . out . println ( nextLine [ lineNumber ] ) ; url = nextLine [ lineNumber ] ; CharminLogin . driver . manage ( ) . timeouts ( ) . implicitlyWait ( 450000 , TimeUnit . SECONDS ) ; System . out . println ( ( "The<seq2seq4repair_space>URL<seq2seq4repair_space>is<seq2seq4repair_space>" + ( url ) ) ) ; System . out . println ( ( "Image<seq2seq4repair_space>Name<seq2seq4repair_space>" + name ) ) ; CharminLogin . driver . get ( url ) ; CharminLogin . driver . manage ( ) . timeouts ( ) . implicitlyWait ( 450000 , TimeUnit . SECONDS ) ; CharminLogin . driver . manage ( ) . timeouts ( ) . implicitlyWait ( 20 , TimeUnit . SECONDS ) ; CharminLogin . driver . manage ( ) . timeouts ( ) . implicitlyWait ( 20 , TimeUnit . SECONDS ) ; CharminLogin . driver . manage ( ) . timeouts ( ) . implicitlyWait ( 20 , TimeUnit . SECONDS ) ; CharminLogin . driver . manage ( ) . timeouts ( ) . implicitlyWait ( 20 , TimeUnit . SECONDS ) ; CharminLogin . driver . manage ( ) . timeouts ( ) . implicitlyWait ( 20 , TimeUnit . SECONDS ) ; CharminLogin . driver . manage ( ) . timeouts ( ) . implicitlyWait ( 30 , TimeUnit . SECONDS ) ; CharminLogin . driver . findElement ( By . linkText ( "Login" ) ) . click ( ) ; name = ( ( ( ( ( ( "" + browser ) + "//portrait//" ) + browser ) + "_" ) + ( counter ) ) + "_" ) + "Successful-Completed-Capture-portrait.png" ; takeScreenPortrait ( name ) ; System . out . println ( ( "Image<seq2seq4repair_space>Name<seq2seq4repair_space>" + name ) ) ; name = ( ( ( ( ( ( "" + browser ) + "//landscape//" ) + browser ) + "_" ) + ( counter ) ) + "_" ) + "Successful-Completed-Capture-landscape.png" ; takeScreenLandscape ( name ) ; System . out . println ( ( "Image<seq2seq4repair_space>Name<seq2seq4repair_space>" + name ) ) ; takeScreenPortrait ( name ) ;

Fix:
fail = ( ( ( ( "//Error//" + browser ) + "//Failed//" ) + ( CharminLogin . timeStamp ) ) + "_" ) + "page_error.png" ;