Open rabia08 opened 3 years ago
@rabia08 can you explain what is happening, does the app even launch? Is this an intermittent issue?
Also, why are you using WinAppDriver to interact with cmd line? You could execute "SCHTASKS.EXE /RUN /TN \iVMSTASK\ivmsopen" programmatically without having to even use WinAppDriver. Just create a batch file and execute in code. See an example like this (C#) https://stackoverflow.com/questions/5519328/executing-batch-file-in-c-sharp
@Tree55Topz @anunay1 : Can you please update us here . I am facing similiar issue
@rabia08 : were you able to solve this?
@LisaAga As @Tree55Topz mentioned WinAppDriver is not the right tool for such cases, do it programmatically.
Hi, I want to open a command prompt and apply some operations but the win app driver shows me this error. I am using Eclipse 2021-09. I apply all solutions but this error comes again and again. my code: package WinAppDriver.WinAppDriver;
import java.io.IOException; import java.net.MalformedURLException; import java.net.URL;
//import org.openqa.selenium.By; //import org.openqa.selenium.Keys; import org.openqa.selenium.remote.DesiredCapabilities;
import io.appium.java_client.windows.WindowsDriver; import io.appium.java_client.windows.WindowsElement;
public class Randm {
}