Log to File Command in Automation Anywhere
Explanation of Log to File Command
➤ Logging detailed Task bot or meta bot logic information is an important aspect.
It helps in optimizing and debugging your automation task bot or meta bot logics.
➤ For this reason, Automation Anywhere provides Log to File command to create a log file
that is full of useful information about the events that occur as your task bot or meta bot logic runs.
➤ Log Files can be saved in the several file formats, including .csv and .txt files.
Encoding is provided for log files with options for ANSI, UNICODE and UTF-8.
★ This command helps to achieve the tasks by letting you:
➤ Verifying that a task bot or meta bot logic has run properly,
especially if the task bot or meta bot logic has more complex Conditional and looping commands.
✒ Create a new log file if one doesn't already exist.
✒ Specify a custom text to be included in the file.
✒ Add a timestamp to the file; and
✒ Use the file as a variable.
☝ First Use Case of Log to File Command
☛ The Sales Manager wants to extract sales order from 2014-2017
which have been given zero discount to decide the sales strategy for 2018.
➢ Solution
☛ Use the Log to File command to generate the excel file that will contain the sales order with zero discount.
➢ Process Step Flow
》Open Sales details excel file》Define condition to get 0 discount
》Store extracted details in a log file》Save task》Run task》Open output file.
➢ Benefits of using this command
☛ You can use this command to capture command button, dropdown, listbox,
text box,radio button, check box, status bar, tree view, tabs, menu items and table from windows application.
★ Note: When using this command, ensure the application to which you want to enter the information is opened prior to using the command.
Thank you for visiting this blog☕️
Note:- I will be updating this blog frequently.✍
“You yourself, as much as anybody in the entire universe, deserve your love and affection”
To Learn Mainframe Modules (Cobol, Jcl, VSAM, DB2, CICS): Click here
For Latest Job Updates: Click here
For Online Shopping: Click here
0 Comments