Professional Documents
Culture Documents
Foundation Training
String command
File and Folder command
Insert command
Windows Actions
Lab Exercises
• You can use this command to automate the process of reading data from various files and file formats. You can do the
following:
– Read comma or tab-delimited data from a CSV file.
– Read multiple lines in CSV or text files
• CSV
– Use this option to read data using Comma or Tab
delimiters from a CSV file.
– Always store CSV file name in external source and use
variables to provide the file path. This makes your task
more flexible in case of any change in file path.
– Always do a validation of the type of data stored in the
file.
• Text
– Using this command, read data using Newline, Comma,
Tab or Other delimiters from a Text file.
• Use this command to manipulate a text string or extract • Suppose we have following Text:
part of a string and store it in a variable. String operations – Rating is Good. Grade:C.#
are very useful when automating business processes. For
example, you might want to extract a portion of a text – Rating is Good. Grade:A.#
block from an email, a website, or an application window. – Rating is Good.Grade:F.#
• The String Operation command provides the following sub- – Rating is Bad.Grade:G.#
commands:
– Before/After
– Display Rating Message=Good/Bad
– Compare
– Display Grade. A,B using before and substring
– Find
– Display Complete Message without #.
– Join
– Just for Fun: Display rating in Reverse
– Length
– Display Length
– Lower Case
– Replace
– Reverse
– Split
– Sub-String
– Trim
– Upper Case
• Before/After Command
• Use this command to specify a range of text to extract,
using Before and After keywords.
• Example: In the text string, 'Name of Applicant James
Smith Applicant Location,' let's copy only 'James Smith'.
We specify Before = 'Applicant' with an Occurrence of 1.
We also specify After = 'Applicant' with an Occurrence of
1. This is the first occurrence after the Before keyword,
although it is the second occurrence from the beginning of
the string.
• Use the File and Folder commands to automate common operations that involve manipulating files and folders.
• The File and Folder commands provide an easy way to automate creating, opening, copying, moving, renaming, deleting, and
organizing files and folders.
• The File and Folder commands also offer advanced operations for working with files and folders based on their size and date
created or modified.
Transform patient Blood pressure data from one sheet to a report on another Excel sheet
• Read data from sheet “Blood Pressure Data”.
• Get the Date of Test.
• Get the Average for Systolic, Diastolic and Heart Rate.
• Set this data in the respective columns on ReportOfDay
Extract table from Yahoo site and store it into a csv file
• Open Yahoo Site https://in.finance.yahoo.com/actives?e=bo
• Extract firsts page table data.
• Provide the CSV file to which you want to export the data.
• Transfer top 10 rows from CSV file to an excel file.