Hello Admin,
I am testing a Silverlight application with .NET 4.0 Framework, We have a functionality like AttachSignature, Which Invokes windows open dialogue to attach the jpeg signature. This testing need to be automated using Telirk webaii Framework, I do not have any methods to test for this test case. Can you please help me with anything ….
[TestMethod]
[Description(
"Detect images as they arrive from the web server"
)]
public
void
ImageDetection()
{
Manager.Settings.Web.UseHttpProxy =
true
;
Manager.LaunchNewBrowser(BrowserType.InternetExplorer);
ResponseListenerInfo li =
new
ResponseListenerInfo(CheckTypeForImage);
Manager.Http.AddBeforeResponseListener(li);
ActiveBrowser.NavigateTo(
"http://news.google.com/"
);
Manager.Http.RemoveBeforeResponseListener(li);
// Check the test results for a log of all responses during the page load
}
#1 _manager.Settings.UnexpectedDialogAction = UnexpectedDialogAction.DoNotHandle; _manager.DialogMonitor.AddDialog(new FileUploadDialog(_manager.ActiveBrowser, fileNameToUpload, DialogButton.OPEN, "Choose File to Upload")); _manager.DialogMonitor.Start(); _manager.ActiveBrowser.WaitUntilReady(); HtmlInputFile updlg = _manager.ActiveBrowser.Find.ById<HtmlInputFile>("ctl00_MainContent_FileUpload1"); #2 updlg.Click();
when I comment line #1, the dialog opens and right away closes. When I leave line #1 uncommented, then the dialog opens, after a couple of secs, it flickers,
then it flickers, then it stays there forever without moving to the next line of code.
for line #2, updlg.MouseClick() doesnt seem to do anything.
But all of this works fine in IE8!!! Can you guys tell me if there is any way this can be made to work in IE9? If that
is not possible, then is there an Add on for newer versions for Firefox?
When I try firefox, I see it open the window, but nothing happens and the address bar has this text: "about:blank?!!AOT2.0!Pipe.ArtOfTest.WebAii.BrowserProvisioner_517858088"
Am i missing some steps in setting up firefox?
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