In this article, we are going to learn how we can automate filling the Google Forms using Uipath Studio. This project is a basic application of Robotic Process Automation (RPA). The user just needs to provide the Excel file that holds the data to be entered in the form and that’s it, rest of the work will be done by the bot that we are going to create using the steps mentioned below:
Note: The Excel file should store data as per the requirement of the Google Form.
Step 1: Create a new process in Uipath Studio by clicking on the Process Tab.
Step 2: Set the name of the process, give a brief description and click on Create. The Uipath studio will automatically load and add all the dependencies of the project.
The following screen will be opened.
Step 3: Now in the activities panel search for Sequence activity. Drag and drop it in the designer window.
Step 4: Now in the activities panel search for Select File activity. Add it to the sequence. This activity will open a select file dialog box for the user to select the file.
Step 5: Now click on the Variables tab to create a variable of string type that will store the path of the Excel file selected by the user. In the properties panel of Select File activity add the variable in the Output area to the Selected File field.
Step 6: In the activities panel search for Excel Application Scope activity. Add it to the sequence. This activity helps you access and manipulate Excel files.
Now pass the variable that stores the file path to this activity.
Step 7: Now in the activities panel search for Read Range activity. You will notice that there are two Read Range activities. Select the one under App Integration. Add it to the Do area of Excel application scope. Specify the SheetName and Range for reading the data.
Now in the Properties Panel of the Read Range activity, in the Output area, select the DataTable tab and press Ctrl+K. This will create a variable of the required type, in this case, DataTable type. Specify the name and press Enter.
Step 8: Now in the activities panel search for Open Browser activity and drag and drop it below Excel Application Scope. Now in the URL field pass the URL of the Google Form that you want to automate.
Step 9: Now search for For Each Row activity in the activities panel and add it to the Do of Open Browser activity.
Now in the Properties Panel of the For Each Row activity specify the DataTable variable created earlier in Read Range activity.
Step 10: Open the Google form in the Internet Explorer in the background. Now search for Type Into activity in the activity panel and add it to the Body of For Each Row activity. Now click on Indicate Screen and select the text field of the form where you want to enter the text. Provide the text in the given format.
Replace the column name with the column name in your Excel sheet.
Step 11: Repeat Step-10 for all the column headers in your Excel sheet.
Step 12: Now in the activities panel search Click activity and drop it below the last Type Into activity. Click on Indicate Screen and indicate the Submit button of the form.
Step 13: Fill the Google Form with random values once so that you are redirected to submit another response page. Now add another Click activity and indicate the submit another response button.
Step 14: Save the process using the Save button in the design panel and then click on Run. Your bot is ready for automating the Google Forms. The below video displays the working of Bot.
Attention reader! Don’t stop learning now. Get hold of all the important CS Theory concepts for SDE interviews with the CS Theory Course at a student-friendly price and become industry ready.
- Protecting Excel WorkBook using Automation Anywhere
- Applications of Augmented Reality in Retail Automation
- Markov Decision Process
- KDD Process in Data Mining
- Audio processing using Pydub and Google speechRecognition API
- CD-ROM Full Form
- How to use Google Colaboratory for Video Processing
- How to use Vision API from Google Cloud
- How to use Vision API from Google Cloud | Set-2
- Who Will Win The Quantum Supremacy Debate: Google or IBM?
- Getting started with the Google Coral USB accelerator
- Introduction to Google Cloud Platform
- Getting Started with Google Actions
- Cloud Storage in Google Cloud Platform (GCP)
- Google Cloud Platform - A High Level Overview of Anthos
- Google Cloud Platform - MemoryStore
- Google Cloud Platform - Filestore
- Google Cloud Platform - Cloud Storage
- Mitigation of SQL Injection Attack using Prepared Statements (Parameterized Queries)
- Introduction To Machine Learning using Python
If you like GeeksforGeeks and would like to contribute, you can also write an article using contribute.geeksforgeeks.org or mail your article to email@example.com. See your article appearing on the GeeksforGeeks main page and help other Geeks.
Please Improve this article if you find anything incorrect by clicking on the "Improve Article" button below.