Export feature in my application
I have an export button in my application which when clicked presents user with 4 options:
1)export to Excel
2)export to csv
3)export to PDF
4)Export to RTF
When clicked on any one of them, it opens the appropriate file with all the data exported on the current screen .
My concern is how i can verify data present on the screen is correctly exported to these 4 files?
Also what declaration should I be doing to verify Excel or CSV or pdf file opens.
Re: Export feature in my application
CSV is comma separated values, means text file.
You can read Excel values by using VB Script. You can call VBScript file by any tool like Silktest, QTP & Winrunner. You can do google search for CreateObject("Excel.Application")
You can use converters to convert PDF & RTF files to text files and then you can verify with silktest.