Forum Discussion

DanH's avatar
DanH
Contributor
7 years ago

jscript function parameter changes not being reflected in Keyword test

Hello, I'm having a problem when I, for example, add a paramter to a jscript function:  I have a Keyword Test which is already set up to use this function, I'm having to re-enter all the parameters in the Keyword Test rather than just the new parameter I have added.  Is there anyway reliable way to refresh the Keyword test so I don't have to re-enter everything?

  • If you double click on the line in your keyword test where you're calling your JScript, it will let you know the parameter count has changed and will prompt you to update.  It SHOULD preserve whatever you had in there for existing parameters and add the new one(s).

  • DanH's avatar
    DanH
    7 years ago

    That's great.  Thanks. 

  • tristaanogre's avatar
    tristaanogre
    Esteemed Contributor

    If you double click on the line in your keyword test where you're calling your JScript, it will let you know the parameter count has changed and will prompt you to update.  It SHOULD preserve whatever you had in there for existing parameters and add the new one(s).

    • DanH's avatar
      DanH
      Contributor

      That's great.  Thanks.