Lee_M's avatar
Lee_M
Community Hero
4 years ago
Status:
New Idea

'this' keyword

I would like to see the appearance of 'this' keyword when refering to variables when using code snippets (keyword testing)

 

if you have a local vairable in a keyword test you have to specifiy it from the root.

If I was testing a feature and wanted to now port the code I would have to rewrite, at the very least it looks cumbersome

 

 

 

this would be better if you didn't have to specify the whole string and write

 

"this.cartTotal"

 

it would make the code more readable and enable you to reuse this code in other projects (add existing item - NOT script routine or keyword test)

 

 

 

No CommentsBe the first to comment