Testura /
Testura.Android
Testura.Android is a lightweight test automation framework for Android built in C#. It contains tools and help classes to test, validate and interact with your Android device or emulator.
70/100 healthLoading repository data…
StavLobel / repository
A lightweight automation framework built with C# and Playwright implementing Clean Architecture principles. Supports both UI and API testing with Page Object Model design, utility functions, and comprehensive HTML reporting.
A transparent discovery signal based on current public GitHub metadata.
This score does not audit code, security, maintainers, documentation quality, or suitability. Verify the repository and its current documentation before adoption.
A lightweight automation framework built with C# and Playwright that implements Clean Architecture principles. The framework supports both UI and API testing with Page Object Model (POM) design, utility functions, and comprehensive HTML reporting.
Before you begin, ensure you have the following installed:
dotnet --versionchoco install make) or use WSLsudo apt-get install build-essentialmacOS:
brew install dotnet@8
Windows: Download and install from https://dotnet.microsoft.com/download/dotnet/8.0
Linux:
wget https://dot.net/v1/dotnet-install.sh -O dotnet-install.sh
chmod +x dotnet-install.sh
./dotnet-install.sh --channel 8.0
# Clone the repository
git clone <repository-url>
cd PlaywrightAutomation
# Install dependencies and Playwright browsers
make install
# Build the project
make build
# Run all tests
make test
# Run UI tests only
make test-ui
# Run API tests only
make test-api
# Open HTML report
make report
PlaywrightAutomation/
├── Makefile # Build automation commands
├── README.md # This file
├── .gitignore # Git ignore rules
├── PlaywrightAutomation.sln # Solution file
├── PlaywrightAutomation.csproj # Project file
├── appsettings.json # Configuration
├── Pages/ # Page Object Model classes
│ ├── BasePage.cs
│ ├── WikipediaPlaywrightPage.cs
│ └── Components/
│ └── ThemePanel.cs
├── Tests/ # Test classes
│ ├── BaseTest.cs
│ ├── UI/ # UI tests
│ │ ├── DebuggingFeaturesTest.cs
│ │ ├── HyperlinkValidationTest.cs
│ │ └── DarkModeTest.cs
│ └── API/ # API tests
│ └── MediaWikiApiTest.cs
├── Models/ # Data models
│ ├── MediaWikiResponse.cs
│ ├── ParseResult.cs
│ └── TestConfig.cs
├── Utils/ # Utility classes
│ ├── TextNormalizer.cs
│ ├── ConfigManager.cs
│ ├── MediaWikiClient.cs
│ └── TestLogger.cs
└── Reports/ # Generated test reports
The framework uses appsettings.json for configuration. Copy the sample file and customize as needed:
cp appsettings.sample.json appsettings.json
{
"baseUrl": "https://en.wikipedia.org",
"browser": {
"browserType": "chromium", // chromium, firefox, or webkit
"headless": false, // true for headless mode
"timeout": 30000, // Element timeout in ms
"viewport": {
"width": 1920,
"height": 1080
}
},
"reporting": {
"outputPath": "./Reports",
"captureScreenshots": true,
"captureVideo": false
},
"mediaWiki": {
"apiEndpoint": "https://en.wikipedia.org/w/api.php",
"timeout": 10000
},
"logging": {
"logLevel": "Information",
"logFilePath": "./Reports/test-execution.log"
}
}
For detailed configuration options and examples, see CONFIGURATION.md.
| Command | Description |
|---|---|
make install | Restore NuGet packages and install Playwright browsers |
make build | Compile the project |
make test | Run all tests and generate HTML report |
make test-ui | Run UI tests only |
make test-api | Run API tests only |
make clean | Remove build artifacts and reports |
make report | Open the latest HTML report in browser |
The framework follows Clean Architecture principles with clear separation of concerns:
Extracts the "Debugging features" section from Wikipedia via both UI and API, normalizes the text, and compares unique word counts.
Validates that all technology names in the "Microsoft development tools" section are clickable hyperlinks.
Verifies that the dark theme can be activated and properly applied through the Wikipedia theme panel.
# Verify .NET installation
dotnet --version
# If not installed, download from:
# https://dotnet.microsoft.com/download/dotnet/8.0
Solution:
# Install browsers manually
pwsh bin/Debug/net8.0/playwright.ps1 install
# Or use the Makefile
make install
Common Issues:
General Debugging Steps:
# Clean and rebuild
make clean
make build
# Check configuration in appsettings.json
# Verify network connectivity to Wikipedia
Specific Issues:
Element Not Found Errors
appsettings.json (browser.timeout)API Test Failures
Text Comparison Mismatches
Theme/Dark Mode Test Failures
NuGet Package Restore Issues:
# Clear NuGet cache
dotnet nuget locals all --clear
# Restore packages
dotnet restore
# Rebuild
make build
Compilation Errors:
# Make scripts executable
chmod +x dotnet-install.sh
# Fix Playwright permissions
chmod +x bin/Debug/net8.0/playwright.ps1
HTML Report Not Generated:
Reports/ directory existsappsettings.json reporting.outputPath is correctCannot Open Report:
# Manually open report
open Reports/playwright-report/index.html # macOS
xdg-open Reports/playwright-report/index.html # Linux
start Reports/playwright-report/index.html # Windows
Tests Running Slowly:
appsettings.json.runsettings)High Memory Usage:
browserType is one of: chromium, firefox, webkitoutputPath (e.g., ./Reports)mediaWiki.apiEndpoint is set correctlyIf you encounter issues not covered here:
Reports/test-execution.logThis project is licensed under the MIT License.
Selected from shared topics, language and repository description—not editorial ratings.
Testura /
Testura.Android is a lightweight test automation framework for Android built in C#. It contains tools and help classes to test, validate and interact with your Android device or emulator.
70/100 healthLiggin2019 /
LightSAP is a .Net/c# based, lightweight universal web programming framework applying configuration, policy and original text programming technology. It can serve as the backend for enterprise MIS, RPA, host computer, and O&M automation systems, as well as suitable for C-end applications e.g. portal websites, blogs, online drives, e-commerce.
43/100 healthhypernova-developer /
ROUTE (Remote Operational Unified Target Executor) is a high-speed, lightweight remote command dispatch and network automation engine written in modern C++. Built for terminal performance, it orchestrates parallel execution pipelines across unified targets with strict error boundaries and microsecond-level telemetry reporting.
nazar650 /
FastKeySimulator is a lightweight C# library for simulating keyboard and mouse input using the Windows SendInput API. It enables easy automation of key presses, mouse clicks, scrolling, and cursor movement.
67/100 healthLanternBE /
A cross-platform C# software for hosting and managing Minecraft Bedrock Edition servers, designed to be lightweight, modular, and extensible. This software focuses on automation, plugin support, and easy deployment across different operating systems.
60/100 healthA lightweight C++ project that combines YOLO object detection with smooth mouse movement control. Built for simplicity, performance, and easy setup, it provides a modular foundation for real-time vision-based cursor automation with clear documentation and modern project structure.
70/100 health