Forum Discussion

william_roe's avatar
william_roe
Super Contributor
9 years ago

Passing Parameters to Keyword Test From Script

How do pass a Keyword Parameter(s) from Script? When attempting to set the EmployeeID Parameter as below I receive the follow error (img)

 

KeywordTests.GridFilterEmployee_ID.Parameters.EmployeeID = AllEmployees[i];
KeywordTests.GridFilterEmployee_ID.Run(); 

KeywordParmFromScript.jpg

  • Nevermind. This is how it is done:

     

    KeywordTests.GridFilterEmployee_ID.Run(AllEmployees[i], false);
  • william_roe's avatar
    william_roe
    Super Contributor

    Nevermind. This is how it is done:

     

    KeywordTests.GridFilterEmployee_ID.Run(AllEmployees[i], false);