Search NLP templates
GET
/test_steps/nlp/{applicationType}/templates/{searchText}Base URL
https://app.testsigma.com/api/v2RegionSearch NLP templates to use when creating test steps.
Authenticate with your API key as a
Bearer token in the Authorization header. How to authenticate →Path parameters
applicationType | One of: WebApplication, MobileWeb, IOSNative, AndroidNative, Rest, Salesforce. |
searchText | Keywords used to search for templates. |
Response attributes
id | Unique identifier of the template. |
keyword | Keyword associated with the step (e.g. click). |
grammar | NLP grammar expression for the step. |
action | Action executed by the step. |
Request
curl -X GET \
'https://app.testsigma.com/api/v2/test_steps/nlp/{applicationType}/templates/{searchText}' \
-H 'Authorization: Bearer <API_KEY>' \
-H 'Content-Type: application/json'const response = await fetch('https://app.testsigma.com/api/v2/test_steps/nlp/{applicationType}/templates/{searchText}', {
method: 'GET',
headers: {
'Authorization': 'Bearer <API_KEY>',
'Content-Type': 'application/json'
}
});
const data = await response.json();import requests
response = requests.get(
'https://app.testsigma.com/api/v2/test_steps/nlp/{applicationType}/templates/{searchText}',
headers={
'Authorization': 'Bearer <API_KEY>',
'Content-Type': 'application/json'
}
)
data = response.json()Response200 OK
[
{
"id": 456,
"keyword": "click",
"grammar": "Click on the ${ui-identifier}",
"action": "click"
}
]Was this page helpful?
Thanks for the feedback.