I am running a trial version of test studio (2013.1.911.0) to evaluate whether it will suit the needs of the business where I am currently on placement. I have encountered an issue however, that is preventing me from really getting stuck into testing. The website I am testing uses RadWindows that are displayed within the current browser window, I have been unable to successfully record actions against elements contained within the Radwindows. This is very unfortunate as recording steps against these RadWindows will be crucial to navigating and testing our test site.
When I playback the test, every action on the main page is played back perfectly but all actions within the RadWindow are lost.
Recording in Chrome, Firefox & Safari (All newest versions) allows me to capture actions performed on elements within a RadWindow. Playback is then possible in Chrome & Firefox. IE 11 & Safari are unable to replay any RadWindow Actions.
I have found a way to record and playback actions using IE 11, it requires using emulation provided in the developer tools feature. I need to set the Document Mode Emulation to emulate IE 8 which grants the ability to record and playback actions performed within RadWindows.
Does test studio only fully support Internet Explorer up to version 8? This would be an issue with my company as their product needs to be compatible up to at least IE10.
The issue I am having can be shown on a Telerik RadWindow demo page:
http://demos.telerik.com/aspnet-ajax/window/examples/overview/defaultcs.aspx
I have submitted screen shots of recording three actions on this page running IE11 in default setting and also in emulated IE8 document mode.
Step 1: Visiting the page
Step 2: Clicking a link within the RadWindow
Step 3: Clicking a second link within the RadWindow
I would like to note that I have used the browser configuration tool within Test Studio for all browsers and also followed any additional configuration guides online (disabling add-ons, http://www.telerik.com/automated-testing-tools/support/documentation/user-guide/configure-your-browser/internet-explorer.aspx, etc...).
Could someone please provide me with a solution to record/playback actions on elements within a RadWindow for IE11 (or at least IE10) and Safari (5.1.7).
I greatly appreciate any assistance that can be provided!
Failure Information: ~~~~~~~~~~~~~~~Unable to locate element. Details: Attempting to find [Html] element using Find logic (Html): [id 'Exact' image289] AND [tagname 'Exact' img]Unable to locate element. Search failed!Element was found by backup search only! We recommend editing the element to correct the primary find expression. Backup search: 'xpath=/html[1]/body[1]/form[1]/table[1]/tbody[1]/tr[1]/td[1]/div[2]/table[1]/tbody[1]/tr[43]/td[2]/p[1]/a[1]/img[1]'
GenericDialog RowDelete = new GenericDialog(ActiveApplication, "Delete", true, "");
RowDelete.ButtonText =
"Cancel";
Manager.Current.DialogMonitor.AddDialog(RowDelete);
Console.WriteLine("Delete dialog text : " + RowDelete.ButtonText);
RowDelete.WaitUntilHandled(5000);
/*****************************************/
I am getting following error,
/*****************************************/
System.TimeoutException: Timed out waiting '5000' msec. for any dialog to be handled '1'
Result StackTrace:
at ArtOfTest.WebAii.Win32.Dialogs.BaseDialog.WaitUntilAnyHandled(IEnumerable`1 dialogs, Int32 handleCount, Int64 timeoutMilliseconds, Boolean resetHandleCount)
at ArtOfTest.WebAii.Win32.Dialogs.BaseDialog.WaitUntilHandled(Int32 handleCount, Int32 timeout, Boolean resetHandleCount)
at
Kindly help me, thanks in advance.
Regards
Chery Jose
Hi
I need to extract the content of textcontrol and other control from code behind and store it for later use for comparing in subsequent test cases.
I searched all around but didn't get any solution.
for the time being I am using following code to extract the content.
txtNewcontent = Pages.WebApp.SilverlightApp.TxtCustomtextbox.Text
Similarly I am storing all controls data for comparision.
Let me know if there is any better way to do it.
// Click 'OverridelinkLink'
try
{
Pages.CertificateError.OverridelinkLink.Click(
false
);
}
catch
(FindException e){
Log.WriteLine(
"IE Override Link not found"
);
}