or
silApp.RefreshVisualTrees(); string sex=silApp.FindName("patientinfo").Find.ByName("tbSex").TextBlockContent);MANAGER.Browsers.Count = 1 (only see the parent window)
DownloadDialogsHandler fileDownloadHandler = new DownloadDialogsHandler(myManager.ActiveBrowser, DialogButton.SAVE, path, desktop);myManager.ActiveBrowser.WaitUntilReady();myManager.ActiveBrowser.Actions.Click(btnSalva);fileDownloadHandler.WaitUntilHandled(30000);Element divPanel = ActiveBrowser.Find.ById("div1");Element anchor = divPanel.Find.ByXPath("//a");divPanel element.Find.ByXXX methods perform search starting from root page object. Find.ByXXX methods to start search from specified Dom node ? silApp.FindName("ExpandSite").Find.ByName("ExpandSite").Find.ByName("textBlock").User.Click(MouseClickType.LeftDoubleClick, new System.Drawing.Point(20, 20));Hi all,
Download dialog works fine with IE, but I cannot get it with Firefox, Chrome and Safari. It cannot save the file with the following code as below://launch BROWSER = MANAGER.ActiveBrowser; FFOpenDownloadDialog ffdownload = new FFOpenDownloadDialog( BROWSER, DialogButton.SAVE, Desktop); MANAGER.DialogMonitor.AddDialog(ffdownload); MANAGER.DialogMonitor.Start(); //Invoke the dialog BrowserNavigateTo(strURL); //save BROWSER = MANAGER.ActiveBrowser; SaveAsDialog saveas = new SaveAsDialog( BROWSER, DialogButton.SAVE, strFileLocation, MANAGER.Desktop); MANAGER.DialogMonitor.AddDialog(saveas); MANAGER.DialogMonitor.Start(); Please help. Thanks, Emily
ActiveBrowser.NavigateTo("https://www.tradingfloor.com/accounts");