Ask a Question

BuiltIn.ParamStr Method

c_chris
New Contributor

BuiltIn.ParamStr Method

Where do I find the argument list that the index specified below in yellow correlates to?

 

c_chris_0-1634560843625.png

 

2 REPLIES 2
hkim5
Staff

not certain but ill give this a shot,

 

since builtin.paramstr is typically used as a helper method to return the values supplied to run TC via cmd line,

these index numbers (i.e 12, 13, 14) that you've highlighted in the screenshot, are referring to the cmd line arguments that you (or someone in your org) plans on providing to TC. 

Since the function nature of the screenshot you've provided looks to be a helper function designed to log the arguments provided (in specific, it looks to be logging the label of the execution node "slave"), and since the index is hardcoded, i'm willing to bet that there is a stable pipeline (from a CI system) that your org is using to run your TC projects/tests.

So, fastest way to figure out what those numbers mean, i think i'd go into your CI system and read the yaml file or look at the testcomplete test step (which is where you would find the sequence of cmd line arguments supplied), or just trigger a run and see what the log outputs are.

Best,
Justin Kim
Marsha_R
Community Hero

https://support.smartbear.com/testcomplete/docs/reference/program-objects/builtin/paramstr.html


Marsha_R
[Community Hero]
____
[Community Heroes] are not employed by SmartBear Software but
are just volunteers who have some experience with the tools by SmartBear Software
and a desire to help others. Posts made by [Community Heroes]
may differ from the official policies of SmartBear Software and should be treated
as the own private opinion of their authors and under no circumstances as an
official answer from SmartBear Software.
The [Community Hero] signature is used with permission by SmartBear Software.
https://community.smartbear.com/t5/custom/page/page-id/hall-of-fame
cancel
Showing results for 
Search instead for 
Did you mean: