Telerik Forums
Test Studio Forum
3 answers
99 views
How are folks tackling the developer-tester workflow from the perspective of keeping the VS project in sync?  Test Studio doesn't seem to have a project file concept in the standalone - instead relying on enumerating files within a folder.  On the other hand Visual Studio has a project file format and the tests associated with them need to be referenced.

UPDATE: I voted for a similar issue on the Public Issue Tracking System.
Cody
Telerik team
 answered on 12 Feb 2013
32 answers
523 views
Hi,

I have 2 questions about Kendo Grid, please.

1) Developers are using Kendo mvc and regular Kendo java scripts libraries.  Do I need to add any reference to those in my project, if I want to code to get the grid object, row, cells, textcontent, ect..?

2)  I'm having a problem testing a grid.  I didn't have a problem testing other similar grids; and I noticed the only different with this grid is the grid data source is using AJAX.  Is there a special way to handle it?

An example of a simple test:   

1 line of code --> KendoGrid: "Data' item count 'Equals' '4'.      (I used the tool to verify without manipulating the code).

Ran the script and was expecting it to pass, but it failed.  The log 

Exception thrown executing coded step: '[Sort_Pesonnel_and_Metrics_CodedStep1] : KendoGrid: 'Data' item count 'Equals' '4'.'.InnerException:ArtOfTest.Common.Exceptions.AssertException: Number match failed (CompareType:Equals) - [Expected:4],[Actual:1] at ArtOfTest.WebAii.Controls.BaseControlAssert`1.Assert(Boolean condition, String message, String expected, String actual, Boolean throwAssert) at ArtOfTest.WebAii.Controls.BaseControlAssert`1.AssertNumber(Int32 leftPortion, Int32 rightPortion, NumberCompareType compareType, Boolean throwOnFailure) at Telerik.TestingFramework.Controls.KendoUI.KendoControlAssert.NumberValue(String controlPropertyName, Int32 expected, NumberCompareType compareType) at Titan.WebTests.Sort_Pesonnel_and_Metrics.Sort_Pesonnel_and_Metrics_CodedStep1() in c:\Users\mpham\Desktop\Telerik\Titan.WebTests\Personnel\Sort Pesonnel and Metrics.tstest.cs:line 120

Thanks,
Mindy












Byron
Telerik team
 answered on 11 Feb 2013
2 answers
97 views
We are validating TestStudio using the Telerik Minimum Recommendations for Browser versions and OS. We have noticed that Chrome 6.0.453.1 will not execute on any OS XP, Vista, and Win 7. We are using Both Runtime and Full Versions of TestStudio to test this. Also we have noticed that if we run a test list remotely on a Machine using Chrome 6 the Results returned are Green yet the Test List was not run and a timeout failure occurred there is a copy of the Error below that is returning in the execution results. So we are seeing a couple of issues here 

Errors incurred
1. Chrome 6 fails to execute a test script regardless of OS and Version of TestStudio
2. When a Test List is run Remotely on Chrome 6 the results display as green indicating a successful run even though that run failed to configure the browser for automation there by giving a false/postive test result.

What We have tried
1. We have tried updating the Browser extension but we have the latest and greatest from Dec 4, 2012
2. We have tried to drag and drop the extension into the chrome browser with an error message dsiplaying there is no Manifest or the manifest is not readable or Invalid permissions.
3. We have tried calibration both manually and automated
4. Disabled UAC


