SessionCreator (TestExecute) - PrjVar is not an option
SOLVED- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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.
Solved! Go to Solution.
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
@courtenayp I've confirmed the issue with the session creator utility, and have raised a ticket internally.
Justin Kim
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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.
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
Justin Kim
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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?
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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.
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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.
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
for those who are using version 14.74
try
/arg:pv:variablename="Value"
or
/arg:psv:variablename="Value"
Justin Kim
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
@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.
