Skip to content

Commit

Permalink
[TSDocs]Auto generated KB article improvements
Browse files Browse the repository at this point in the history
  • Loading branch information
tsvetkoe committed Dec 8, 2023
1 parent 1c522fa commit 354d75f
Showing 1 changed file with 9 additions and 6 deletions.
Original file line number Diff line number Diff line change
@@ -1,26 +1,29 @@
---
title: Troubleshooting "ExecuteCommand failed! InError set by the client. Client Error: Protocol error (Runtime.evaluate): Promise was collected" Error
description: This article provides troubleshooting steps for resolving the "ExecuteCommand failed! InError set by the client. Client Error: Protocol error (Runtime.evaluate): Promise was collected" error in Telerik Test Studio.
title: ExecuteCommand failed! Protocol error Promise was collected
description: This article provides troubleshooting steps for resolving the "ExecuteCommand failed! InError set by the client. Client Error Protocol error (Runtime.evaluate) Promise was collected" error in Telerik Test Studio.
type: troubleshooting
page_title: How to troubleshoot "ExecuteCommand failed! Client Error: Protocol error: Promise was collected" error in Telerik Test Studio
page_title: How to troubleshoot "ExecuteCommand failed! Promise was collected" error
slug: troubleshoot-execute-command-failed-error-telerik-test-studio
tags: troubleshooting, executecommand error, client error, protocol error, runtime.evaluate error, Telerik Test Studio

---
### Description
I encounter the following error when executing an automation script in Telerik Test Studio:

```
'ExecuteCommand failed! InError set by the client. Client Error: Protocol error (Runtime.evaluate): Promise was collected BrowserCommand'
```

This error occurs when clicking on a button that opens a new screen. While the button is clicked and the new screen is displayed, the step fails.
This error occurs on a click step which clicks on a button that opens a new screen. While the button is clicked and the new screen is displayed, the step fails.

### Cause
The cause of this error is currently unknown and difficult to reproduce. It has been reported by multiple customers but has not been replicated on our end.

### Solution
To troubleshoot this issue, please try the following steps:

1. Ensure that you are using the latest version of Telerik Test Studio (2023.3.1115). If not, upgrade to the latest version and rerun the test to check if the error persists.
1. Ensure that you are using the latest version of Telerik Test Studio. If not, upgrade to the latest version and rerun the test to check if the error persists.

2. If the error still occurs, open the properties of the failing click step and uncheck the checkbox for the 'SimulateRealClick' property. Run the test again and observe the outcome.

If the issue persists after trying these steps, further troubleshooting may be required so consider submitting a support thread with sending the complete failure logs for the troublesome test.
If the issue persists after trying these steps, further troubleshooting may be required so consider <a href="/features/test-runners/artoftest-runner" target="_blank">submitting a support thread</a> with sending the complete failure logs for the specific failing test you work on. You can use the __Export__ button from the <a href="/automated-tests/test-results/step-failure-details#failure-reason-section" target="_blank">Step Failure Details section</a>.

0 comments on commit 354d75f

Please sign in to comment.