Telerik Forums
Test Studio Forum
1 answer
94 views
Hello, we are doing some proves with your product (Test studio), one of them requires to test an aplication made in c#, we need to know if Test Studio supports  this lenguage and others like delphi and delphi .net.
If is posible to have a tutorial to create this kind of test, We will be very grateful.
Cody
Telerik team
 answered on 17 Mar 2015
2 answers
88 views
For some reason, projects that don't exist are being pushed to the remote server and I'm seeing this error

[03/11 11:13:31,Telerik.TestStudio.RemoteExecutor.exe(5980:18),Execution] TestPlatform.OnRunnerError() : Error during remote runner execution: Compile failed: c:\Users\Wade.Courtney\AppData\Local\Temp\Projects\e1c75146-f9df-4222-96b0-c17ba9737558\Estore\Customize.tstest.cs(53,46) : error CS1061: 'TestProject1.Pages.PopularPromotionalContour0Page' does not contain a definition for 'CTRUD7Image' and no extension method 'CTRUD7Image' accepting a first argument of type 'TestProject1.Pages.PopularPromotionalContour0Page' could be found (are you missing a using directive or an assembly reference?)

I can't find it
Ivaylo
Telerik team
 answered on 16 Mar 2015
3 answers
135 views
We are attempting to run WPF tests via TestStudio under TeamCity.  I have been trying to avoid using a hard coded WPF application path, as we are letting TeamCity checkout the source code to a temp directory.  I set up an environment variable the tests to use an environment variable to locate the application but we running under TeamCity's MSTest to be %env.teamcity.build.checkoutDir%\project\bin\Release\project.exe.  While using the VS TestStudio plug-in the application loads however, when running on TeamCity it is never able to locate the application.


[16:53:13]
[Step 2/4] MSTest

[16:53:14][MSTest] Found 4 test definitions.

[16:53:14][MSTest] clickbutton

[16:53:14][clickbutton] ------------------------------------------------------------ '11/14/2013 4:52:14 PM' - Using .Net Runtime version: '4.0.30319.17929' for test execution. Build version is '2013.1.1114.0'. '11/14/2013 4:52:14 PM' - Starting execution.... '11/14/2013 4:52:18 PM' - Failure detected during execution. Details: ------------------------------------------------------------ '11/14/2013 4:52:18 PM' - System.IO.FileNotFoundException: Could not load file or assembly 'file:///C:\TeamCity\buildAgent\temp\buildTmp\testuser_VM-UNITTEST 2013-11-14 16_52_01\Out\%env.teamcity.build.checkoutDir%\project\bin\Release\project.exe' or one of its dependencies. The system cannot find the file specified. File name: 'file:///C:\TeamCity\buildAgent\temp\buildTmp\testuser_VM-UNITTEST 2013-11-14 16_52_01\Out\%env.teamcity.build.checkoutDir%\project\bin\Release\project.exe' at System.Reflection.RuntimeAssembly._nLoad(AssemblyName fileName, String codeBase, Evidence assemblySecurity, RuntimeAssembly locationHint, StackCrawlMark& stackMark, IntPtr pPrivHostBinder, Boolean throwOnFileNotFound, Boolean forIntrospection, Boolean suppressSecurityChecks) at System.Reflection.RuntimeAssembly.nLoad(AssemblyName fileName, String codeBase, Evidence assemblySecurity, RuntimeAssembly locationHint, StackCrawlMark& stackMark, IntPtr pPrivHostBinder, Boolean throwOnFileNotFound, Boolean forIntrospection, Boolean suppressSecurityChecks) at System.Reflection.RuntimeAssembly.InternalLoadAssemblyName(AssemblyName assemblyRef, Evidence assemblySecurity, RuntimeAssembly reqAssembly, StackCrawlMark& stackMark, IntPtr pPrivHostBinder, Boolean throwOnFileNotFound, Boolean forIntrospection, Boolean suppressSecurityChecks) at System.Reflection.RuntimeAssembly.InternalLoadAssemblyName(AssemblyName assemblyRef, Evidence assemblySecurity, RuntimeAssembly reqAssembly, StackCrawlMark& stackMark, Boolean throwOnFileNotFound, Boolean forIntrospection, Boolean suppressSecurityChecks) at System.Reflection.RuntimeAssembly.InternalLoadFrom(String assemblyFile, Evidence securityEvidence, Byte[] hashValue, AssemblyHashAlgorithm hashAlgorithm, Boolean forIntrospection, Boolean suppressSecurityChecks, StackCrawlMark& stackMark) at System.Reflection.Assembly.ReflectionOnlyLoadFrom(String assemblyFile) at ArtOfTest.WebAii.Design.Execution.ExecutionEngine.ValidateApplication(String file) at ArtOfTest.WebAii.Design.Execution.ExecutionEngine.InitializeWpf(ExecutionEngineCreateParams initParams) at ArtOfTest.WebAii.Design.Execution.TestExecuteProxy.CreateAndInitializeEngine(Test test, ExecutionEngineCreateParams cp) at ArtOfTest.WebAii.Design.Execution.TestExecuteProxy.ExecuteTest(ExecuteTestCommand command) WRN: Assembly binding logging is turned OFF. To enable assembly bind failure logging, set the registry value [HKLM\Software\Microsoft\Fusion!EnableLog] (DWORD) to 1. Note: There is some performance penalty associated with assembly bind failure logging. To turn this feature off, remove the registry value [HKLM\Software\Microsoft\Fusion!EnableLog]. ------------------------------------------------------------ '11/14/2013 4:52:19 PM' - Test completed!

 

