09-30-2013, 11:45 PM
Hi,
I am automating a POS - application. After completing a transaction i get a receipt file in DB. The file when opened contains a lot of junk characters(Includes text,number,special characters). It also contains ASCII control values like SOH,STX,ETX. These lines are only readable when opened in notepad++ . In notepad or wordpad it looks like a junk character.
I need to extract values that match to fees, cash, total so that i can validate it with actuals. I'm facing issue with extracting these value. I need to remove the ASCII value to make the file in a readable format.
I am using QTP for automation. Help me out in this regard.
I am automating a POS - application. After completing a transaction i get a receipt file in DB. The file when opened contains a lot of junk characters(Includes text,number,special characters). It also contains ASCII control values like SOH,STX,ETX. These lines are only readable when opened in notepad++ . In notepad or wordpad it looks like a junk character.
I need to extract values that match to fees, cash, total so that i can validate it with actuals. I'm facing issue with extracting these value. I need to remove the ASCII value to make the file in a readable format.
I am using QTP for automation. Help me out in this regard.