Launch the process using Process.Start() and the various overloads. Then you can use Application.Attach() instead of Launch in White once you successfully launch the application.
Maybe use Linqpad to test the various different overloads to see what works for you.
Cheers,
Jake
--
You received this message because you are subscribed to the Google Groups "TestStack.White" group.
To unsubscribe from this group and stop receiving emails from it, send an email to
teststack_whi...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
Process
Proc = new Process();
Proc.StartInfo.FileName =
@"C:\Test.lnk";
Proc.Start();
' using ProcessStartInfo
ProcessStartInfo info = new ProcessStartInfo(@"C:\Test.lnk");
info.CreateNoWindow = true;
info.UseShellExecute = false;
info.RedirectStandardError = true;
info.RedirectStandardOutput = true;
info.RedirectStandardInput = true;
Process whatever = Process.Start(info)
The error I keep getting is its an invalid file but its a legit file and can be opened manually