Forum Discussion

Lee_M's avatar
Lee_M
Community Hero
4 years ago
Solved

this.item - javascript location

I have a Keyword test the performs a simple log message.

The script takes in a parameter.

 

 

This script executes as expected

 

"the input value is = " + KeywordTests.p1.Parameters.tp1

 

I have to write KeywordTests.p1.Parameters. to get to a local parameter, is there a better way to do this

 

I am looking for either of these options

  • this.test.Parameters.tp1
  • Parameters.tp1

 

The idea is that I can write this test and then copy it to anywhere else and it will still run and reference the NEW parameter

 

3 Replies