- collaboration
- Invite Team Members
- Assign Projects
- Users & Role Management
- Review Management [Test Cases]
- Review Management [Elements]
- Execution Controls
- test cases
- Test Cases
- Test Case List Actions
- Import and Export Test Cases
- Import Test Project Test Cases
- Importing Postman Collections and Environments
- Test cases for Desktop Windows
- Update Test Case result in a Test Plan
- Test cases for Mobile Web Application
- 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
- Create Test Steps
- Create Test Steps Using Simple English
- Test Step Settings
- Test Step Options
- Reuse Elements
- Test Step Reordering
- Bulk Actions
- Add Steps Before & After
- Web Applications
- Test Step Actions
- Test Step Settings
- Test Data in Steps
- Add Steps Manually
- Reuse Elements
- Update Elements
- Create an Element
- Reorder Test Steps
- Bulk Actions
- Add Steps Before & After
- Record steps anywhere in a Test Case
- 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 [Parameter]
- Update Test Data Profile
- Updating Value in TDP
- Import TDP
- Bulk Deletion of a Test Data Profile
- Create Test Data [Environment]
- Elements (Objects)
- Web Applications
- Record Multiple Elements
- Record Single Element
- Create Elements
- Supported Locator Types
- Formulating Elements
- Shadow DOM Elements
- Verifying elements in Chrome DevTools
- Handling iframe Elements?
- Dynamic Locators using Parameter
- Dynamic Locators using Runtime
- Using Environment Test Data for Dynamic locators
- Import/Export Elements
- AI Enabled Auto-Healing
- 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
- Ad-hoc Run
- Test Plan Executions
- Dry Runs on Local Devices
- Run Tests on Vendor Platforms
- Run Test Plans on Local Devices
- Test Locally Hosted Applications
- Debug Test Case Failures
- Parallel and Allowed queues
- debugging
- Debug results on local devices (Web applications)
- Debug Results on Local Devices
- Launch Debugger in the Same Window
- 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
- Triggering Tests on Local Devices
- troubleshooting
- Agent - Startup and Registration Errors
- Fetching Agent logs
- Upgrade Testsigma Agent Automatically
- 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 CICD
- Bitbucket CICD
- GitLab 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
- addons
- What is an Addon?
- Addons Community Marketplace
- Install Community Addon
- Prerequisites(Create/Update Addon)
- 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
- Creating WDA File for iOS App Testing
- uploads
- Upload Files
- Upload Android and iOS Apps
- How to generate mobile builds for Android/iOS applications?
- Testsigma REST APIs
- Environments
- Elements
- Test Plans
- Upload Files
- Get Project wide information
- Upload and update test data profile
- Trigger Multiple Test Plans
- Trigger Test Plan remotely and wait until Completion
- Run the same Test Plan multiple times in Parallel
- Schedule, Update and 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
- 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
- Unable to retrieve value stored in text element
- Unable to capture dropdown element
- Unable to Select Radiobutton
- Unable to Click Checkbox
- 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 due to unexpected error
- web apps
- URL not accessible
- Test Queued for a Long Time
- Issues with UI Identifiers
- Missing Elements in the Recorder
- mobile apps
- Failed to Start Mobile Test Recorder
- Troubleshooting “Failed to perform action Mobile Test Recorder” error
- Test Execution State is Queued for a Long Time
- Mobile app keeps stopping after successful launch
- More pre-requisite settings
- Unable to start WDA Process on iPhone
- Most Common causes for Click/Tap NLP failure
- on premise setup
- On-Premise Setup Prerequisites
- On-Premise Setup with Docker-compose File
- Post-Installation Checklist for On-Premise Setup
- Install Docker on an Unix OS in Azure Infrastructure
- SMTP Configuration in Testsigma
- Configure Custom Domains
- salesforce testing
- Intro: Testsigma for Salesforce Testing
- Creating a Connected App
- Creating a Salesforce Project
- Creating Metadata Connections
- Adding User Connections
- Build Test Cases: Manual+Live
- Salesforce Element Repositories
- Intro: Testsigma Special NLPs
Windows and IntelliJ Ultimate Edition
Pre-Requisite:
- OS: Microsoft Windows
- IDE: Intellij IDE Editor - Ultimate Edition
Pre-Requisite Software and Service Installation
OPEN JDK 11 or greater
Open JDK 11 can be installed from Oracle. Please make sure JDK 11 or above is taken into consideration as there are a few unsupported libraries below JDK 11 while setting up the dev environment.
APACHE HTTPD
You can install the HTTPd service from this link - https://www.apachelounge.com/download/ and once you have unzipped it, you can navigate to Apache 24 > bin and see the httpd.exe file.
Since we need to install HTTPd as a service, we need to open the command prompt and navigate to the bin folder inside Apache 24 folder and run this command httpd -k install, this will run the httpd server as a service.
NPM and NODE JS (>= 12)
To publish and install packages to and from the public npm registry or a private npm registry, you must install Node.js and the npm command line interface using either a Node version manager or a Node installer.
You can install the same from this link - Downloading and installing Node.js and npm | npm Docs
MYSQL 5.7
You can set up download MySQL from this link - MySQL :: Download MySQL Community Server (Archived Versions) and set up by following this document - MySQL 5.7: Installation Instructions (Windows) - GROK Knowledge Base
Setup Steps
-
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, server, and ui 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, server, ui, and import them.
- While importing modules (Automator, agent, agent-launcher, server), select the option Import module from external module and then choose Maven and click on Create.
-
Only while importing ui as a module, choose the option Create module from existing sources and click on Next.
- The framework will be detected as angular
- 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
- ui: npm install
Downloading Required Tools
- Create a folder with the name testsigma_os.
- Download the ANDROID, APPIUM, DRIVERS, 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.
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 file changes
-
Once the httpd service is installed, we need to navigate to Apache 24 > conf > httpd.conf and change the below details:
Change the text from "Listen 8080" to "Listen 80" uncomment the line "LoadModule proxyajpmodule lib/httpd/modules/modproxyajp.so" uncomment the line "LoadModule rewritemodule lib/httpd/modules/modrewrite.so" uncomment the line "LoadModule proxymodule lib/httpd/modules/modproxy.so" uncomment the line with "LoadModule proxyhttpmodule lib/httpd/modules/modproxyhttp.so"
-
Once these changes are done create a new file in the conf folder with the name testsigma.conf and add below details:
RewriteEngine On RewriteCond %{HTTP_HOST} "devos.testsigma.com" RewriteCond %{REQUEST_URI} "^/$" #RewriteRule .* http://localhost:4202%{REQUEST_URI} [P] RewriteRule .* http://devos.testsigma.com/ui/ [L,R=301] RewriteCond %{HTTP_HOST} "devos.testsigma.com" RewriteCond %{REQUEST_URI} "^/ui/" RewriteRule .* http://localhost:4202%{REQUEST_URI} [P] RewriteCond %{HTTP_HOST} "devos.testsigma.com" RewriteCond %{REQUEST_URI} "^/ui" RewriteRule .* http://localhost:4202%{REQUEST_URI} [P] RewriteCond %{HTTP_HOST} "devos.testsigma.com" RewriteCond %{REQUEST_URI} "^/assets/" RewriteRule .* http://localhost:4202%{REQUEST_URI} [P] RewriteCond %{HTTP_HOST} "devos.testsigma.com" RewriteRule .* http://localhost:9090%{REQUEST_URI} [P]
Once these details are added, you can save it and restart the httpd service.
Setting up UI, Server, and Agent component as a service:
Once the above configuration is done, we need to add UI, Server, and Agent as a service so that the entire application runs.
Setting up UI component as service:
- Click on Run option in the IDE and then click on Edit configuration.
- Once you have clicked the Edit configuration, you can click on + icon in the top left corner and add the npm service.
- Enter the name of the UI component.
- For package.json: select the package.json file present in the ui folder from the downloaded source.
- Select run for command and start for Scripts.
- Once the setup is done, you can click on Ok and your UI component is ready to run as a service.
Setting up Server 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 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
-DTESTSIGMA_SERVER_URL=http://devos.testsigma.com;-DTSDATADIR=<Userdir>\testsigma\temp_labs
-
temp_labs is a temp folder to store data. So, you can create one and mention the path of the folder above.
NOTE:Note: Replace <Userdir> with your home directory name.
-
- Click Ok
- The server module is added as a service now.
Setting up Agent component as 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="<userdir>\\testsigma\\agent" -DTS_ROOT_DIR="<userdir>\\.testsigma_os" -DCLOUD_URL="http://devos.testsigma.com"
NOTE:Replace <userdir> with your custom directory path.
- Click Ok
- The agent module is added as a service now.
Running the application as a service:
Once the three components are set up as service, you can run them one by one as shown below:
Mapping URL to Host:
The final step is to navigate to %WinDir%\System32\Drivers\Etc
and add 127.0.0.1 localhost devos.testsigma.com
Once this is done, you can save the host file and navigate to http://devos.testsigma.com/ui and see the below screen:
For Windows and IntelliJ Community Edition, the pre-requisites remain the same. You can follow the steps provided in macOS and IntelliJ Community Edition for the setup.