This is a Web Automation script written in python with the help of Selenium. It is meant to extract data of 51 people from an excel sheet and fill the insurance form here.
-
Download and unzip Chrome Driver . You can download it here according to your version.
-
Download Selenium. here
-
Install openpyxl.
pip install openpyxl
-
In line number 210 of the code, you must give the path of your folder where you want to download the final recipts of each insurance form. By default the recipts will not get downloaded but you can choose to download them by uncommenting lines 268 and 275 of the code. (The recipts are only 300 KBs. Dont worry :-)
An example would be:"download.default_directory": "D:\Py Project\Output"
- The website might not get loaded properly when you execute the code first time and you may recieve a timeout error . Consider executing it once again to get the correct results
- For some of the test cases, the purchase won't be successful. You can then wait for a minute for the code to automatically go into next text case or you can close the browser window, then the next test case would automatically be implemented.
- All the data(names,addresses,numbers) used in the script is fake and the insurance site made by Solartis is only for project purposes and are not real.