Forum Discussion
Yes, "How can i indicate to use your stored "expected data" as the file to be used for the comparison".
This is the sceanrio:
I am working on an Inventory project, So First file i have kept in my local system as Actual Data. But Now My challenge is i will need to automate a scenario where i need go to the inventory UI and export a new report and this exported report will be downloaded in local system automatically. Now how can i compare files, First file which is already in my local system as "extected data" and the second file which is downloaded using export report functionality"(actual data).
It sounds like you haven't tried the File Checkpoint yet. When you add a File Checkpoint to your test, you are prompted to pick the two files to compare, wherever they are.
Try this and if it fails, show us screenshots of what happened.
- nav6 years agoOccasional Contributor
Thank you for replying Marsha, I have tried file check point operation. But the problem is everytime i run this scenario, The export functionality will download a new file. So each time i need to compare the baseline file with newly downloaded file. How can this be done? Thank you
- Marsha_R6 years agoChampion Level 3
You can rename the new file after it's downloaded and use a specific name every time, so even if it downloads as NewFile1, NewFile2, etc., you can rename it to NewFile and then that's what you pick in the File Comparison. It will just be an extra step in your test right after the download and before the comparison.
Related Content
Recent Discussions
- 11 hours agovladd1