Ask a Question

SessionCreator (TestExecute) - PrjVar is not an option

SOLVED
courtenayp
Occasional Contributor

SessionCreator (TestExecute) - PrjVar is not an option

**EDIT** this option works, but not via SessionCreator method, still pending fix...

**EDIT** turns out i read the VERY latest information on the below, and infact PrjVar is a new functionality, as such an upgrade should solve this issue!

 

 

According to this page: https://support.smartbear.com/testexecute/docs/running/automating/sessioncreator/index.html i should be able to input a value for a variable using /PrjVar: in a command line entry (session creator).

 

I have tried this and it informs me that "Flag could not be matched: PrjVar:String"

 

The list of options also returned when running the session creator does not include the PrjVar option.

26 REPLIES 26

@courtenayp I've confirmed the issue with the session creator utility, and have raised a ticket internally. 

Best,
Justin Kim
courtenayp
Occasional Contributor

hi @hkim5  - is there any progress on fixing this issue?

 

Regards,

Courtenay

Hi @hkim5 , update on the progress on this issue please. it is blocking my test execution. Can I get the updated exe separately if it is waiting to be included in the next release.

I have yet to receive an update regarding this issue. I will reply to this thread asap when I have an exe or anything of the sort

Best,
Justin Kim
ammuachu
Occasional Contributor

I had the same issue and came to know that prjvar we cant pass through command line fir session creator. What alternate have you used to pass? I am creating file with data which I need to get into the project  and reading the file .will you be able to share the batch file?

courtenayp
Occasional Contributor

Hi @ammuachu - i have not come up with any other solution, I was going to try look at passing in a parameter instead (https://support.smartbear.com/testcomplete/docs/working-with/automating/command-line-and-exit-codes/...) but I'm not sure if thats going to help me/you much or do what we want efficiently. It really seems like something that could be fixed relatively easily if it works with command line.... so a bit frustrating! Fortunately there hasn't been a massive need for the capability (for us), but I've still had to manually update and then run tests with my desired values if i want to change the test URL etc.

ammuachu
Occasional Contributor

Thank you !! I will try this. Right now I created a file In files folder and update the file with parameter values and reads the file using JavaScript.I implemented this for my project it’s working.
manicfiddler
Occasional Visitor

Hi!  Any movement on this?  Just installed latest 14.74.437.11 and this is still an issue calling the TestExecute SessionCreator with /ps or /psv.

 

Would be great to not have to implement a workaround if a fix for this is imminent.

 

Thanks.

for those who are using version 14.74

try 

 

/arg:pv:variablename="Value"
or
/arg:psv:variablename="Value"

 

Best,
Justin Kim
ammuachu
Occasional Contributor

@manicfiddler I havent tried 14.74 but tried 14.71 it wont support.So I am passing values to a file and reading that files through the script and saving it in Tabledata.

cancel
Showing results for 
Search instead for 
Did you mean: