Telerik Forums
Test Studio Forum
4 answers
133 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
113 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
114 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
193 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
103 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
127 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
99 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
72 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
126 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
3 answers
209 views
Hi Telerik support

I have an evaluation version of the test studio.
Trying out the product I need to create a test scenario -which I successfully recorded.
Then I need to export it to c# code and use it in my code.

First of all it seems that the generated test solution is not completed.
some class references are missing:

  1. no Pages class not found
  2. Manager class not found
  3. ActiveBrowser  class not found

I could see no init code only final test steps using, what looks like, auto generated code (Pages)

Am I missing something ?

Thanks 

Plamen
Telerik team
 answered on 12 Aug 2011
Narrow your results
Selected tags
Tags
+? more
Top users last month
Jay
Top achievements
Rank 3
Bronze
Iron
Iron
yw
Top achievements
Rank 2
Iron
Iron
Stefan
Top achievements
Rank 2
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Jay
Top achievements
Rank 3
Bronze
Iron
Iron
yw
Top achievements
Rank 2
Iron
Iron
Stefan
Top achievements
Rank 2
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Bohdan
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?