robotcodedev / robotcode

RobotFramework support for Visual Studio Code
https://robotcode.io
Apache License 2.0
173 stars 14 forks source link

[QUESTION] #130

Closed extmme closed 1 year ago

extmme commented 1 year ago

Hi Daniel, in meanwhile my exploring remote debugging :-D,

I have got an other question - or information. I cannot use debug console without errors (never happend with RF language server and I am used to check my selectors like that), do you know why is that? You can check the atteched screen

Je zobrazen nadpis - is name of my KW and Dopňlkové penzijní spoření is value of arguments image

And it even does not work with using the native robotframework keywords :-(

d-biehl commented 1 year ago

It seems that you want to call a keyword in the debug console. This works a bit different in RobotCode. You can call variables in the Debug Console and Python expressions with these variables, if you want to call a Robot keyword you have to put a ! in front of it. The ! is there to decide if it is a Python expression or a RobotFramework call.

e.g.

extmme commented 1 year ago

Thank you for your support. It works with " ! ". Any chance you will rid of the exclamation mark for debug console in the future or it is not possible?

d-biehl commented 1 year ago

Not at the moment, there is no way to clearly decide if it should be a python expression or a RobotFramework call. But I could imagine to make it adjustable, so either python expressions with ! or RobotFramework calls with !. what do you think?

extmme commented 1 year ago

Me and my team manager (who has been using your tool as well :-) agreed for python let with " ! " (RF without "!" if it is possilbe then :-) ) We more create tests in RF with RF library keywords :-)