Currently I am working banking application. in Account list I have n number of accounts. Each account have three dot(…) if I click three dot i will able to see below options.
1.Download
2.Preview
3.Overview
I need to validate each action.
Example:-
Is Download is happening or not ?
When i click preview/overview are you able to see any documents or not? someone please help me how to validate those actions.
Note: I need to track those actions in the excel file (Pass/Fail)
Thank you.
Regardless of your specific use cases, a pattern to build can be something like this:
perform the action
use your regular automation tricks, like clicks, keyboard actions etc)
validate the result
Either look for an expected result in the screen after the action is done.Typical activities can be ‘check app state’ or 'element exists’etc.
Or, in case of a file download, after the download a file should be present somewhere. YOu can check with ‘file exists’ activities or expressions (file.exist(myExpectedFilePath) → true/false)
set your application in a state for the next action/check, again using regular gui steps as in the first step.
Use regular excel activities to log your results in any way you want.
If you need help on any of the specific activities, I recommend doing parts of the UiPath Academy training modules, they cover all of these basics. (gui, validation, excel etc)
Another, maybe more professional way of configuring this, is using the Test Automation activities. It basically follows the above pattern, but it makes your testcases managable from the orchestrator, and a we bit more reusable. Start simple, but keep the testing activities in mind.
Is Download is happening or not ?- Use wait for Download activity which will keep downloading till download completes, or else here to u can keep checking files in download folder ( count of files )
When i click preview/overview are you able to see any documents or not?-> You can use element exist activity
Based on the outcome u can mark it in excel …
Build data table and add data row as per each transaction