question

jval avatar image
jval asked Philip.Joung edited

Creating parameters using a command

I need to create several test cases that use the same parameters and was wondering if there is a command I can use to create the parameters using a procedure (quickcall) the same way we create variables with "[set varName ?value?]". Thanks in advance.
iTestcommandparameters
10 |950

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Yaseen avatar image
Yaseen answered
Currently, there is no action/command in iTest that can generate the parameters. But, we could create a procedure or test case, that can create the parameters in the test case parameter tab using writeFile action. Attached is the sample test case for your reference, that will create a new testcase, and adds the required parameters in that testcase parameter section. Hope this helps! [link text][1] [1]: /storage/temp/3774-createparamwithtestcase.fftc

10 |950

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

sai_kiran avatar image
sai_kiran answered
Define the desired parameter value in the global parameter file so that you can use across any iTest files in the workspace.
10 |950

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.