I’m trying with a small automation project wherein i’m reading data from an image and writing it in an excel spreadsheet.
In the image there is a table with some data, I am trying to get the entire data from table into excel file.
For this i have created a string variable and loading the values of the scanned image in the variable.
(using the inbuilt OCR for scanning)
Then i’m writing the contents of this string variable in excel file.
While doing this i am getting the below error.
Caused by: org.openqa.selenium.WebDriverException: startup failed:
Script1.groovy: 5: expecting anything but ‘’\n’’; got it anyway @ line 5, column 28.
But when i write the data in notepad there is no issues.
Please let me know how to achieve this.