Selenium based automation on Oracle CPQ UI
Project description
Oracle CPQ UI Automation
Selenium based automation bot to do routine and time consuming tasks on Oracle CPQ Cloud application.
Pre-requisites
- Chrome Browser should be installed
- Supports Python >= 3.8
- CPQ account should have admin access with proxy login option
Installation
pip install py-oracle-cpq-ui-automation
Usage
Just type import oracle_cpq_ui_automation
in the module you want to use Oracle CPQ UI Automation.
Example
import oracle_cpq_ui_automation
#Initialise the automation class with SiteName, username, password
main = oracle_cpq_ui_automation("<cpqInstanceName>","<userName>","<password>")
#Launch the Chromedriver
main.launchChrome()
#Login into the CPQ Site
main.login()
Automation Functions
1) Partner Orgs: Create Groups
Navigate to Partner Orgs page and check if the given groups exists in the partner org, else it will create the group
Inputs:
- groupsToCreate = [ [<groupName | string>, <groupVarName | string>, <addAllUsersToGroup | boolean> ] ]
- exceptionListOfCompanies = []
- noOfPagesToSkip = -1
Code:
main.createGroupsinPartnerOrg(
[["<groupName>","<groupVar",True]], #groupsToCreate #2D Array of mixed datatype
[], #exceptionListOfCompanies = [] #Array of strings
-1 #noOfPagesToSkip = -1
)
Bot Features
- Automation Bot will automatically download the compatible chrome driver version based on your installed browser.
- Automations are UI-based so users can monitor, if any unexpected behaviour occurs then can close the automation to avoid problems.
Authors & Contributors
- Arun Kumar (arunkumar.js25@gmail.com)
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Close
Hashes for py-oracle-cpq-ui-automation-1.0.1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | b3c6781f676ac3762430aa3d0e5b97ae83399b83721d25a1c9f83c8bef1d212b |
|
MD5 | fb70b60c34bbad80753c008d3c401d5a |
|
BLAKE2b-256 | b7610c158f865dfa0e4d2e21ce1559982039a66ac7fc78d2084dceb37ca49626 |
Close
Hashes for py_oracle_cpq_ui_automation-1.0.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2890b40283b2770ec9883668b709590532536ec7b0536d6c60a02e3fba31007c |
|
MD5 | 89fce2bc869048df5d55c21b76e7b6df |
|
BLAKE2b-256 | e3b2416920db6d53a1662c0e65de0e5a21988408e87d8df39054e973dcdd0ebe |