we are using cloud machines to run our scripts, intermittently scripts are failing due to access denied, but the same scripts are running good if we are running it again in the same machines.
code used:
Code: Select all
Host.Local.OpenBrowser(RequestedURL,"IE",true,true);
Failed to open URL 'http://cnctxocea1002:8081/cc-webgui/app' with browser IE.
Access is denied
Show/Hide Stacktrace
at Ranorex.Host.OpenBrowser(String url, String browserName, String browserArgs, Boolean killExisting, Boolean maximized, Boolean clearCache, Boolean incognitoMode, Boolean clearCookies) at Ranorex.Host.OpenBrowser(String url, String browserName, Boolean killExisting, Boolean maximized) at OCOE.OCoELibrary.LaunchHPCC(String RequestedURL) in c:\Users\bkrafft\AppData\Local\RBaD\803248\OCOE\OCOE\LibraryFiles\OCoELibrary.cs:line 169 at OCOE.TestCases.IDCards_IFP.IDCards_IFP_Smoke.runSmoke(String ID).
Please suggest better approach if any.