Winium.Desktop icon indicating copy to clipboard operation
Winium.Desktop copied to clipboard

Winium Remote automation

Open csvel93 opened this issue 5 years ago • 4 comments

I run Winium test automation from local machine on to remote machine. Below is my code: public static void main(String[] args) throws MalformedURLException, InterruptedException {

	DesktopOptions option = new DesktopOptions();
	option.setApplicationPath("C:\\Windows\\System32\\calc.exe");
	
	try
	{
	   WiniumDriver driver = new WiniumDriver(new URL("https://10.118.165.177:9999"), option);
	}
	catch(MalformedURLException e)
	{
		e.printStackTrace();
	}

I got error like connection timed out. Anyone help me!? Note: Ping that ip in command prompt, I got the reply from that IP.

csvel93 avatar Dec 22 '18 14:12 csvel93

DesktopOptions options = new DesktopOptions { ApplicationPath = @"C:\Windows\System32\calc.exe" }; WiniumDriver driver = new WiniumDriver((new Uri("https://10.118.165.177:9999")), options);

Let me know if it works.. Start the winium.desktop.driver.exe in the remote machine and then run the script

muruga85 avatar Jan 08 '19 21:01 muruga85

@muruga85 is there any solution for automating the desktop application for change of the users .For Ex:i want to execute iexplorer.exe file with run as different user . Now i can do manually but i would like to do automation.similar to this #114

ramanamuttana avatar Mar 13 '19 13:03 ramanamuttana

@muruga85 its not working! :(

csvel93 avatar Sep 07 '19 16:09 csvel93

I have problem with winium and finding element. I try run winium on background also winium run app on background. But driver doesn't find element. How can I solve this problem? (I want run this process on background using jenkins)

dkotowicz avatar Sep 19 '19 07:09 dkotowicz