Skip to main content

I'm encountering an issue in the bot. Whenever I click on the "Preview" button while working in the Bot Editor, I receive the error shown in the screenshot above.

Has anyone else experienced this? Any suggestions on how to resolve it would be greatly appreciated.

@latha212 This is an unusual action. What specifically are you trying to do? Most people end up using “Find image in window”. 

Starting from our home page, I captured the “Schedule a demo” button. This is what I have for my parameters:

When I pressed Preview, a window appeared but it didn’t appear quite right. (Could have been my fault since I’m using Firefox for my control room and Chrome as my automation browser.) Things seemed to work though. 


I'm encountering an issue in the bot. Whenever I click on the "Preview" button while working in the Bot Editor, I receive the error shown in the screenshot above.

Has anyone else experienced this? Any suggestions on how to resolve it would be greatly appreciated.

The “Window in Window” action expects a static reference to a window or control.

Window Title fields must be literal strings, not expressions.

Replace any dynamic expressions with hardcoded values in the field.

  • Example: Use this "MainWindow"

  • Avoid: $windowName$


Thank you for the response.

Just to clarify — I’m already using a string, not an expression, in the Window Title field. Please let me know if there’s anything else I should check.

 

 


@latha212 Is there is a dollar sign in the window title? The quotes (« ») don’t seem to cause the problem in my test.  

Have you tried the “Find image in Window” action?


Thank you for the response.

Just to clarify — I’m already using a string, not an expression, in the Window Title field. Please let me know if there’s anything else I should check.

 

 

You should try “Find image in Window” action


Reply