Cody
Telerik team
 answered on 13 Mar 2015
5 answers
44 views
Hi,


During the execution of automation testing, the telerik exe gets closed frequently. So, we can't able to run the test fully.

Note:

In our web application, we used metronic theme and Kendo UI controls for development.
Cody
Telerik team
 answered on 12 Mar 2015
3 answers
155 views
While recording and running tests, Test Studio just ranomly crashes and I have to restart everything over again.

Sometimes it has difficulty even opening up the tests that I just created and automatically fails them. Sometimes it just sits there on a blank screen. For some reason it is having issues on simple click details that it should not be having issues on at all.

It's a gamble when I try to record or execute a test. What can I do?
Ivaylo
Telerik team
 answered on 12 Mar 2015
2 answers
75 views
Hello,

I am doing a simple record and playback on click a link in a frame on an application.
However, during playback, at this recorded steps "Click 'GridSearchResultsSiteUrl4Link'"
I hit the following error where Telerik failed to locate the element.

Unable to find the target host (Browser/SilverlightApp) to locate an element. Failure: Waiting for frame '[Frame:id=g_cbd96484_1905_4d21_9e33_125711d9ad69,name=Frame_0,src=https://dongenergydt.sharepoint.com/sites/Collaboration/_layouts/15/appredirect.aspx,UseQuery:False]' timed out. Error: Wait for condition has timed out
Unable to find the target host (Browser/SilverlightApp) to locate an element. Failure: Waiting for frame '[Frame:id=g_cbd96484_1905_4d21_9e33_125711d9ad69,name=Frame_0,src=https://dongenergydt.sharepoint.com/sites/Collaboration/_layouts/15/appredirect.aspx,UseQuery:False]' timed out. Error: Wait for condition has timed out

Can someone please kindly help me?
I have attached file with the screen shots of the UI and the properties.
Do i need to add some codes to this?

Thank YOU so much!
Have a beautiful day.

Boyan Boev
Telerik team
 answered on 12 Mar 2015
1 answer
41 views
We have designed a page with RadHtmlPlaceholder. But now, we wish to test this in our UI suite using WebAii.
I have installed the latest WebAii, but am unable to locate the class which contains RadHtmlPlaceholder within WebAii for testing.
Without using RadHtmlPlaceholder properties, I am unable to perform any actions (click, scroll etc.) on the HTML elements within.
Could you please let me know which class in WebAii contains RadHtmlPlaceholder?
And also, direct me to the exact link in the WebAii API documentation which contains RadHtmlPlaceholder?
Cody
Telerik team
 answered on 11 Mar 2015
