Forum Discussion

TestQA1's avatar
TestQA1
Frequent Contributor
3 years ago
Solved

Running powershell file as admin from JS

Hi,   I have a below line in my javascript function in test complete, which runs the ps1 file. WshShell.Run("powershell -file \"" + pathvar + "\\My Tests\\PickupTest.ps1\"") Now the problem is th...
  • groovyguy's avatar
    groovyguy
    8 years ago

    Without setting up and using multiple data sources, the only other way you'd likely get this is writing a custom groovy script. That would give you complete granular control.