Solved
Forum Discussion
SBegley
Staff
4 years agoHi TestQA1
I hope you are keeping well.
In the file path you may need to add the following character ` in between My Tests to be as follows;
WshShell.Run("powershell -file \"" + pathvar + "\\My` Tests\\PickupTest.ps1")
Please let me know if this resolves your query or if you have any additional questions.
Thanks,
Shane
TestQA1
4 years agoFrequent Contributor
Didn't work. But I think '&' will solve the problem only if I can figure out how to use it in WshShell.Run("powershell -file \"" + pathvar + "\\My Tests\\PickupTest.ps1")