- getting started
- Introduction: Cloud
- Frequently Asked Questions
- Telemetry
- Testsigma Terminology
- Testsigma Sample Applications
- collaboration
- Invite Team Members
- Assign Projects
- Users & Role Management
- Review Management [Test Cases]
- Review Management [Elements]
- Execution Controls
- Manage Test Cases
- Test Case List Actions
- Import and Export Test Cases
- Import Test Project Test Cases
- Importing Postman Collections and Environments
- Update Test Case Result in a Test Plan
- Test Cases (Mobile Web App)
- 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 [Parameter]
- 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?
- 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
- 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
- debugging
- Debugging Results on Local Devices for Web Applications
- Debugging Mobile Applications 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
- 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 CICD
- Bitbucket CICD
- GitLab CI/CD
- Copado 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
- SMTP Configuration in Testsigma
- 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 & 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
- 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
- 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
- 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
- Finding App Package & App Activity (Android)
- Cross-environment Compatible ID Locators (Android)
- Why Accessibility IDs Over other Locators?
- Common Android Issues & Proposed Solutions
- Finding the App Bundle ID for iOS
- Developer Mode (iOS 16 & Above)
- 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
- Error Handling On Metadata Refresh
- Automating Listview Table NLPs
- Intro: Windows Automation (Lite)
- Windows (Lite) Project & Application
- Element Learning with Test Recorder
- Test Cases for Windows (Lite)
- 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
Intro: Testsigma Special NLPs
With Testsigma's special NLPs, you can scale and enhance Salesforce Testing. These NLPs are precisely developed to address challenges in Salesforce testing by leveraging Salesforce's synced metadata, which helps reduce test authoring time by 50%. This article discusses the capabilities of these special NLPs.
Prerequisites
- Salesforce connected app. For more information, refer to creating a connected app.
- Salesforce metadata connected to Testsigma. For more information, refer to creating metadata connections.
List of Special NLPs
NLP | Description |
---|---|
Login to Salesforce Application application using Salesforce Connection connection | This NLP logs into the Salesforce instance configured in Testsigma with the selected application and user connection. User Inputs in NLP: 1. Salesforce Application 2. Salesforce Connection |
Login to Salesforce using Salesforce Connection | This NLP logs into the Salesforce instance configured in Testsigma with a chosen user connection. User Inputs in NLP: Salesforce Application Note: This is the default NLP for any test case. |
Switch to Salesforce Application application | This NLP switches to the application chosen from the list. User Inputs in NLP: Salesforce Application |
Navigate to Salesforce tab | This NLP navigates to the chosen tab within the same Salesforce application. User Inputs in NLP: Salesforce Tab |
Open the edit Salesforce Object form where record id is Record ID | This NLP opens the edit form in Salesforce for a specific record on the selected tab. User Inputs in NLP: 1. User Record ID 2. Salesforce Object |
Open the create Salesforce Object record form | This NLP opens the Create Record form in Salesforce on the selected tab. User Inputs in NLP: Salesforce Object |
Open the Salesforce Object details page where record id is Record ID | This NLP Opens the View in Salesforce for a specific record on the selected tab. User Inputs in NLP: 1. User Record ID 2. Salesforce Object |
Create record in Salesforce Object Form using Salesforce Connection connection and store the record id in variable test data | This NLP creates a record for a specific Salesforce object using the create record API. This process stores the RECORD_ID in a variable. User Inputs in NLP: 1. Salesforce Connection 2. Salesforce Object Form 3. Variable to store RECORD_ID |
Update record in Salesforce object form where record id is test data using Salesforce connection connection | This NLP updates a record for a specific Salesforce object using the update record API. User Inputs in NLP: 1. Salesforce Connection 2. Salesforce Object Form 3. RECORD_ID |
Select multiple options using value test data in the element multipicklist | This NLP selects values from a multipicklist. This NLP can also be recorded. User Inputs in NLP: 1. Test Data 2. Choose Element Note: All the values should match the criteria for the NLP to work effectively. |
Remove multiple options using value test data in the element multipicklist | This NLP removes values from a multipicklist. This NLP can also be recorded. User Inputs in NLP: 1. Test Data 2. Choose Element Note: All the values should match the criteria for the NLP to work effectively. |
Undo field in element | This NLP undoes the update on the selected field. This NLP can also be recorded. User Inputs in NLP: Choose Element |
Enter test data in the element richInput text box | This NLP enters the provided test data into the richInput textbox element. This NLP can also be recorded. User Inputs in NLP: 1. Test Data 2. Element |
Search test data on element lookup | This NLP searches for the specified test data within the element lookup. This NLP can also be recorded. User Inputs in NLP: 1. Test Data 2. Element |
Select option test data from element picklist | This NLP selects the specified option from the picklist element using test data. This NLP can also be recorded. User Inputs in NLP: 1. Test Data 2. Element |
Clear and enter test data in the element field | This NLP will clear any existing data in the element field and then enter the test data into that field. User Inputs in NLP: 1. Test Data 2. Element |
Delete record in Salesforce Object where record id is test data using Salesforce Connection connection | This NLP deletes a record using RECORD_ID for a specific Salesforce object using the delete record API. User Inputs in NLP: 1. RECORD_ID 2. User Connection 3. Salesforce Object |
Using API NLP Test Steps
Let's say you want to automate the creation of a Salesforce Lead record. To create a lead record, navigate to the Leads tab, click New, and fill out the form with details such as the lead's name, company, contact information, and descriptions. After entering the necessary information, save the record. The lead will be available for future actions, such as follow-ups or conversion into an account, contact, or opportunity.
Guess what? With Testsigma, you can perform all these actions in a single API step using the following NLP:
NLP 1:
"Create record in Salesforce Object Form using Salesforce Connection connection and store the record id in variable test data"
This NLP creates a new record for the selected Salesforce object.
See the GIF below demonstrating how to use this NLP.
NLP 2:
"Open the edit Salesforce Object form where record id is Record ID"
This NLP opens edit form of the selected Salesforce object using Record ID.
See the GIF below demonstrating how to use this NLP.
NLP 3:
"Delete record in Salesforce Object where record id is test data using Salesforce Connection connection"
This NLP deletes a record for the selected Salesforce object using Record ID.
See the GIF below demonstrating how to use this NLP.
NLP 4:
"Login to Salesforce using Salesforce Connection connection"
This NLP enables users to log in to Salesforce with a selected user connection.
See the GIF below demonstrating how to use this NLP.
NLP 5:
"Login to Salesforce Application application using Salesforce Connection connection"
This NLP allows users to log in directly to a specific Salesforce Application using a selected User Connection.
For example, select Sales from the dropdown to log in to Sales CRM.
See the GIF below demonstrating how to use this NLP.
NLP 6:
"Switch to Salesforce Application application"
This NLP lets users switch to a specific Salesforce Application. Choose the application from the available options in the dropdown.
For example, select the HubSpot application from the dropdown to switch from Sales to HubSpot.
See the GIF below demonstrating how to use this NLP.
NLP 7:
"Navigate to Salesforce tab"
This NLP navigates users to any standard tabs on the Salesforce platform.
See the GIF below demonstrating how to use this NLP.
NLP 8:
"Open the Salesforce Object details page where record id is Record ID"
This NLP navigates to the record details page using the Record ID on the selected Salesforce object.
For example, to open the record details page of a specific lead, use this NLP.
See the GIF below demonstrating how to use this NLP.
NLP 9:
"Open the create Salesforce Object record form"
This NLP opens the create new record form for the selected Salesforce object.
For example, to create a new lead, use this NLP.
See the GIF below demonstrating how to use this NLP.
NLP 10:
"Clear and enter test data in the element field"
This NLP clears the data in a specified form field and replaces it with test data.
For example, to replace a URL in the website field of the lead details form, use this NLP.
See the GIF below demonstrating how to use this NLP.
NLP 11:
"Undo field in element"
Use this NLP to undo changes in a specified field, restoring the previous data.
For example, to replace a URL with a previous one in the website field of the lead details form, use this NLP.
See the GIF below demonstrating how to use this NLP.
NLP 12:
"Select multiple options using value test data in the element multipicklist"
Use this NLP to select values in multipicklist into an element.
See the GIF below demonstrating how to use this NLP.
NLP 13:
"Remove multiple options using value test data in the element multipicklist"
Use this NLP to remove multiple options from a multipicklist into an element.
See the GIF below demonstrating how to use this NLP.
NLP 14:
"Enter test data in the element richInput text box"
Use this NLP to enter data in a RichInput text box.
See the GIF below demonstrating how to use this NLP.
NLP 15:
"Search test data on element lookup"
Use this NLP to select or record in a lookup field.
See the GIF below demonstrating how to use this NLP.
NLP 16:
"Select option test data from element picklist"
Use this NLP to select an option from a picklist element.
See the GIF below demonstrating how to use this NLP.
NLP 17:
"Update record in Salesforce object form where record id is test data using Salesforce connection connection"
This NLP feature updates a Salesforce record with the details you enter in the API step using the specified Record ID.
See the GIF below demonstrating how to use this NLP.