- getting started
Introduction: Cloud
Frequently Asked Questions
Telemetry
Testsigma Terminology
Testsigma Sample Applications
Command Center
- collaboration
Invite Team Members
Assign Projects
Users & Role Management
Review Management [Test Cases]
Review Management [Elements]
Execution Controls
Features & Scenarios
Manage Test Cases
Test Case List Actions
Import Test Project Test Cases
Importing Postman Collections and Environments
Update Test Case Result in a Test Plan
Test Cases (Mobile Web App)
Custom Fields for Test Cases
Label Management
- Test Step Types
Type: Natural Language
Type: REST API
Type: Step Group
Type: For Loop
Type: While Loop
Type: Block
Type: If Condition
Nested Step Groups
Image Injection
Cross-application testing
- Test Data Types
Raw
Parameter
Runtime
Random
Data Generator
Phone Number
Mail Box
Environment
Concat Test Data
Create Test Data Profile
Update Test Data Profile
Updating Value in TDP
Import TDP
Bulk Deletion of a Test Data Profile
Create Test Data [Environment]
- data generators
Default Test Data Generators
Address Function Type
ChangeDataType Function Type
Company Function Type
DateFunctions Function Type
DomainFunctions Function Type
EmailFunctions Function Type
File Function Type
Friends Function Type
IdNumber Function Type
Internet Function Type
MailboxAliasFunctions Function Type
MailboxFunctions Function Type
Name Function Type
NameFunctions Function Type
Number Function Type
NumberFunctions Function Type
Phone Number Function Type
PhoneNumberFunctions Function Type
Random String Function Type
RandomText Function Type
StringFunctions Function Type
TestDataFromProfile Function Type
- Elements (Objects)
- Web Applications
Record Single Element
Record Multiple Elements
Create Elements
Supported Locator Types
Formulating Elements
Shadow DOM Elements
Verifying elements in Chrome DevTools
Handling iframe Elements?
Create Image Based Elements
Dynamic Locators using Parameter
Dynamic Locators using Runtime
Using Environment Test Data for Dynamic Locators
Locating Dynamic Elements in Date Widget
Freeze & Inspect Dynamic Elements (WebPage)
Locating Dynamic Elements in Tables
Import/Export Elements
AI Enabled Auto-Healing
Locator Precedence (Web Apps)
Verify Elements from Test Recorder
- test step recorder
Install Chrome Extension
Install Firefox Extension
Install Edge Extension
Exclude Attributes/Classes
- test plans
Add, Edit, Delete Test Machines
Add, Edit, Delete Test Suites
Schedule Test Plans
Run Test Suites In Parallel
Cross Browser Testing
Distributed Testing
Headless Testing
Test Lab Types
Disabling Test Cases in Test Plans
AfterTest Case
Post Plan Hook
AfterTest Suite
Email Configuration in Test Plan
Execute Partial Test Plans via API
- runs
Ad-hoc Run
Test Plan Executions
Dry Runs on Local Devices
Run Tests on Private Grid
Run Tests on Vendor Platforms
Run Test Plans on Local Devices
Test Locally Hosted Applications
Debug Test Case Failures
Parallel and Allowed queues
- live editor
Introduction: Testsigma Terminal
Installing Testsigma Terminal
Editing a Test Case Using Live Editor
FAQs on Testsigma Terminal
- Testsigma Agent
Pre-requisites
Setup: Windows, Mac, Linux
Setup: Android Local Devices
Setting up iOS Local Devices
Update Agent Manually
Update Drivers Manually
Delete Corrupted Agent
Delete Agents: Soft & Permanent
Triggering Tests on Local Devices
- troubleshooting
Agent - Startup and Registration Errors
Agent Logs
Upgrade Testsigma Agent Automatically
Specify Max Sessions for Agents
Testsigma Agent - FAQs
- continuous integration
Test Plan Details
REST API (Generic)
Jenkins
Azure DevOps
AWS DevOps
AWS Lambda
Circle CI
Bamboo CI
Travis CI
CodeShip CI
Shell Script(Generic)
Bitrise CI
GitHub CI/CD
Bitbucket CI/CD
GitLab CI/CD
Copado CI/CD
Gearset CI/CD
Codemagic CI/CD
- desired capabilities
Most Common Desired Capabilities
Browser Console Debug Logs
Geolocation Emulation
Bypass Unsafe Download Prompt
Geolocation for Chrome & Firefox
Custom User Profile in Chrome
Emulate Mobile Devices (Chrome)
Add Chrome Extension
Network Throttling
Network Logs
Biometric Authentication
Enable App Resigning in iOS
Enable Capturing Screenshots (Android & iOS)
Configure Android WebViews
Incognito/Private mode
Set Google Play Store Credentials
Basic Authentication [Safari]
- addons
What is an Addon?
Addons Community Marketplace
Install and Use Community Addons in Testsigma
Prerequisites for creating add-ons
Create an Addon
Update Addon
Addon Types
Create a Post Plan Hook add-on in Testsigma
Create OCR Text Extraction Addon
- configuration
API Keys
- Security(SSO)
Setting Up Google Single Sign-On(SSO) Login in Testsigma
Setting Up Okta Single Sign-On Integration with SAML Login in Testsigma
Setting up SAML-based SSO login for Testsigma in Azure
iOS Settings
Create WDA File
SMTP Configuration
Manage Access
- uploads
Upload Files
Upload Android and iOS Apps
How to generate mobile builds for Android/iOS applications?
- Testsigma REST APIs
Manage Environments
Elements
Test Plans
Upload Files
Get Project Wide Information
Upload & Update Test Data Profile
Fetch Test Results (All Levels)
Trigger Multiple Test Plans
Trigger Test Plans Remotely & Wait Until Completion
Run the Same Test Plan Multiple Times in Parallel
Schedule, Update & Delete a Test Plan Using API
Update Test Case Results Using API
Create and update values of Test Data Profile using REST API
Rerun Test Cases from Run Results using API
Salesforce Metadata Refresh Using API
- open source dev environment setup
macOS and IntelliJ Community Edition
macOS and IntelliJ Ultimate Edition
Windows and IntelliJ Ultimate Edition
Setup Dev Environment [Addons]
- NLPs
Retrieve Value in Text Element
Capture Dropdown Elements
Unable to Select Radiobutton
Unable to Click Checkbox
Clearing the Session or Cookies
UI Identifier NLP
Drag & Drop NLP
Uploading Files NLP
Use MySQL Addon in NLPs
- setup
Server Docker Deployment Errors
Secured Business Application Support
Troubleshooting Restricted Access to Testsigma
Why mobile device not displayed in Testsigma Mobile Test Recorder?
Unable to Create New Test Session
Agent Startup Failure Due to Used Ports
Tests Permanently Queued in Local Executions
Fix Testsigma Agent Registration Failures
Testsigma Agent Cleanup
Need of Apache Tomcat for Testsigma Agent
- web apps
URL not accessible
Test Queued for a Long Time
Issues with UI Identifiers
Missing Elements in Recorder
Collecting HAR File
Errors with Browser Session
Page Loading Issues
- mobile apps
Failed to Start Mobile Test Recorder
Troubleshooting “Failed to perform action Mobile Test Recorder” error
Why Test Execution State is Queued for a Long Time?
Why Mobile App Keeps Stopping After Successful Launch?
More pre-requisite settings
Why am I not able to start WDA Process on iPhone?
What are the Most Common causes for Click/Tap NLP Failure?
How to Find App Package & Activity in Android?
Cross-environment Compatible ID Locators (Android)
Why Accessibility IDs Over other Locators?
What are Common Android Issues & Proposed Solutions?
How to Find the App Bundle ID for iOS?
Developer Mode (iOS 16 & Above)
How to Handle iOS App Compatibility Issues?
How to Disable Play Protect for SMS Forwarder Installation?
How to Capture Network Logs in an Android Application?
- web apps
Why Install Chrome Extension?
Steps to Test Locally Hosted Apps
How to Turnoff Onboading Tutorial?
Non-Text Keys in Test Cases
Basic Authentication for Web
Why Bypass CAPTCHA?
Test Case Failures Due to Link Text Capture Issues
Why Is a Single Video for All Test Cases in a Test Plan Unavailable in Some Cases?
- accessibility testing
Accessibility Testing for Web Applications
Accessibility Testing for Android & iOS
- salesforce testing
Intro: Testsigma for Salesforce Testing
Creating a Connected App
Creating a Salesforce Project
Test Salesforce Connection Before Authorization
Creating Metadata Connections
Adding User Connections
Build Test Cases: Manual+Live
Salesforce Element Repositories
Intro: Testsigma Special NLPs
SOQL as Test Step
Query Builder for Salesforce Testing
Automating Listview Table NLPs
Error Handling On Metadata Refresh
Introduction: SAP Automation
Selective Element Recorder
Batch Element Recorder
Creating Test Cases for SAP Automation
List of Actions
- desktop automation
Introduction: Desktop Automation
Create Projects and Applications
Selective Element Recorder
Batch Element Recorder
Creating Test Cases for Desktop Automation
Intro: Windows Automation (Lite)
Windows (Lite) Project & Application
Element Learning with Test Recorder
Test Cases for Windows (Lite)
- GenAI Capabilities
Testsigma Copilot
Generate TDP Using Copilot
Generate Tests from User Actions
Generate Tests from Requirements (Jira)
Generate API Test Cases (Swagger)
Generate Tests from Figma Designs
Testsigma Copilot for Mobile Apps
Agentic Test Generation with GitHub
Intro: Windows Desktop Automation
Windows (Adv) Project & Application
Object Learning (Using UFT One)
Converting TSR Files to TSRx
Importing/Updating TSRx Files
Test Cases for Windows Automation
Error Handling Post TSRx File Update
- testsigma tunnel
Intro: Testsigma Tunnel
Components & Requirements
Setup and Installation: Mac
Setup and Installation: Windows
Setup and Installation: Linux
Setup and Installation: Docker
Using Testsigma Tunnel
- open source docs
Intro: Testsigma Community Edition
Testsigma Community Cloud
Testsigma Docker Setup
Reset Password
macOS and IntelliJ Community Edition
Pre-Requisites
- OS: macOS / Linux
- IDE: IntelliJ IDE Editor - Community Edition
Pre-Requisite Software and Service Installation
- Open JDK 11
- Apache httpd
- npm and nodejs (>= 12)
- mysql5.7
- angular CLI 12
Java JDK
-
Download the Java JDK 11 from the following link,
- Once it is installed, you can type the java -version in the terminal to confirm if the Java installation is successful.
-
Set env path in zshrc profile.
- Open the terminal and type vi ~/.zshrc
- Enter the below to set the path and save it.
- Export JAVA_HOME=/Library/Java/JavaVirtualMachines/jdk-11.0.2.jdk/Contents/Home
Node js
-
Down the node from the following link:
- Once it is installed, you can type node -v in the terminal to confirm if the node installation is successful.
Apache httpd
- Install apache httpd via Homebrew.
- Make sure Xcode is installed on your mac (install it via AppStore or https://developer.apple.com/downloads)
-
To Install brew, open your terminal and type in:
/usr/bin/ruby -e “$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)
-
Next, to install apache httpd, type in:
brew install httpd
-
To start the httpd service, type in:
sudo brew services start httpd
MySQL
- Install MySQL via Homebrew as well.
-
To install:
brew install mysql@5.7
-
After installation, set the path in the bash profile.
- In the terminal type, vi ~/.zshrc
- Paste export PATH="/opt/homebrew/opt/mysql@5.7/bin:$PATH"
-
Start the mysql server using:
brew services start mysql@5.7
-
The default username and password for the MySQL connection is “root”. You can connect to MySQL using:
mysql -u root -p
- A prompt to enter the password will be shown. You can type in “root” again.
Angular CLI
-
Install angular CLI using the following command from the terminal.
sudo npm install -g @angular/cli@12
-
Once the installation is complete, confirm the installation by checking the version using the below command:
ng --version
Setup
-
Download the source from GitHub: git clone https://github.com/Testsigmahq/testsigma and place it on your system. The downloaded source will have the below folders.
- agent
- agent-launcher
- automator
- deploy
- server
- ui
- Now, open IntelliJ IDE and create a new JAVA project.
- The next step is to import the automator, agent, agent launcher and server as individual modules in the project created.
-
How to import modules in IntelliJ IDE:
- Go to File → Project structure.
- In the Project structure window, you can see modules under the project settings section.
- Click on the modules tab and click the + icon and select import module.
- Now select each folder i.e. automator, agent, agent-launcher, and server, and import them.
- Select the option Import module from external module and then choose Maven and click on create.
-
Build each module using the command mentioned, in the following order:
- automator: mvn clean install
- agent: mvn clean install
- agent-launcher: mvn clean install
- server: mvn clean install
-
Building ui module:
- Open terminal
-
Go to the ui folder location in the terminal and give the below command:
npm install
-
Downloading required tools:
-
Create a folder testsigma_os in the home directory. This can be done by running the below command from the terminal:
mkdir $HOME/.testsigma_os
- Download the Android, Appium, JRE, and iOS tools from this URL and store them in the above folder created. Make sure you extract the zip and place the contents in the folder created.
-
For mac Os you need to give explicit permission to remove the quarantine attribute. You can do this by running,
sudo xattr -d -r com.apple.quarantine $HOME/.testsigma_os/
- Also, if you have already downloaded the Testsigma Agent, you can copy Android, Appium, drivers, and iOS and put the same on testsigma_os.
-
- HTTPD Config Changes:
- From the finder window on Mac, press command+shift+g and mention the path opt/homebrew/etc/httpd
-
Create a new file called testsigma-os.conf. Enter the below contents in it and save the file.
RewriteEngine On RewriteCond %{HTTP_HOST} "devos.testsigma.com" RewriteCond %{REQUEST_URI} "^/ui/" RewriteRule .* http://localhost:4202%{REQUEST_URI} [P] #ProxyPassReverse .* "http://devos.testsigma.com/ui" RewriteCond %{HTTP_HOST} "devos.testsigma.com RewriteCond %{REQUEST_URI} "^/assets/" RewriteRule .* http://localhost:4202%{REQUEST_URI} [P] #ProxyPassReverse .* "http://devos.testsigma.com/assets" RewriteCond %{HTTP_HOST} "devos.testsigma.com" RewriteRule .* http://localhost:9090%{REQUEST_URI} [P] #ProxyPassReverse .* "http://devos.testsigma.com/" RewriteCond %{HTTP_HOST} "devos.testsigma.com" RewriteCond %{REQUEST_URI} "^/ui" RewriteRule .* http://localhost:4202%{REQUEST_URI} [P] #ProxyPassReverse .* "http://devos.testsigma.com/ui"
-
Open “httpd.conf” present in the same path and add the below content at the bottom of the file and save it.
Include /opt/homebrew/etc/httpd/testsigma-os.conf
-
Restart the httpd services using the following command from the terminal.
brew services restart httpd
-
Setting up UI, Server, and Agent component as a service:
-
Setting up server component as a service:
- Go to Run → Edit Configurations.
- Select + Icon in the Run/Debug Configurations window.
- Select Application as the configuration type.
- Enter the name as server.
- Select Java 11 as the JDK version and testsigma-agent as the classpath.
- Enter com.testsigma.agent.TestsigmaWebApplication as the class to be compiled.
-
If the Environment Variables field is not visible, Click the Modify option and select Environment Variables
-
Enter the below values for Environment Variables.
TESTSIGMA_SERVER_URL=http://devos.testsigma.com;TS_DATA_DIR=/Users/{USERHOMEDIR}/Documents/server-os-data
-
TS_DATA_DIR is a temp folder to store data. so, you can create one and mention the path of the folder above.
NOTE:Replace {USERHOMEDIR} with your home directory name.
-
- Click Ok
- The server module is added as a service now.
- Reference:
-
Setting up agent component as a service:
- Go to Run → Edit Configurations.
- Select + Icon in the Run/Debug Configurations window.
- Select Sprint Boot as the configuration type.
- Enter the name as agent.
- Select Java 11 as the JDK version and testsigma-agent as the classpath
- Enter com.testsigma.agent.TestsigmaAgent as the class to be compiled.
-
Add VM options from Modify options if it's not visible and add the Virtual Machine agents in the below format.
-DTS_DATA_DIR="/Users/{USERHOMEDIR}/Library/Application Support/Testsigma/Agent" -DTS_ROOT_DIR="/Users/{USERHOMEDIR}/.testsigma_mac" -DCLOUD_URL="http://devos.testsigma.com/"
NOTE:Replace {USERHOMEDIR} with your home directory name
- Click Ok
- The agent module is added as a service now.
- Reference:
-
Start the services:
-
ui
- Open the terminal
-
Go to the ui folder location and give the below command:
npm start
- Server and agent can be started from the services tab in IntelliJ.
-
-
Map localhost to devos.testsigma.com:
- From the finder window on Mac, press command+shift+g and mention the path private/etc/hosts”
-
Open the host's file and add an entry as below:
127.0.0.1 devos.testsigma.com
- You can now access the server at https://devos.testsigma.com/ui/