Telerik Forums
Test Studio Forum
1 answer
122 views
Hi there,

I've noticed with Test Studio that there is no notification to the user that there are updates available (from what I can see?).  Perhaps having a notification on startup or under Help -> Check for updates would be handy with a simple box like "your version is xxx, latest version is xxx" with a button to directly download the latest version if you don't already have it would be good.

Also, a quick version check when linking a main version to a runtime would be handy too, to see if the runtime and main program versions match, with a prompt of version mismatch if they don't.  I think a small feature like this would really benefit end users.

Also, in the help section, maybe a "News" button near the "About" key where a user can click and see a small RSS feed of news relating to test studio would be handy too!

Thanks

Colin
Ivaylo
Telerik team
 answered on 09 Aug 2012
3 answers
73 views
Hi
I am finding HtmlTable on IE 9. But it is always null
I checked , table is existence at finding step
Could you help me?
Please refer attachment
Thanks
Ivaylo
Telerik team
 answered on 09 Aug 2012
1 answer
141 views
Hello Telerik
                   i had tried to perform the Load testing and followed all the steps provided in the User guide,but i am unable to perform the Load testing it is not giving the results and the report of the Load testing and it is also giving me the error while i am connecting by specifying the IP address of the particular machine where we will get the result of the same,can you provide me the solution or the steps to follow the Load testing and to get properly started with the Load Testing with the help of the user Guide i am failing to do so.
                    Please provide a solution on this i will really appreciate the if i get all the load test result with the proper report.


Regards

Prasad
Stoich
Telerik team
 answered on 08 Aug 2012
1 answer
98 views
Hi
On IE9 browser
I find by element  but it is not success.
(It succeed on firefox)
allrow = 0
Please refer attachment
****
Element containerElment = Find.ById("tblFunction");
            if(containerElment == null) throw new Exception("Can't find tblFunction");        
            
            Element tBodyContainer = containerElment.Children[0];
            Log.WriteLine("tBodyContainer : " + tBodyContainer.ToString());
            
            List<Element> allRow = tBodyContainer.Children.ToList(); // All TR items
            Log.WriteLine("All rows count : " +allRow.Count);
           
Stoich
Telerik team
 answered on 08 Aug 2012
1 answer
126 views

Hi
My browser: IE9.
Case 1: When finding by class on IE9. Return value is 0. I don't know why? Please refer attachment
could you help me?
****************************************************
ActiveBrowser.RefreshDomTree();
HtmlDiv htmlDivMedia = Find.ById<HtmlDiv>("dnn_ctr431_ViewMediaResource_UP");
IList<HtmlListItem> htmlListEnclosure = htmlDivMedia.Find.AllByAttributes<HtmlListItem>("class=body-module");
Log.WriteLine("Enclosure: " + htmlListEnclosure.Count.ToString());
IList<HtmlListItem> htmlListContent = htmlListEnclosure[1].Find.AllByAttributes<HtmlListItem>("class=body-component-content");
Log.WriteLine("Content: " + htmlListContent.Count.ToString());
foreach ( HtmlListItem items in htmlListContent)
{
    Log.WriteLine("Physical name: " + items.TextContent.ToString());
    if (items.TextContent.ToString() == physicalNameString)
        items.MouseClick();
        
}
******************************************************
Thanks
Stoich
Telerik team
 answered on 08 Aug 2012
1 answer
111 views
Sorry for the cross-posting. I noticed this one is much more popuar then the express forum

I was unsure if I should post this in the testing forum or the RadGridView forum.

It is regarding Automated testing but more of a general question since our testers have decided to go with the IBM Rational Functional Tester (RFT) 8.2.2.  since they test various types of apps- WPF, Web etc.

Ours is a WPF app using Telerik WPF controls and Prism.
 Our testers have told us that they cannot select specific rows in a grid because the RadGrid rows do not have any unique attributes like UID or name.
I verified that using Snoop and the IBM rational tool built into the testing tool which gives similar results to snoop.
I use the RadGrid as an example but the same problem applies to other controls like RadTree for example.
Since the grid rows are created at runtime, the GridRows do not contain the unique attributes to help the automated testing tool locate a row with specif text.

So the question is who's problem is this?
What I mean by that is do we fix it on the code side or expect the testers to figure out a way to do it on their side?
I think we could fix it on the code side but before we do, (and possibly slow down the grid loading a bit) we want to ensure that that is the correct approach or do we leave it in the hands of the testers to worry about.

On the code side I assume (unless theres a better way) to wait for the grid to finish loading and then run a method that iterates the rows/columns and adds a Name (or UID) attribute to each row with text from column X. So for example Row 1 would end up with Name="Bob Smith" taken from the Full Name column in the grid. Then the automated testing tool could find the row based on the name attribute.

I don't know the IBM automated tool capabilities but I would think that it (and all testing tools) should be able to do a similar thing to locate a row from the tool itself.

