You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
QAF with 4.0.0-RC3 and selenium 4.25.0 – while reading csv data StringUtil.parseCSV trims ‘00’ in the prefix, This issue does not occur with QAF 3.1.0.
#461
Open
3 of 4 tasks
Ajayfollows opened this issue
Dec 9, 2024
· 4 comments
While calling the CSVUtil.getCSVDataAsMap(), under this method StringUtil.parseCSV trims prefix zeros
StringUtil.parseCSV it trims the zeros’00’ in the prefix
Expected behavior
It should not trim prefix ‘00’ to item number
Actual behavior
It trims prefix ‘00’ while parsing CSV data
Is the issue reproducible on runner?
QAS
Maven
Gradle
[] Ant
Eclipse
The text was updated successfully, but these errors were encountered:
I see, the earlier implementation was having string values but the latest converts it in to object, probably that might be the reason. If you are trimming value inside the code you can add leading space as work-around, for example US, CYO, " 00038703641", ,
QAF Version
QAF with 4.0.0-RC3 and selenium 4.25.0
Steps To Reproduce
While calling the CSVUtil.getCSVDataAsMap(), under this method StringUtil.parseCSV trims prefix zeros
StringUtil.parseCSV it trims the zeros’00’ in the prefix
Expected behavior
It should not trim prefix ‘00’ to item number
![image](https://private-user-images.githubusercontent.com/25922448/393809434-7ab9da2b-9459-4376-a23b-1750c83a8672.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3Mzk1OTE2NTAsIm5iZiI6MTczOTU5MTM1MCwicGF0aCI6Ii8yNTkyMjQ0OC8zOTM4MDk0MzQtN2FiOWRhMmItOTQ1OS00Mzc2LWEyM2ItMTc1MGM4M2E4NjcyLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTAyMTUlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUwMjE1VDAzNDkxMFomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTg1NjliMzUxZjFiNjBhNDY2MjBhOGZlZDIxOTdjOWZjNDBjZjQ1MDIxMDYzMTVlOTdlNWVhM2RiZTdlZDg3ZTYmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0._6y3ZLSaYSJSvsSBc3We6w-zHcqSB-YR9G7GJWrNkPE)
Actual behavior
It trims prefix ‘00’ while parsing CSV data
![image](https://private-user-images.githubusercontent.com/25922448/393809555-b4fa2050-d2c4-47cf-8ca5-e64d8cd1e9f7.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3Mzk1OTE2NTAsIm5iZiI6MTczOTU5MTM1MCwicGF0aCI6Ii8yNTkyMjQ0OC8zOTM4MDk1NTUtYjRmYTIwNTAtZDJjNC00N2NmLThjYTUtZTY0ZDhjZDFlOWY3LnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTAyMTUlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUwMjE1VDAzNDkxMFomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTMwMjc4MTUyMzI0Njk0ZjA0OWFkZGRiMTRlODEwN2NmZTVlNzFiMGE4M2I1N2E3NGI1MTY5MTUyMThmZGJkY2UmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.2KYttCz_EzS-68yNdBVweZR8TF9OL-H3Qnet7eZOhmg)
Is the issue reproducible on runner?
The text was updated successfully, but these errors were encountered: