Hello,
I am trying to get the tool tip value of the a grid cell, but ideally I am not getting the tool tip value, it even becomes very tough when I try to get the tooltip value of a grid when the grid contains calendar control or combobox control in the grid cell, I have written different functions to get the tool tip value when the gridcell contain combobox or calendar. Or simple textbox for that matter. None of them are working …Can you please help me to resolve this Automation…This is very Critical in my Test Case Evaluation…
//ABI
public string GetGridCellToolTip(string gridName, int row, int column)
{
IGridControl gridControl = controlFinder.FindGridx(gridName);
return gridControl.GetGridCellToolTipText(row, column);
}
//ABI
//ABI
/// <summary>
/// Get the tool tip text in the cell designated by the given row and column.
/// </summary>
/// <param name="row">The cell row.</param>
/// <param name="column">The cell column.</param>
/// <returns>The tool tip value of the cell.</returns>
public string GetGridCellToolTipText(int row, int column)
{
//radGridView.Wait.For(f => f.As<RadGridView>().Rows.Count > 0);
return radGridView.Rows[row].Cells[column].ToolTipText;
}
//ABI
Hello,
I have to launch my Silverlight application for automating my testing, I am now working with Internet Browser for now, but I ideally need to automate my testing by initiating the desktop link to of Silverlight application to test. I have tried couple of options posted in some the following links..
I hope I am missing something…Please help me on the same…
Find my desktop link properties::
"C:\Program Files (x86)\Microsoft Silverlight\sllauncher.exe" 846926624.localhost
Code Below:
//ABI
[TestMethod]
public void SilverlightApplicationFileUploadExample4()
{
var settings = GetSettings();
settings.EnableSilverlight = true;
Window buttonToClick = null;
Initialize(settings, Console.WriteLine);
Manager.Settings.ExecutionDelay = 10;
//Manager.LaunchNewBrowser(BrowserType.InternetExplorer);
//ActiveBrowser.NavigateTo("http://localhost/Web/FieldClaims.aspx");
Manager.LaunchNewBrowser(BrowserType.SilverlightOutOfBrowser, true, System.Diagnostics.ProcessWindowStyle.Minimized, "846926624.localhost"); //Fails here with Script Error
}
var bro = Manager.Current.ActiveBrowser;var frame = bro.Frames["my_frame"];frame.RefreshDomTree(); var rect = frame.Find.ById("my_div").GetRectangle();Manager.Current.Desktop.Mouse.Click(MouseClickType.LeftClick, rect);<iframe name="my_frame" src="2.html" style="position: absolute; width: 200px; height: 200px; top: 300px; left: 300px;"><div id="my_div" onclick="alert(1)" style="margin: 40px; width: 30px; height: 30px; background: red"></div>using
ArtOfTest.WebAii.Core;
yet it will still not build, and I missing a ref?