Telerik Forums
Test Studio Forum
1 answer
77 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
135 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
218 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
117 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
132 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
124 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
121 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
154 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
2 answers
83 views
Hi,

I have below issue:

When am trying to enable the Hover Over highlighting in popup/model dialog windows...its not showing...
can you pls help me here..?

Thanks
Hari
Anthony
Telerik team
 answered on 10 Aug 2011
7 answers
259 views
Hi,

I am using the QA edition of test studio - our environment is highly virtualized, so I am running TestStudio on a Windows 7 VM that I access via RDP.

I've noticed a very frustrating issue, and I'm hoping you can provide some insight. I have a login test that enters a username, password, changes a dropdown option, then clicks a button to login. This test works just fine when I observe it in the RDP session. However, if I shrink the RDP window, or close the RDP window (without logging out), the username and password are not entered, but the dropdown option is changed and the login button was clicked. It appears that the mouse clicks work, but the text entry does not work unless I am viewing the RDP session.

Ideally we would like to schedule these tests to run on this machine at various times, and we do not want to be required to have an RDP session open to do so. I figured this was possible as long as you don't log out of the account you're running it under, but now i'm not so sure. It also appears that the screen capture at failure does not properly work if I am not viewing the test run in the RDP session. Please let me know any insight you have.

Thanks,
Zach
Anthony
Telerik team
 answered on 10 Aug 2011
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?