0% found this document useful (0 votes)
8 views3 pages

Daraz Bot

The document outlines various automation activities for tasks involving web and Excel operations, including sequences for logging in, managing Excel processes, and extracting data. Each activity is defined with a real-life scenario demonstrating its application, such as reading invoice data or searching for products online. Key activities include opening browsers, reading data from Excel, and simulating user interactions like typing and clicking.

Uploaded by

D.M.Kamrul Hasan
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
8 views3 pages

Daraz Bot

The document outlines various automation activities for tasks involving web and Excel operations, including sequences for logging in, managing Excel processes, and extracting data. Each activity is defined with a real-life scenario demonstrating its application, such as reading invoice data or searching for products online. Key activities include opening browsers, reading data from Excel, and simulating user interactions like typing and clicking.

Uploaded by

D.M.Kamrul Hasan
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 3

Daraz Bot

Untitled

1. Sequence
Definition: A Sequence organizes activities in a linear and logical order,
making it ideal for processes that follow a straightforward path.

Real-Life Scenario: You are automating the task of logging into an e-


commerce website. The Sequence will:

1. Open the browser.

2. Navigate to the website.

3. Enter login credentials in the fields.

4. Click the "Login" button.

2. Excel Process Scope


Definition: This activity ensures that all Excel-related actions, such as
reading or writing data, are properly managed within a defined scope.

Real-Life Scenario: Suppose you are tasked with processing a list of


invoices stored in an Excel file. The Excel Process Scope:

1. Opens the invoice file.

2. Reads the list of pending invoices.

3. Writes updates for paid invoices back to the file.

4. Ensures Excel closes after processing, avoiding file-locking issues.

3. Use Excel File


Definition: It provides a container for specifying which Excel file to interact
with during automation.

Real-Life Scenario: You need to prepare a monthly sales report. Use this
activity to:

1. Open the "Monthly_Sales.xlsx" file.

Daraz Bot 1
2. Extract sales data for each product.

3. Update the summary table with total sales in a specific sheet.

4. Read Range
Definition: Reads data from a specified range in an Excel sheet and
converts it into a DataTable for further processing.

Real-Life Scenario: Your manager asks for a list of products with stock
levels below 10. Use Read Range to:

1. Extract the data from the "Inventory.xlsx" file.

2. Load the "Products" sheet into a DataTable.

3. Filter rows where the "Stock Level" column value is less than 10.

5. Open Browser
Definition: Opens a web browser and navigates to a specified URL.

Real-Life Scenario: Automate the task of checking product availability on


Daraz. The Open Browser activity:

1. Launches the Chrome browser.

2. Navigates to "www.daraz.com".

3. Prepares for subsequent actions like searching for items.

6. For Each Row in DataTable


Definition: Iterates through the rows of a DataTable, allowing you to
process each row's data.

Real-Life Scenario: Your task is to search for products listed in an Excel file
on an e-commerce website:

1. Read the product names from the Excel file into a DataTable.

2. Use For Each Row to loop through each product name.

3. Search for the product on the website and perform specific actions for
each one.

7. Type Into

Daraz Bot 2
Definition: Simulates typing text into input fields, such as search boxes or
login forms.

Real-Life Scenario: Automate searching for a product on Daraz:

1. Navigate to the search bar.

2. Type the product name (e.g., "Samsung Galaxy S21") using dynamic
variables.

3. Include [k(enter)] to execute the search.

8. Click
Definition: Simulates clicking on interactive elements, such as buttons,
links, or checkboxes.

Real-Life Scenario: After typing the product name in the search bar:

1. Click the "Search" button on the webpage.

2. Click on the first product in the search results to view details.

9. Get Text
Definition: Extracts text from a specific UI element on a web page or
application.

Real-Life Scenario: Retrieve product prices from a search results page:

1. Identify the price element using selectors.

2. Extract the price of the product (e.g., "৳ 25,000").

3. Store it in a variable for later use.

10. Write Cell


Definition: Writes specific data into a cell in an Excel sheet.

Real-Life Scenario: After extracting the product price from the website:

1. Open the "Product_Price_List.xlsx" file.

2. Write the extracted price (e.g., "৳ 25,000") into the corresponding cell
in the "Price" column.

3. Save the file for record-keeping.

Daraz Bot 3

You might also like