or
Settings mySettings = new Settings(BrowserType.InternetExplorer, @"c:\log\");mySettings.UnexpectedDialogAction = UnexpectedDialogAction.DoNotHandle;Manager myManager = new Manager(mySettings);myManager.Start();myManager.LaunchNewBrowser();myManager.ActiveBrowser.NavigateTo("http://vkontakte.ru/login.php");//That's the "Login" button.Element link;link = myManager.ActiveBrowser.Find.ByXPath("//td/*/*/*/*/a[1]");HtmlControl lnk = new HtmlControl(link);String weight = lnk.GetComputedStyleValue("fontWeight");String style = lnk.GetComputedStyleValue("fontStyle");String size = lnk.GetComputedStyleValue("fontSize");Console.WriteLine(myManager.ActiveBrowser.BrowserType);Console.WriteLine("Size: {0}", size);Console.WriteLine("Weight: {0}", weight);Console.WriteLine("Style: {0}", style);myManager.Dispose();FireFoxSize: 11pxWeight: 400Style: normalInternetExplorerSize: 11pxWeight:Style: normalvar autoCompleteBox = app.FindName(testUtil.AutoCompleteBox);autoCompleteBox.User.TypeText("f", 50);autoCompleteBox.Refresh();var list = (List<String>) autoCompleteBox.As<AutoCompleteBox>().ItemsSource;Assert.That(list.Count, Is.EqualTo(2));Manager.DialogMonitor.AddDialog(
LogonDialog.CreateLogonDialog(ActiveBrowser, <USerNMame>, <passwod>, DialogButton.OK));
Manager.DialogMonitor.Start();
ActiveBrowser.NavigateTo(
"URL");
Any idea how to resolve this issue.
Suggestion appreciated :)
Thanks in advance
Regards,
Mahendra
var keyComboBox = app.FindName<ComboBox>("dd1");keyComboBox.User.Click();keyComboBox.Refresh();keyComboBox.SelectByText("Sport");var valueComboBox = app.FindName<ComboBox>("dd2"); valueComboBox.User.Click(MouseClickType.LeftDoubleClick);valueComboBox.Refresh();valueComboBox.SelectByText("Football");<input type="radio" value="green" name="outcome_LO"/>HtmlInputRadioButton rr = (from b in Find.AllControls<HtmlInputRadioButton>() where b.Value.Equals("green") && b.Name.Equals("outcome_LO") select b).First();
rr.Check(true, true);Hello Team,
Have you any plan to realize some wrappers for Silverlight components available on the market?
In particular for http://www.componentone.com/SuperProducts/StudioSilverlight/.
I had a look to the custom control thread, but as I am not so familiar with this type of code.
I would like at least be able to manipulate the C1DataGrid using VB.net.
Kind regards.