Thread.sleep(1000);
WebElement NetReceivable=wait.until(ExpectedConditions.presenceOfElementLocated(By.xpath("html/body/form/table[2]/tbody/tr[2]/td/table[2]/tbody/tr/td/table/tbody/tr[19]/td[2]")));
String NetReceivableamt=NetReceivable.getText();
System.out.println("NetReceivable amount::"+NetReceivableamt); //working fine till here
Double NetReceivableamtint = Double.parseDouble(NetReceivableamt);
System.out.println("NetReceivableamtint::"+NetReceivableamtint);
** below error getting while parsing it to double**
java.lang.NumberFormatException: For input string: "196,003.20"
at sun.misc.FloatingDecimal.readJavaFormatString(Unknown Source)
at sun.misc.FloatingDecimal.parseDouble(Unknown Source)
at java.lang.Double.parseDouble(Unknown Source)
at com.Test.Loan_Termination.Loan_Processing(Loan_Termination.java:431)
at com.Test.App.main(App.java:96)