Hi,
I saw a lot of Manager.ActiveBrowser.Refresh(); in our company test automation framework.
Even after clicking on a link refresh is being done. Doesn't Telerik automatically refresh browser DOM tree. Is it needed after every single click?
Thanks,
VVP
Hi,
I have the test steps below:
- click button “Add user” - appears new row for adding data
- fill all required fields
- click "Add" link to add new user. http://joxi.ru/GrqyRR3i0B3Drz (http://joxi.ru/5mdQDDwfdlba21 <a href="javascript:Grid1_insertRow();"></a>)
Currently my application under test behavior is after clicking “Add” link, a JavaScript is called to adding the data
In my test script, I used:
Manager.Desktop.Mouse.Click(MouseClickType.LeftClick, Pages.KudzuCallCenter.AddLink.GetRectangle()); http://joxi.ru/bmovllaF1Gp9ry
But I've got following error:
d:\Telerik\CPK\WebTest.tstest.cs: Line 85: (CS0012) The type 'System.Drawing.Rectangle' is defined in an assembly that is not referenced. You must add a reference to assembly 'System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'.
d:\Telerik\CPK\WebTest.tstest.cs: Line 85: (CS0012) The type 'System.Drawing.Point' is defined in an assembly that is not referenced. You must add a reference to assembly 'System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'.
http://joxi.ru/nAy9yy7uRqpPAZ
How can I fix this problem?
Hi all,
As always, i have a problem. :) I created a test. When I changed the input variable in test, my test fails. I attached images that represent my problem. Thanks for your helps.
Hi all,
I have a problem about searching in table. Actually, i need to verify listed items in table contains given input. However, i can not find true element for verification. I added images for you to understand the problem.
Hi,
I have bound an excel file and am trying to complete an import with multiple lines on a loop. The first pass on the import runs fine but the second loop imports the first line all over again instead of dropping to the second line. Is there something specific I need to do to on the bind to tell it which row goes where that I am missing?
Thanks! Laura
Hello,
I am testing a web application, in this app, i have a text field, that takes date and calculates the age accordingly.
the age is calculated the moment you navigate out of the field.
when i recorded the test, the age was calculated properly, but wen executing it, the age is not calculated, what shall i do?
Thanks,
Essra,
Hi everyone,
I have a problem about binding a source to input a textbox. In my company's online tool, you can create statistical models with variety of way. I need to test every model. I listed all steps to create a model. Firstly, in order to create a model, you need to give a name. All steps working well. However, i can not create automated creating of models. I can not bind model name textbox with a datasource. I attached the images that show my problem. I need to add a source to TxtWizardShortName property a datasource to take names. I added also data source i created. Please help me. Thank you
Hello.
Is there any workaround how to avoid timeout issue on Navigate to step when executing a test list? This is quite annoying behaviour....
Overall Result: Fail
------------------------------------------------------------
'4.6.2015 1:30:20' - Executing test: 'Failed.Login(Chrome)', path: 'Basics\Failed.Login.tstest.'
'4.6.2015 1:30:20' - Using .Net Runtime version: '4.0.30319.18449' for test execution. Build version is '2015.1.319.0'.
'4.6.2015 1:30:20' - Starting execution....
------------------------------------------------------------
------------------------------------------------------------
'4.6.2015 1:30:30' - Using 'Chrome' version '43.0.2357.81' as default browser.
'4.6.2015 1:30:30' - Using 'http://sw-fitnes/BAP/' as base url.
'4.6.2015 1:30:52' - 'Fail' : 1. Navigate to : '/'
------------------------------------------------------------
Failure Information:
~~~~~~~~~~~~~~~
ExecuteCommand failed!
BrowserCommand (Type:'Information',Info:'IsReady',Action:'NotSet',Target:'null',Data:'',ClientId:'efde698c-d14a-4235-a062-003a0b1906af',HasFrames:'False',FramesInfo:'',TargetFrameIndex:'-1',InError:'False',Response:'')
InnerException: System.TimeoutException: Timed out waiting for command to be handled
at ArtOfTest.WebAii.Messaging.Process.BrowserHostsProxyRemoted.ProcessBrowserRequest(BrowserCommand command, String requestId, Int32 timeout)
at ArtOfTest.WebAii.Messaging.Process.BrowserHostsProxyRemoted.ProcessBrowserRequest(BrowserCommand command, String requestId)
at ArtOfTest.WebAii.Core.Browser.ExecuteCommandInternal(BrowserCommand request)
InnerException:
ArtOfTest.WebAii.Exceptions.ExecuteCommandException: ExecuteCommand failed!
BrowserCommand (Type:'Information',Info:'IsReady',Action:'NotSet',Target:'null',Data:'',ClientId:'efde698c-d14a-4235-a062-003a0b1906af',HasFrames:'False',FramesInfo:'',TargetFrameIndex:'-1',InError:'False',Response:'')
InnerException: System.TimeoutException: Timed out waiting for command to be handled
at ArtOfTest.WebAii.Messaging.Process.BrowserHostsProxyRemoted.ProcessBrowserRequest(BrowserCommand command, String requestId, Int32 timeout)
at ArtOfTest.WebAii.Messaging.Process.BrowserHostsProxyRemoted.ProcessBrowserRequest(BrowserCommand command, String requestId)
at ArtOfTest.WebAii.Core.Browser.ExecuteCommandInternal(BrowserCommand request)
---> System.TimeoutException: Timed out waiting for command to be handled
at ArtOfTest.WebAii.Messaging.Process.BrowserHostsProxyRemoted.ProcessBrowserRequest(BrowserCommand command, String requestId, Int32 timeout)
at ArtOfTest.WebAii.Messaging.Process.BrowserHostsProxyRemoted.ProcessBrowserRequest(BrowserCommand command, String requestId)
at ArtOfTest.WebAii.Core.Browser.ExecuteCommandInternal(BrowserCommand request)
--- End of inner exception stack trace ---
at ArtOfTest.WebAii.Core.Browser.ExecuteCommandInternal(BrowserCommand request)
at ArtOfTest.WebAii.Core.Browser.ExecuteCommand(BrowserCommand request, Boolean performDomRefresh, Boolean waitUntilReady)
at ArtOfTest.WebAii.Core.Browser.IsReady()
at ArtOfTest.WebAii.Core.Browser.WaitUntilReady()
at ArtOfTest.WebAii.Core.Browser.ExecuteCommand(BrowserCommand request, Boolean performDomRefresh, Boolean waitUntilReady)
at ArtOfTest.WebAii.Core.Browser.ExecuteCommand(BrowserCommand request)
at ArtOfTest.WebAii.Core.Browser.InternalNavigateTo(Uri uri, Boolean useDecodedUrl)
at ArtOfTest.WebAii.Core.Browser.NavigateTo(Uri uri, Boolean useDecodedUrl)
at ArtOfTest.WebAii.Core.Browser.NavigateTo(String url, Boolean useDecodedUrl)
at ArtOfTest.WebAii.Design.IntrinsicTranslators.Descriptors.NavigateToActionDescriptor.Execute(Browser browser)
at ArtOfTest.WebAii.Design.Extensibility.HtmlActionDescriptor.Execute(IAutomationHost autoHost)
at ArtOfTest.WebAii.Design.Execution.ExecutionEngine.ExecuteStep(Int32 order)
------------------------------------------------------------
'4.6.2015 1:30:52' - Detected a failure. Step is marked 'ContinueOnFailure=False' aborting test execution.
------------------------------------------------------------
'4.6.2015 1:30:52' - Overall Result: Fail
'4.6.2015 1:30:52' - Duration: [0 min: 22 sec: 34 msec]
------------------------------------------------------------
'4.6.2015 1:31:03' - Test completed!