Ask a Question

SessionCreator (TestExecute) - PrjVar is not an option

SOLVED
hkim5
Staff

Re: SessionCreator (TestExecute) - PrjVar is not an option

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

Best,
Justin Kim
courtenayp
Occasional Contributor

Re: SessionCreator (TestExecute) - PrjVar is not an option

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

 

Regards,

Courtenay

mazahar-shaik
New Contributor

Re: SessionCreator (TestExecute) - PrjVar is not an option

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.

hkim5
Staff

Re: SessionCreator (TestExecute) - PrjVar is not an option

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

Re: SessionCreator (TestExecute) - PrjVar is not an option

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

Re: SessionCreator (TestExecute) - PrjVar is not an option

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

Re: SessionCreator (TestExecute) - PrjVar is not an option

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

Re: SessionCreator (TestExecute) - PrjVar is not an option

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.

hkim5
Staff

Re: SessionCreator (TestExecute) - PrjVar is not an option

for those who are using version 14.74

try 

 

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

 

Best,
Justin Kim
ammuachu
Occasional Contributor

Re: SessionCreator (TestExecute) - PrjVar is not an option

@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: