18 January 2026:
Sahi Pro is an enterprise grade test automation platform which can automate web, mobile, API, windows and java based applications and SAP.
This forum is now archived and is in read-only mode. Please continue discussions on our improved new Sahi Pro Community forum.
Sahi Pro is an enterprise grade test automation platform which can automate web, mobile, API, windows and java based applications and SAP.
Data driven testing using excel sheet
Hi,
I am new to sahi, I was trying data driven testing by reading it from Excel and am having a problem, when am trying to insert integers to a text field it is displaying the integer in decimals.
E.X: n exel sheet i have given 2345 but in text field it is displaying as 2345.0
plz reply asap.
I am new to sahi, I was trying data driven testing by reading it from Excel and am having a problem, when am trying to insert integers to a text field it is displaying the integer in decimals.
E.X: n exel sheet i have given 2345 but in text field it is displaying as 2345.0
plz reply asap.
This discussion has been closed.
Comments
For example instead of
2345
type
'2345
If in your script, you want to convert a string to number, you can use parseInt function.
Eg.
To get number 2345 from string "2345", use parseInt("2345")
Regards,
Narayan
the problem is solved by adding ( ' ) before the number