Comments???

PS:

This DOES work:

 

 

Private Sub UserSearch_DataGrid_RowLoaded(sender As Object, e As Telerik.Windows.Controls.GridView.RowLoadedEventArgs) Handles UserSearch_DataGrid.RowLoaded

 

 

 

' for automation testing add the UID prop based on the first column

 

 

 

If TypeOf (e.Row) Is GridViewRow Then e.Row.Uid = e.Row.Cells(0).Content.text

 

 

 

End Sub

 


Cody
Telerik team
 answered on 07 Aug 2012
3 answers
241 views
I have a silverlight application and as I start recording steps, I can see the "Detect Silverlight " screen, so I think it should have noticed that I have not just a HTML webpage.

I can record steps as normal, but sometimes (I cannot say when during the recording) it does not record steps like typing text in a Textbox. It seems, that it does not get the element or something.
I stop the record and start it again for sometimes.
Somehow it is working again, but haven't done anything in between to get the connection stable.

Can you tell me what I can do, that Telerik Test Studio notices all my steps or what can I check, what is maybe wrong, when a step is not beeing recorded?

Best regards,
Adriane
Ivaylo
Telerik team
 answered on 07 Aug 2012
1 answer
65 views
Hello,

I have a spreadsheet with 265 columns but when I run the test I get the message:

Exception thrown executing coded step: '[PO_Indicators_CodedStep_Check90pctStrokeUnitPOIndicator] : Verify attribute 'class' on 'ind90pctStrokeUnit' indicator'. InnerException: System.ArgumentException: The extracted variable 's90pctStrokeUnitIndicator' does not exist in the store. Make sure there is an extract step that has executed before executing this step. at ArtOfTest.Common.Design.Extensibility.ExtractionDataStore.GetValue(String name) at ArtOfTest.WebAii.Design.BaseWebAiiTest.TestData.get_Item(String column) 

When I look in the setup binding I only get data up to column 255 wheras if I edit the data source all data up to 265 is displayed. Please can this be extended?

Regards,
David
Anthony
Telerik team
 answered on 03 Aug 2012
3 answers
92 views
Hello,

We have one Video player which is used in sliver light web application and we want to test on it using Test studio.
But We are not able to run video while Test studio is running, even we are not able to click on Play/Pause buttons.

on our website with out Test studio this video player is working fine. 
so can any one give us advice how we can test our video player with test studio?

Thank You,
Gunjan   
Anthony
Telerik team
 answered on 03 Aug 2012
4 answers
192 views
Hi,

I have a exported telerik Tests from Test Studio into Visual Studio, but I cannot run the tests.In Test Studio, they run, in Visual Studio, the same test gave the message following.
Can yomeone tell me, what I have to to in Visual Studio to run the tests?

------------------------------------------------------------
'01.08.2012 10:02:53' - Using .Net Runtime version: '4.0.30319.269' for tests execution.
'01.08.2012 10:02:53' - Starting execution....
'01.08.2012 10:02:53' - Detected a Silverlight Test. Setting EnableSilverlight=True
'01.08.2012 10:02:53' - Failure detected during execution. Details:
------------------------------------------------------------
'01.08.2012 10:02:53' - System.ApplicationException: Exception thrown attempting to launch Silverlight application. Please make sure Silverlight is properly installed and you are able to launch it. ---> System.ArgumentException: Invalid path to Out-Of-Browser application: http://dmm-vm-prod/MediaCenterTRANS/
   at ArtOfTest.WebAii.BrowserSpecialized.SilverlightOutOfBrowser.SilverlightOutOfBrowserActions.LaunchNewBrowserInstance(Int32 timeout, ProcessWindowStyle windowStyle, String arguments, String pipename)
   --- End of inner exception stack trace ---
   at ArtOfTest.WebAii.BrowserSpecialized.SilverlightOutOfBrowser.SilverlightOutOfBrowserActions.LaunchNewBrowserInstance(Int32 timeout, ProcessWindowStyle windowStyle, String arguments, 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(ExecuteTestCommand command)
------------------------------------------------------------
'01.08.2012 10:02:53' - Test completed!

 

Adriane
Top achievements
Rank 1
 answered on 03 Aug 2012
Narrow your results
Selected tags
Tags
+? more
Top users last month
Rob
Top achievements
Rank 3
Bronze
Iron
Iron
Sergii
Top achievements
Rank 1
Iron
Iron
Dedalus
Top achievements
Rank 1
Iron
Iron
Lan
Top achievements
Rank 1
Iron
Doug
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Top users last month
Rob
Top achievements
Rank 3
Bronze
Iron
Iron
Sergii
Top achievements
Rank 1
Iron
Iron
Dedalus
Top achievements
Rank 1
Iron
Iron
Lan
Top achievements
Rank 1
Iron
Doug
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?