Hi Telerik Team,
I am facing an issue while selecting an item from the list. I am trying to select an item from the list. The list is a ‘Div’ element. In DOM Explorer when I see the list and the items from the list. The list is shown as ‘Div’ tag and all the list items are also shown as ‘Div’ tag. So I believe that the control will not support the methods available for list.
To select an item from the list I am using below code. The code is not returning any error. But it also not selecting an item from the list.
ActiveBrowser.Window.SetFocus();
Pages.Page1.Frame.dropdownButton.Click(false);
System.Threading.Thread.Sleep(2000);
var testList = Pages.Page1.Frame.testList;
HtmlDiv itemToSelect = testList.Find.ByExpression<HtmlDiv>("TagName=div", "class=dropDownItem","InnerText=" + listItemName); // listItemName is global variable
Assert.IsNotNull(itemToSelect, String.Format("Failed to find the list item '{0}' in the list.", listItemName));
// itemToSelect.Click(false);
// itemToSelect.MouseHover();
itemToSelect.ScrollToVisible();
itemToSelect.MouseClick();
System.Threading.Thread.Sleep(5000);
Microsoft.Office.Interop.Excel.Application excelApp = new
Microsoft.Office.Interop.Excel.Application();
Hi!
I get the error Unable to launch recorder
I use IE8, windows Xp profesional.
I have no web aii framework or older wersion of web ut installed , but the recorder is not launching.
I try WebUI_TestStudio_QA_2010_2_830_Trial
Please, help me.
The log is
[19:42] - LogMessage: [19:42:42] - WebUI Test Studio (version:2010.2.830.0) started.
[19:44] - ------- Function Start 'StandaloneHost.EditControlledFiles' -------
[19:44] - ------- Function End 'StandaloneHost.EditControlledFiles' -------
[19:44] - ------- Function Start 'StandaloneHost.EditControlledFiles' -------
[19:44] - ------- Function End 'StandaloneHost.EditControlledFiles' -------
[19:44] - ------- Function Start 'StandaloneHost.EditControlledFiles' -------
[19:44] - ------- Function End 'StandaloneHost.EditControlledFiles' -------
[19:44] - ------- Function Start 'StandaloneHost.EditControlledFiles' -------
[19:44] - ------- Function End 'StandaloneHost.EditControlledFiles' -------
[19:44] - LogMessage: [19:44:23] - Active Project is : 'TestProject1'
[19:44] - ------- Function Start 'StandaloneHost.EditControlledFiles' -------
[19:44] - ------- Function End 'StandaloneHost.EditControlledFiles' -------
[19:44] - ------- Function Start 'StandaloneHost.EditControlledFiles' -------
[19:44] - ------- Function End 'StandaloneHost.EditControlledFiles' -------
[19:44] - LogMessage: [19:44:24] - Project 'TestProject1' Created.
[19:44] - ------- Function Start 'StandaloneHost.EditControlledFiles' -------
[19:44] - ------- Function End 'StandaloneHost.EditControlledFiles' -------
[19:44] - LogMessage: [19:44:53] - Test 'New Test' selected.
[19:45] - Error launching the recorder. Error : System.TimeoutException: Wait for condition has timed out
в ArtOfTest.Common.WaitSync.CheckResult(WaitSync wait, String extraExceptionInfo)
в ArtOfTest.Common.WaitSync.For[T](Predicate`1 predicate, T target, Boolean invertCondition, Int32 timeout)
в ArtOfTest.Common.WaitSync.For[T](Predicate`1 predicate, T target, Int32 timeout)
в ArtOfTest.WebAii.Design.RecorderWindowManager.WaitForRecorderCallBackReady()
в ArtOfTest.WebAii.Design.RecorderWindowManager.<>c__DisplayClass8.<EnsureActiveBrowser>b__7()
[19:46] - Error launching the recorder. Error : System.TimeoutException: Wait for condition has timed out
в ArtOfTest.Common.WaitSync.CheckResult(WaitSync wait, String extraExceptionInfo)
в ArtOfTest.Common.WaitSync.For[T](Predicate`1 predicate, T target, Boolean invertCondition, Int32 timeout)
в ArtOfTest.Common.WaitSync.For[T](Predicate`1 predicate, T target, Int32 timeout)
в ArtOfTest.WebAii.Design.RecorderWindowManager.WaitForRecorderCallBackReady()
в ArtOfTest.WebAii.Design.RecorderWindowManager.<>c__DisplayClass8.<EnsureActiveBrowser>b__7()
I have a test where I'm first verifying that a button is enabled, then I click that button and it changes to a RadListBox.
I can verify that a particular item = index 1 or whatever, but I can't seem to click an item to select.
On Record, the step is added to the test:
RadListBoxItem('ctl00_ContentPlaceHolder1_lstMyTeam_i1'): '
Australia' action -> 'Select'
but on running the test it fails at this line with
'16/08/2011 2:23:46 p.m.' - 'Fail' : 7. RadListBoxItem('ctl00_ContentPlaceHolder1_lstMyTeam_i1'): 'Australia' action -> 'Select'------------------------------------------------------------Failure Information: ~~~~~~~~~~~~~~~Object reference not set to an instance of an object.InnerException:System.NullReferenceException: Object reference not set to an instance of an object. at Telerik.WebAii.Controls.Html.RadListBoxItem.Select() at Telerik.WebAii.Design.Translators.Html.ListBox.RadListBoxItemActionDescriptor.Execute(Browser browser) at ArtOfTest.WebAii.Design.Extensibility.HtmlActionDescriptor.Execute(IAutomationHost autoHost) at ArtOfTest.WebAii.Design.Execution.ExecutionEngine.ExecuteStep(Int32 order)
Is there anything that I need to check or any setting i need to change in order to be able to select an item in a RadListBox?
Thanks
I want to test performance of my web application, for this I did following:
Controller and agents got enable and turned their buttons into green but reporter didn’t most of the time. Reporter remains into red even I started service from “Configure Load Test Services” but still “Run this test” button is disabled and having message “cannot run because reporter cannot establish its databases”.
I m facing above problem most of the time but if reporter turns into green I could not analyze results. I cannot see any results in “Analyze your results” window.
I m facing one more issue that when I attempted to stop the service and restart it, I m getting “Unable to save configuration file. Be sure you have permissions to save the file” error on clicking “Apply” or “Ok” buttons.
Kindly guide me in above scenarios.
Thanks in advance
I want to test performance of my web application, for this I did following:
• Created a small web test
• Designed a load test (1. Environment setup and 2. Define user profiles, balance workload & adjust test settings)
Controller and agents got enable and turned their buttons into green but reporter didn’t most of the time. Reporter remains into red even I started service from “Configure Load Test Services” but still “Run this test” button is disabled and having message “cannot run because reporter cannot establish its databases”.
I m facing above problem most of the time but if reporter turns into green I could not analyze results. I cannot see any results in “Analyze your results” window.
I m facing one more issue that when I attempted to stop the service and restart it, I m getting “Unable to save configuration file. Be sure you have permissions to save the file” error on clicking “Apply” or “Ok” buttons.
Kindly guide me in above scenarios.
Thanks in advance