mfoster711
21 days agoRegular Contributor
Using Test Engine Rest API
I am trying to use the Test Engine REST API | TestComplete Documentation.
I am using windows Notepad to perform a few tests. I am able to perform SetText or Click methods on the field but Keys does not work.
Here is the call and error I get when performing Keys:
curl -X 'GET' \
'http://localhost:2377/1/sys/a6ac403a-99db-4f51-bbda-f8f46faa447b/method/Keys?arg1=%22random%20test%20message%22' \
-H 'accept: application/json'
{
"success": false,
"errorMessage": "The operation was interrupted by the user."
}Here is successful example of SetText method on same field.
curl -X 'GET' \
'http://localhost:2377/1/sys/a6ac403a-99db-4f51-bbda-f8f46faa447b/method/SetText?arg1=%22random%20test%20message%22' \
-H 'accept: application/json'
{
"success": true,
"result": {
"value": null
}
}Why doesn't Keys work?