Telerik Forums
Test Studio Forum
3 answers
102 views
I had reported the same problem with different points previously, but enough is different now to warrant a new thread, I think.

I successfully recorded and replayed a test in IE8. I have reviewed the setup information for Safari, I am using Safari 5.1, and all is as the sheets say preferences should be. However, when I hit execute with Safari selected, up pops the browser but with an incorrect address in the address window. It has http://localhost:59057/WebUI?2091990182.  The first step in the test is "Navigate to: 'http://localhost:4874/index.html".  In the main window it says "Preparing browser for automation..."

If I manually replace the wrong address with the right address, the browser goes to the app but never executes the remaining steps. If I log in to the correct address manually with the browser without TS it launches the app just fine.

I increased the WaitOnElementsTimeout to 100000 to no avail.

Here is the log output:
------------------------------------------------------------
'8/16/2011 1:17:53 PM' - Starting execution....
'8/16/2011 1:17:53 PM' - Detected a Silverlight Test. Setting EnableSilverlight=True
'8/16/2011 1:18:54 PM' - Failure detected during execution. Details:
------------------------------------------------------------
'8/16/2011 1:18:54 PM' - System.TimeoutException: Wait for condition has timed out
   at ArtOfTest.Common.WaitSync.CheckResult(WaitSync wait, String extraExceptionInfo)
   at ArtOfTest.Common.WaitSync.For[T](Predicate`1 predicate, T target, Boolean invertCondition, Int32 timeout)
   at ArtOfTest.WebAii.Core.Manager.WaitForBrowserToConnect(Int32 browserIndexToWaitFor)
   at ArtOfTest.WebAii.Core.Manager.LaunchNewBrowser(BrowserType browserToLaunch, Boolean waitForBrowserToConnect, ProcessWindowStyle windowStyle, String arguments)
   at ArtOfTest.WebAii.Design.Execution.ExecutionEngine.InitializeWeb(ExecutionEngineCreateParams initParams)
   at ArtOfTest.WebAii.Design.Execution.TestExecuteProxy.CreateAndInitializeEngine(Test test, ExecutionEngineCreateParams cp)
   at ArtOfTest.WebAii.Design.Execution.TestExecuteProxy.ExecuteTest(Test test, Settings settings, String deploymentFolder, String binariesFolder, ExecutionType exeType, Guid firstStepGuid, Guid lastStepGuid, IntPtr existingBrowserHandle, DebuggerOptions debuggerOptions)
------------------------------------------------------------
'8/16/2011 1:18:54 PM' - Test completed!




Lee
Plamen
Telerik team
 answered on 18 Aug 2011
4 answers
136 views

Is there anyone who is using descriptive programming with Telerik?  Is there a way to use it with Telerik.

Thanks,

John

Ajay
Top achievements
Rank 1
 answered on 18 Aug 2011
1 answer
120 views
Double post, please delete.

Hello,

I've been getting compiled error "...can't find Telerik namespace..." when create Script Test or generate Customize Step in Code since installed the licensed version of Test Studio.  This happens due to the existing of "Telerik.WebAii.Controls.Html;"
and "Telerik.WebAii.Controls.Xaml;"  I fix this by commented out those two references and all customized code works as it should.

Check intellisense in the editor (Test Studio), only object under Telerik namespace is TestStudio().

Do I need those reference for future project?  If yes how to fix it, if no how do I exclude those lines in  Test Script?

One more note, I uninstalled the trial version before install User version.

Thanks.
Stoich
Telerik team
 answered on 18 Aug 2011
3 answers
119 views

Hi,

 

Good morning.,

 

I need your guidance or suggestions once again, please help me here.

 

Currently, am done with the test scripts for my application.

 

Now I want to deploy these on some machine, so that everyone should access it and run against the application and show results to them.

 

What should I do?

 

I don’t find exact procedure over telerik test studio diocumentation.

 

Please help me here.

 

Thanks.,

Hari

 

Lee
Top achievements
Rank 1
 answered on 17 Aug 2011
5 answers
197 views
Hi,

I have two issues:

1.Hover over highlighting are missing on popup/model dialog windows...how i can get them on these?
2.i have created around 10 dropdowns with no name attributes on SL app...when executing the recorded test case on these dropdowns (selected items), everytime only first  dropdown is identified...
upon checking the DOM explorer, found that since no name attributes are set for these dropdowns, defualt names are setted...so very first occurence of control caught everytime...
...how can i avoid this issue by identifying this element...correctly...
PFA having default names for drop downs...

wish
Top achievements
Rank 1
 answered on 17 Aug 2011
1 answer
109 views
Hi

I tried adding a validation to check on a hyperlink's RenderSize value.
The generated test code is as shown below:

// Verify BlaBlaHyperlinkbutton.RenderSize 'Equal' '{107 16 False}'
 Assert.AreEqual(ArtOfTest.WebAii.Silverlight.UI.StructSize.Parse("{107 16 False}"), new ArtOfTest.WebAii.Silverlight.UI.StructSize(Pages.AgencySuite0.SilverlightApp.BlaBlaHyperlinkbutton.RenderSize), "Property did not satisfy constraint");

The problem is that BlaBlaHyperlinkbutton as no RenderSize property.

Please advise.

thanks

Stoich
Telerik team
 answered on 15 Aug 2011
1 answer
133 views
Hi Team,

We are using Test Studio for automated testing with our Web application.
Please could you suggest how to implement/do the continuous build integration and testing in our environment.
Does Telerik have some specific tools for the CI process please let me know.

Regards,
Tapan
Plamen
Telerik team
 answered on 15 Aug 2011
2 answers
100 views
Hello

I have a login page.  If the login fails then an error message is displayed, otherwise the user is taken into the website.
I wanted to try an If else statement, and check if the error message is visible and if not then assume success and continue into the website.

However, if the login is successful, the error message label is not visible (and does not exist in the html code) and therefore the test fails with an unable to locate element error.

Unable to locate element. Details: Attempting to find [Html] element using Find logic (Html): [id 'Exact' ctl00_ContentPlaceHolder1_lblmessage] AND [tagname 'Exact' span]


Any suggestions?

Thanks
Cheryl
Top achievements
Rank 1
 answered on 15 Aug 2011
1 answer
75 views
Hello Chaps

I have been working with the "DemoTests" project just trying to confirm some functionality and have been having some strange results.

The coded test VSTSUnitTestUsingProjectElements.cs works fine and passes each time

The visual aii builder created test SimpleGoogleSearch.aii fails even before the test step has been executed.

I have tried disabling the internet explorer add ons but it did not seem to make any difference. There seems to be a number of things that can cause this!

Any help you can offer would be hugely apprieciated

The error message is:

------------------------------------------------------------
'10/08/2011 16:20:59' - Starting execution....
'10/08/2011 16:21:00' - Failure detected during execution. Details:
------------------------------------------------------------
'10/08/2011 16:21:00' - System.ApplicationException: Exception thrown attempting to launch Internet Explorer. Please make sure Internet Explorer is properly installed and you are able to launch it. ---> System.Runtime.InteropServices.COMException
   at System.Runtime.InteropServices.Marshal.ThrowExceptionForHRInternal(Int32 errorCode, IntPtr errorInfo)
   at System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(Int32 errorCode)
   at System.Management.ManagementObject.Get()
   at ArtOfTest.Common.Extensions.ProcessExtensions.GetParentProcess(Process process)
   at ArtOfTest.WebAii.BrowserSpecialized.InternetExplorer.InternetExplorerActions.LaunchNewBrowserInstance(Int32 timeout, ProcessWindowStyle windowStyle, String pipename)
   --- End of inner exception stack trace ---
   at ArtOfTest.WebAii.BrowserSpecialized.InternetExplorer.InternetExplorerActions.LaunchNewBrowserInstance(Int32 timeout, ProcessWindowStyle windowStyle, String pipename)
   at ArtOfTest.WebAii.Core.Manager.LaunchNewBrowser(BrowserType browserToLaunch, Boolean waitForBrowserToConnect, ProcessWindowStyle windowStyle, String arguments)
   at ArtOfTest.WebAii.Design.Execution.ExecutionEngine.InitializeWeb(ExecutionEngineCreateParams initParams)
   at ArtOfTest.WebAii.Design.Execution.TestExecuteProxy.CreateAndInitializeEngine(Test test, ExecutionEngineCreateParams cp)
   at ArtOfTest.WebAii.Design.Execution.TestExecuteProxy.ExecuteTest(Test test, Settings settings, String deploymentFolder, String binariesFolder, ExecutionType exeType, Guid firstStepGuid, Guid lastStepGuid, IntPtr existingBrowserHandle, DebuggerOptions debuggerOptions)
------------------------------------------------------------
'10/08/2011 16:21:00' - Test completed!


Cody
Telerik team
 answered on 12 Aug 2011
1 answer
131 views

Hi,

 

Good Morning.,

 

Iam working on an issue of telerik test studio.

 

Can you please provide your comments/suggestions on this.

 

Issue Description:

 

Iam using Evalution version of Telerik Test Studio.

 

Iam trying to record a test case on Silverlight application (on locally hosted & remotely hosted applications)

 

When am recording on locally hosted Silverlight application, recording going smooth without issue but on remotely hosted application, the recording is failing with the following attached error message.

 

 

 

Upon going thru the documentation of telerik test studio, found below url with the solution.

 

http://www.telerik.com/automated-testing-tools/support/documentation/user-guide/troubleshooting_guide/recording-problems/unable-to-connect-to-silverlight-application.aspx

 

I just want to know, the solution mentioned in the above url (attributes to be added are mentioned) is solution for remotely hosted Silverlight application.

 

NOTE:

 

One of my colleague told me that she previously (around one year back) worked on Telerik Web UI Test Studio, where she worked on recording test cases on this Silverlight application which hosted remotely and she didn’t face any issues while recording.

But with this new version Telerik Test studio , why this issue is coming?

 

Please clarify me on this.

 

Thanks.,
Hari Wish

Cody
Telerik team
 answered on 12 Aug 2011
Narrow your results
Selected tags
Tags
+? more
Top users last month
Rob
Top achievements
Rank 3
Bronze
Iron
Iron
Sergii
Top achievements
Rank 1
Iron
Iron
Dedalus
Top achievements
Rank 1
Iron
Iron
Lan
Top achievements
Rank 1
Iron
Doug
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Top users last month
Rob
Top achievements
Rank 3
Bronze
Iron
Iron
Sergii
Top achievements
Rank 1
Iron
Iron
Dedalus
Top achievements
Rank 1
Iron
Iron
Lan
Top achievements
Rank 1
Iron
Doug
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?