This script is configured to run on ICICI Bank CIB website.
Please note that this may not properly working in future if XPath or CSS selector gets changed.
Using this python application you can test any number of prompts using a csv file as input. A reverse file will be generated will corresponding responses (single / multiple) mapped along the same records.
Session timeout is extended by random auto clicks
List of software and packages required to install and run the project.
- Python 3.x
- Selenium WebDriver
- Chrome Browser
- Chromedriver Binary
- Anaconda - optional
- Install anaconda
- Replicate the environment using
/environment.yml
file - Clone the repository
- Input all the prompts to be tested in
/Prompts.csv
file underPrompts
header - Run the script from
/app.py
- Output will be available in the
/Response_timestamp.csv
file
Logs_status = True / False
: To enable / disable data logging the results in between to avoid loss of dataLIMIT = 20
: This defines the number of prompts after which some random activity will be done to keep the session active
Athul Jyothis - @jyothisable
This project is licensed under the MIT License - see the LICENSE.md file for details.
This was a late night one day project I did for testing couple of (I mean a huge list of) prompts I wanted to test and see if AI powered chatbot in the internet banking website is working properly or not.
Please note that this may not properly working in future if XPath or CSS selector gets changed in the website, but logic should work.
Feel free to fork and reach out for support if needed.