Telerik Forums
Test Studio Forum
1 answer
124 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
98 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
69 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
123 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
207 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
1 answer
103 views
Hi,
 I am getting the following Error while execution test as List.
This test works fine while running as test  but it gives error when Executing as List.....
It is show stoper for me now so Please help me out with this issue..
Find the attached Log for more detail.
------------------------------------------------------------
'8/11/2011 2:06:08 PM' - Detected custom code in test. Locating test assembly: Automation.dll.
'8/11/2011 2:06:08 PM' - Assembly Found: C:\Automation1\bin\Automation.dll
'8/11/2011 2:06:08 PM' - Loading code class: 'Automation.ChartOfAccount'.
------------------------------------------------------------
'8/11/2011 2:06:48 PM' - Error attempting to execute a Test As Step. Details:
'8/11/2011 2:06:48 PM' - System.NullReferenceException: Object reference not set to an instance of an object.
   at ArtOfTest.WebAii.Design.Execution.ExecutionEngine.ExecuteDataDrivenTest(Test test, BaseWebAiiTest codeInstance)
   at ArtOfTest.WebAii.Design.Execution.ExecutionEngine.InternalExecuteTest(Test test, TestResult initializationResult)
   at ArtOfTest.WebAii.Design.Execution.ExecutionEngine.ExecuteTestInCurrentContext(Test test)
Plamen
Telerik team
 answered on 12 Aug 2011
1 answer
117 views
Hi Telerik Team,

Can you provide some custom codes for us on how to verify the whole text inside the RichTextBox and determine if its an hyperlink. Like the one from this post.

Thanks a lot!
Cody
Telerik team
 answered on 11 Aug 2011
3 answers
113 views
Hi

I plan on running the tests recorded via a schedule job using a command running ArtOfTest.Runner.exe.
I need to know if the test pass or failed.
The only way I see is the results written to your custom file results.
Is there another way of getting the final test results?

Thanks
dudi
Top achievements
Rank 1
 answered on 11 Aug 2011
2 answers
112 views
Hi

I need to create some small test cases, that together are a complete test scenario.
For example:
  1. Test1 - do login and validate succeeded and redirected to main page.
  2. Test2 select an item in a combobox on main page

I recorded the 2 test and the created a list executing the first the the second case.
The problem is that after test1 ends the browser is closed and the reopen again when test 2 starts.

But the second time the browser is open it should be after login and on main page for the second test to succeed - so it fail...

Is there a way to create a test flow made out of sub test cases ?

Thank
dudi
Top achievements
Rank 1
 answered on 11 Aug 2011
2 answers
138 views

Posted on Aug 5, 2011 (permalink)

Hi,

I have below issue:

Is it possible to identify the control to which name attribute is not set????

for example...my issue here....
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...

Pls help me here...

Thanks
Hari
Anthony
Telerik team
 answered on 10 Aug 2011
Narrow your results
Selected tags
Tags
+? more
Top users last month
Rob
Top achievements
Rank 3
Iron
Iron
Iron
Atul
Top achievements
Rank 1
Iron
Iron
Iron
Alexander
Top achievements
Rank 1
Veteran
Iron
Serkan
Top achievements
Rank 1
Iron
Shawn
Top achievements
Rank 1
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Rob
Top achievements
Rank 3
Iron
Iron
Iron
Atul
Top achievements
Rank 1
Iron
Iron
Iron
Alexander
Top achievements
Rank 1
Veteran
Iron
Serkan
Top achievements
Rank 1
Iron
Shawn
Top achievements
Rank 1
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?