Telerik Forums
Test Studio Forum
4 answers
223 views

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

VVP
Top achievements
Rank 2
 answered on 24 Jun 2015
9 answers
124 views

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?

 

Cody
Telerik team
 answered on 22 Jun 2015
1 answer
75 views
I have been using Telerik Test Studio for a few weeks now, and there are many times when a test case is working at one time, but if I try executing it again, it doesn't work. But if I re-record it and execute, everything works seamlessly.

Could you suggest any way to tackle this situation? Or any guidelines to help me avoid this situation in the future?

Thanks!
Boyan Boev
Telerik team
 answered on 22 Jun 2015
1 answer
143 views

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.

Boyan Boev
Telerik team
 answered on 22 Jun 2015
2 answers
106 views

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.

Boyan Boev
Telerik team
 answered on 22 Jun 2015
1 answer
84 views

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

Ivaylo
Telerik team
 answered on 19 Jun 2015
1 answer
84 views

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,

Ivaylo
Telerik team
 answered on 19 Jun 2015
2 answers
286 views
Hi,
 

We are evaluating Telerik Test Studio for performing functional and load tests on ASP.NET sites. So far there are some major issues that we are facing and prevent us from implementing a basic test for load test (functional test runs more or less fine). Problems are as follows:

 1. There is an application server with its own authentication logic. Upon authentication user gets session identifier, which is eventually set in cookie. The problem here is that after recording a load test and re-running it, old session identifier is used. And no cookies are presented in dynamic targets so that this could somehow be fixed. In the end result application server reports back that the given session is expired and test fails.
 

2. On the side of ASP.NET pages are using custom PageStatePersister, which stores view state in session. And the problem here is that the data that was once stored in session page state, is discarded by other requests initiated by Test Studio. I can vaguely imagine why this is so.
 

To make a decision on whether to continue with Telerik Test Studio, we need to know if this is a know issue/limitation or this is something that we do wrong.


Web site and test solution are attached.
Cody
Telerik team
 answered on 19 Jun 2015
6 answers
123 views

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

Cody
Telerik team
 answered on 18 Jun 2015
4 answers
161 views

 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!

Ivaylo
Telerik team
 answered on 18 Jun 2015
Narrow your results
Selected tags
Tags
+? more
Top users last month
Edmond
Top achievements
Rank 1
Iron
fabrizio
Top achievements
Rank 2
Iron
Veteran
RobMarz
Top achievements
Rank 2
Iron
Fakhrul
Top achievements
Rank 1
Iron
Tejas
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Edmond
Top achievements
Rank 1
Iron
fabrizio
Top achievements
Rank 2
Iron
Veteran
RobMarz
Top achievements
Rank 2
Iron
Fakhrul
Top achievements
Rank 1
Iron
Tejas
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?