Integrate App Percy using available SDKs
Integrate App Percy using BrowserStack or App Percy SDK as one-stop solution for all App Percy integration requirements.
You can integrate your tests using both Percy and BrowserStack SDK. To establish this integration, choose the appropriate SDK and refer to the following section accordingly:
BrowserStack now has a new SDK that simplifies the process of integrating with App Percy. As before, you can test your web or mobile application visually using App Percy. To integrate your visual and functional testing processes for your website, run your App Percy tests on BrowserStack’s App Automate. Or, if you are an existing Automate user and would like to try App Percy, you can do that too. The same SDK fulfils all needs.
With the BrowserStack SDK, you can take screenshots of your application:
- Automatically, by setting
percyCaptureMode
toauto
. - At specific points during a test, by calling the screenshot method. For example, you can call the
AppPercySDK.screenshot(driver, name)
method for testing your website. - At various predefined events, by using
auto
capture modes.
During the test, App Percy automatically captures relevant screenshots and adds them to the specified project. When you run your tests again, App Percy captures the same screenshots again and if it detects visual changes, it highlights those changes for your review. You can see the results in the App Percy dashboard.
Check out the video below to get an overview of App Percy using BrowserStack SDK:
To learn how to integrate your test suites using the BrowserStack SDK, visit App Automate.
High-level integration steps
- Create a test.
- Install the required BrowserStack SDK.
- Set
percy: true
in the configuration file. - Run the test.
End-to-end testing frameworks
- JestJS
- TestNG
- Nunit - C#
- Mocha JS
- WebdriverIO
- Cucumber-TestNG
- XUnit
- SpecFlow
- Java
- JUnit4
- JUnit5
- Robot Framework
- Pytest
If your framework is not currently supported, contact support.
Welcome to the guide on integrating your test suite with App Percy. Integrating your test suite with App Percy offers automation for consistent testing, early feedback, and code stability.
App Percy’s integration options cater to a wide range of testing needs, ensuring your projects maintain visual excellence and code integrity. This page presents a list of integration guides for all supported components, all of which App Percy supports. Our step-by-step guide walks you through the process of seamlessly integrating your test suite with Percy.
High level steps:
- Install Percy.
- Add snapshots.
- Configure CI.
App Percy SDK
- Appium Python
- Appium Java
- Appium JavaScript
- Appium C#
- Appium Ruby
- WebdriverIO for JavaScript
- Espresso
- XCUITest
Next step
After you’ve installed and configured an SDK, the next step is to add Percy to your CI workflow and pull requests.
We're sorry to hear that. Please share your feedback so we can do better
Contact our Support team for immediate help while we work on improving our docs.
We're continuously improving our docs. We'd love to know what you liked
We're sorry to hear that. Please share your feedback so we can do better
Contact our Support team for immediate help while we work on improving our docs.
We're continuously improving our docs. We'd love to know what you liked
Thank you for your valuable feedback!