Last updated on : 09 Jan 2026
Selenide
Overview
Selenide is a wrapper for Selenium WebDriver that streamlines the process of writing UI tests. It enhances your focus on business logic by automatically handling common browser, Ajax, and timeout issues.
Key Features:
- Concise API: jQuery-inspired syntax for intuitive test writing
- Automatic Handling: Built-in management of Ajax calls and timeouts
- Browser Management: Seamless browser lifecycle handling
- Failure Screenshots: Automatic capture of screenshots on test failures
- Extended Methods: Additional functionality for radiobuttons, selectboxes, screenshot capture, and browser cache management
- Mobile Support: Tests mobile apps on both iOS and Android platforms via Pcloudy
- Frees testers from persistent minor hurdles to concentrate on business logic
Prerequisites
Before setting up Selenide for mobile testing, ensure you have:
- Java and JDK - Latest versions installed on your system
- Environment Variables - Properly configured for Java and Gradle
- Gradle - Latest version installed
- Pcloudy Account - Active account with valid credentials
- API Access Key - Available in your account profile or Quick Actions tab
- Mobile App Upload - Your Android (.apk) or iOS (.ipa) application uploaded to Pcloudy via the web interface
Setup Instructions
1. Configure Test Environment
Edit the src/test/java/org/selenide/examples/pcloudy/pcloudyconnection.java file with your credentials. The sample below shows the basic structure—refer to the Capability Generator page for a complete customized configuration tailored to your needs:
Pcloudy_Username = "your-email@example.com"
Pcloudy_ApiKey = "your-api-access-key"
Configuration Parameters:
- Pcloudy_Username: Your registered email address
- Pcloudy_ApiKey: Your API access key (found in account profile or Quick Actions tab)
Running Tests
Execute Test Suite
Open the terminal in your project directory and execute:
./gradlew test --info
This command will launch the Selenide test suite on mobile devices in the Pcloudy cloud with detailed execution information.
Troubleshooting
Common Issues:
- Authentication failed - Verify your username and API key are correct in the connection file
- App not found - Ensure the app is uploaded and filename matches exactly in configuration
- Device not available - Check device name spelling or try a different device
Additional Resources
- Complete samples and documentation: Pcloudy GitHub Repository
- Support: support@pcloudy.com
Did this page help you?