5 answers
72 views
Hi,

           When I am focusing the KendoGrid cell, I got error like

            " System.ArgumentOutOfRangeException: Index was out of range. Must be non-negative and less than the size of the collection.
            Parameter name: index
            at System.ThrowHelper.ThrowArgumentOutOfRangeException()
            at System.Collections.Generic.List`1.get_Item(Int32 index)"

         To focusing the grid cell, Iam used below mentioned coding,
                
                int i=0,j=1;
                KendoGrid grid = ActiveBrowser.Find.ById<KendoGrid>("grdVerifyDataIPIV101000010005");
                grid.MouseHover();
                grid.ScrollToVisible();

                grid.DataItems[i].Cells[j].Focus();
                grid.DataItems[i].Cells[j].MouseHover(); 

          I got error in " grid.DataItems[i].Cells[j].Focus();" this line.

          In this where I did Mistake?...
Ivaylo
Telerik team
 answered on 10 Mar 2015
3 answers
100 views
What is the best way to accomplish publishing test results so that you have an HTML link to them?   Can this be done thru the scheduling server, or some other way?
Ivaylo
Telerik team
 answered on 06 Mar 2015
13 answers
76 views
Hi
I have a coded step which loops through the HeaderRow.HeaderCells collection of a RadGridView in order to find a particular column.
The test is data-driven and after the 2nd iteration of the datasource some of the cells in HeaderCells collection get reordered and no longer reflects the actual grid.
The attached image shows the grid. In the application, the columns in the grid are reset/added on each iteration of the datasource, but the first three are always "*", "Report Date" and "AVA".
Below is part of the code in the coded step which displays the header cells along with their Index.
var grid = Applications.MizuhoIPVShellSYS2exe.IPV_Database_Tool.AvaCaptureGrid;
foreach(GridViewHeaderCell c in grid.HeaderRow.HeaderCells)
{
    Log.WriteLine(String.Format("hr[{0}]-{1}",c.Index,c.Text));
}
Below is the output from this step. As you can see the first two sets get the columns in correct order (* -> Report Date -> AVA), but subsequent steps get AVA -> Report Date -> *. And even the Index property is reordered.
'23/02/2015 16:34:19' - LOG: hr[0]-*
'23/02/2015 16:34:19' - LOG: hr[1]-Report Date
'23/02/2015 16:34:19' - LOG: hr[2]-AVA
'23/02/2015 16:34:19' - LOG: hr[3]-Close out costs
'23/02/2015 16:34:19' - LOG: hr[4]-Notes
'23/02/2015 16:34:19' - LOG: hr[5]-Capture Levels
'23/02/2015 16:34:19' - LOG: hr[6]-Tolerance
.
.
'23/02/2015 16:34:35' - LOG: hr[0]-*
'23/02/2015 16:34:35' - LOG: hr[1]-Report Date
'23/02/2015 16:34:35' - LOG: hr[2]-AVA
'23/02/2015 16:34:35' - LOG: hr[3]-Model risk
'23/02/2015 16:34:35' - LOG: hr[4]-Notes
'23/02/2015 16:34:35' - LOG: hr[5]-Capture Levels
'23/02/2015 16:34:35' - LOG: hr[6]-Tolerance
.
.
'23/02/2015 16:35:25' - LOG: hr[0]-AVA
'23/02/2015 16:35:25' - LOG: hr[1]-Report Date
'23/02/2015 16:35:25' - LOG: hr[2]-*
'23/02/2015 16:35:25' - LOG: hr[3]-MPU - Lower
'23/02/2015 16:35:25' - LOG: hr[4]-Notes
'23/02/2015 16:35:25' - LOG: hr[5]-Capture Levels
'23/02/2015 16:35:25' - LOG: hr[6]-Tolerance
.
.
'23/02/2015 16:35:40' - LOG: hr[0]-AVA
'23/02/2015 16:35:40' - LOG: hr[1]-Report Date
'23/02/2015 16:35:40' - LOG: hr[2]-*
'23/02/2015 16:35:40' - LOG: hr[3]-Concentrated position
'23/02/2015 16:35:40' - LOG: hr[4]-Notes
'23/02/2015 16:35:40' - LOG: hr[5]-Capture Levels
'23/02/2015 16:35:40' - LOG: hr[6]-Tolerance
.
.
'23/02/2015 16:36:06' - LOG: hr[0]-AVA
'23/02/2015 16:36:06' - LOG: hr[1]-Report Date
'23/02/2015 16:36:06' - LOG: hr[2]-*
'23/02/2015 16:36:06' - LOG: hr[3]-Close out costs
'23/02/2015 16:36:06' - LOG: hr[4]-Notes
'23/02/2015 16:36:06' - LOG: hr[5]-Capture Levels
'23/02/2015 16:36:06' - LOG: hr[6]-Tolerance
.
.
'23/02/2015 16:36:20' - LOG: hr[0]-AVA
'23/02/2015 16:36:20' - LOG: hr[1]-Report Date
'23/02/2015 16:36:20' - LOG: hr[2]-*
'23/02/2015 16:36:20' - LOG: hr[3]-Model risk
'23/02/2015 16:36:20' - LOG: hr[4]-Notes
'23/02/2015 16:36:20' - LOG: hr[5]-Capture Levels
'23/02/2015 16:36:20' - LOG: hr[6]-Tolerance
 

Do you know why this is happening?

Are there any other properties I can use to locate the column I and interested in?

I am trying to reproduce in a demo app ....

Thanks,
Mike.

Cody
Telerik team
 answered on 05 Mar 2015
Narrow your results
Selected tags
Tags
+? more
Top users last month
Henri
Top achievements
Rank 2
Iron
Iron
Iron
SUNIL
Top achievements
Rank 2
Iron
Iron
Iron
David
Top achievements
Rank 1
Jackson
Top achievements
Rank 1
Iron
Iron
Tim
Top achievements
Rank 3
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Henri
Top achievements
Rank 2
Iron
Iron
Iron
SUNIL
Top achievements
Rank 2
Iron
Iron
Iron
David
Top achievements
Rank 1
Jackson
Top achievements
Rank 1
Iron
Iron
Tim
Top achievements
Rank 3
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?