CumulusCI | Python framework for building portable automation | Continous Integration library
kandi X-RAY | CumulusCI Summary
kandi X-RAY | CumulusCI Summary
Python framework for building portable automation for Salesforce projects
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
- Run the task
- Create a child element
- Find all matching elements
- Append a new child element
- Parse the SOAP response
- Returns the value of the element with the given tag name
- Return action name based on created and deleted
- Set the task s status
- Creates a KeywordFile for each page
- Generate test data
- Runs the task
- Runs the task
- Resolve the dependency
- Get a list of orgs
- Return the organization info
- Processes a zip file
- Show org info
- Load the config file
- Open a test browser
- Returns a function that will execute the task
- Configure data_gen_queue
- Submit a package in DevHub
- Performs the transformation of the entity
- Show information about a plan
- Get a callback for a service
- Run the task
CumulusCI Key Features
CumulusCI Examples and Code Snippets
Community Discussions
Trending Discussions on CumulusCI
QUESTION
Problem statement:
Unable to pass multiple variable values to my test case using CumulusCI command:
...ANSWER
Answered 2019-May-28 at 13:26Thanks a ton @Bryan for the direction. It was that moment when you get so awestruck by your own creation and forget to try out basic debugging in your framework.
Anyway, the issue here was the placement of resources as you rightly pointed out. Observe the before and after code pieces below. The issue (well at this point I cannot comment that its an issue or shortcoming) revolves around the placement of Salesforce.robot resource. For the Cci command to pass the right value of the 2nd variable, I had to place this resource in the test case itself. The Cci command did not pass the right value of the 2nd variable when I had this resource loaded via an environment file; weird.
QUESTION
I am working on a proof-of-concept at my organization to use robot framework along with seleniumlibrary and cumulusci for automating our salesforce based platform. Here is what i have setup so far:
I have added the cumulusci resource in my .robot project file such as this: import resource ${CURDIR}/cumulusci/robotframework/Salesforce.robot at Suite Setup level
I have also placed my .robot project file at this location: ${CURDIR}/cumulusci/tests/MyProjectFile.robot
- My ${CURDIR} as well cumulusci location is in the windows system PATH variable.
Note: At this moment, I am able to identify and click elements on Ui purely based on seleniumlibrary, however i also need to be able to leverage cci capabilities.
When I try to use:
...ANSWER
Answered 2019-Mar-04 at 09:47I believe, you are missing the import of the Salesforce
library,
QUESTION
Unable to understand how to leverage "Open Test Browser" which is a Cumulusci keyword when launching Salesforce url on Browserstack?
Project background: I am building an automation framework (for functional/regression tests) for a Salesforce product using Robot Framework, SeleniumLibrary and CumulusCI and need to scale up automation capabilities to execute same tests on multiple browsers/OS for which I am integrating it with BrowserStack.
Implementation level details: RFW and Cci is integrated correctly and works perfect on any scratch org locally in Chrome or FF. Here I can directly leverage the full power of Cci keywords such as "Open Test Browser" which knows the org details such as instance_url, username and password and has a access token. So logging into the Org is cakewalk. Here launching the SF url does not ask me for a email verification code.
...ANSWER
Answered 2019-Apr-17 at 15:10At the moment, the salesforce keyword Open test browser
doesn't support using the create webdriver
keyword. However, it's easy to duplicate what Open test browser
does. The key is to use a URL which contains the properly encoded credentials.
The keyword Login URL
from the CumulusCI library will return you an appropriate url. You can then use this url with any browser no matter how the browser was opened.
The following example will use a default browser on browserstack and then logs in to my default org. You can also pass an org into the Login URL
keyword if you wish.
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install CumulusCI
You can use CumulusCI like any standard Python library. You will need to make sure that you have a development environment consisting of a Python distribution including header files, a compiler, pip, and git installed. Make sure that your pip, setuptools, and wheel are up to date. When using pip it is generally recommended to install packages in a virtual environment to avoid changes to the system.
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page