Reply
Contributor
LagunaBob
Posts: 14
Registered: 08-30-2008
Accepted Solution

Unable to change session name to a variable

I would like to change my session name to a variable. I highlight multiple steps in the procedure and replace the hardcoded session name to an argument, for example, ${arg[1]}. When I do this I get a red X next to each step. What am I doing wrong?

 

Community Leader
AdamB
Posts: 723
Registered: 09-01-2008

Re: Unable to change session name to a variable

Hello LagunaBob,

 

iTest needs to know what the session so that it can allow you to edit the session properties.  In order to provide this information, you will need to set the "Default session type" for the procedure or the step.

 

The procedure's default session type can be set in the "General" property page when you have selected a procedure in the Test Case Editor grid. (See the first image attached.)

 

The step's default session type can be set by selecting the step in the grid and then selecting the "Advanced" property page. (See the second image attached.)

 

Once this is done, the error boxes should go away. 

 

-Adam 


Does this post answer your question? Click the "Accept as solution" button.

Was this post helpful? Click the yellow "Kudos!" button.
ProcedureDefaultSessionType.JPG
StepDefaultSessionType.JPG
Contributor
jkarnes
Posts: 43
Registered: 09-11-2008
0

Re: Unable to change session name to a variable

OK, so I run into this constantly. Can I set it one time, and have it always default to the 'Telnet' session type rather than having to manually set it every single time?