Overall Result: NotRun
Overall Result: NotRun
------------------------------------------------------------
'2/6/2013 9:12:46 AM' - Using .Net Runtime version: '4.0.30319.296' for tests execution.
'2/6/2013 9:12:46 AM' - Starting execution....
'2/6/2013 9:13:17 AM' - Failure detected during execution. Details:
------------------------------------------------------------
'2/6/2013 9:13:17 AM' - System.TimeoutException: Wait for condition has timed out
   at ArtOfTest.Common.WaitSync.CheckResult(WaitSync wait, String extraExceptionInfo, Object target)
   at ArtOfTest.Common.WaitSync.For[T](Predicate`1 predicate, T target, Boolean invertCondition, Int32 timeout, WaitResultType errorResultType)
   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(ExecuteTestCommand command)
------------------------------------------------------------
'2/6/2013 9:13:17 AM' - Test completed!
------------------------------------------------------------
'2/6/2013 9:13:18 AM' - Overall Result: NotRun
'2/6/2013 9:13:18 AM' - Duration: [0 min: 30 sec: 392 msec]
------------------------------------------------------------
------------------------------------------------------------
'2/6/2013 9:13:18 AM' - Overall Result: NotRun
'2/6/2013 9:13:18 AM' - Duration: [0 min: 30 sec: 392 msec]
------------------------------------------------------------
Josh
Top achievements
Rank 2
 answered on 11 Feb 2013
1 answer
89 views
Hi,

I am currently trying to evalute a tool, which best suits out application. The app which i am working on is a WPF.

Is it possible to record the action on the application which is already launched instead launching it thru telerik. Please do let me know.
Plamen
Telerik team
 answered on 11 Feb 2013
1 answer
58 views

Hi Telerik Team,

i need to Serializ the testresult of a automation Test. The result is a trx file. I currently use the class Testreult (ArtOfTest.WebAii.Design.Execution.TestResult), but I always get an exception. The innerException is ({"There was an error reflecting property 'Parent'."}).

what should I do
to serialize the result of the test?!!!!

HERE IS MY CODE AND THE TRX-File

 

//Serializing

 

public static ArtOfTest.WebAii.Design.Execution.TestResult GetConfigEnvironment(string strPath)

{

 

XmlSerializer ser = new XmlSerializer(typeof(ArtOfTest.WebAii.Design.Execution.TestResult));

 

using (var settingsFile = System.IO.File.OpenRead(strPath))

{

 

 

return (ArtOfTest.WebAii.Design.Execution.TestResult)ser.Deserialize(settingsFile);

}

}

Plamen
Telerik team
 answered on 08 Feb 2013
5 answers
57 views
There is a field in my application which is data driven.
Suppose data is like
Col1
a
b
c
d

Now application tries to insert record "a" in the application but if "a" exists in the application then I want to pick record "b" to insert in the application.

Alan
Top achievements
Rank 2
 answered on 07 Feb 2013
1 answer
67 views
Hi Telerik Team,

I have a Problem
. I need to create an automated test for a Silverlight application. In the Test should an e-mail application (such as Outlook) uses, to send an e-mail via Outlook. I need to verify, that the e-mail application (Outlook) is opened and the contents of the e-mail is correct.

how can I
implement such a test
?? can you  help me please??

Thanks & Greetings
Mostafa
Boyan Boev
Telerik team
 answered on 07 Feb 2013
14 answers
231 views
Hi!

I am trying the trial version of WebUI Test Studio QA edition.
The application seems really good, but I can not find a way to schedule a test to run for example every 1 hour, or once every day.
How to do this?

It is important for me that tests can be scheduled to run automatically and that we can get e-mail notifications if a testcase fails.
Is this feature provided, or do all tests need to be executed manually?

Regards
Björn Söderberg
WebSearch
Stoich
Telerik team
 answered on 07 Feb 2013
2 answers
78 views
Hi there,

Is one able to export the automated steps recorded? To clarify, I'm wondering if I am able to export each of the automated tests recorded either one at a time or a group so I can inform my development team what is actually being recorded and run?

If so, please explain how.

Thanks,
Sue
Top achievements
Rank 1
 answered on 06 Feb 2013
1 answer
63 views
Hi 

My test application contain a tab control. When record click step on tab item and replay I receive next fail message:

Was not able to match a segment within the path. Expected:popupwindow , Found:FrameworkElement , Path:/popup:-1:23955812/popupwindow:0:61372619/grid:0:10987981/grid:1:45960129/border:4:12563221/border:0:53591696/
grid:0:20867713/border:1:24688256/contentpresenter:0:31782970/grid:0:61870584/grid:0:35867003/columnsettingsdialog:0:54367574/
grid:0:61664867/tabcontrol:0:66503975 

but the recorded step work just fine - the action take place. There is a way to make it replay without fail on this step?

Same behaviour I met also in a combobox control when expand combobox for choose one item

Thanks,
Regards,
Simona
Plamen
Telerik team
 answered on 06 Feb 2013
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?