Telerik Forums
Test Studio Forum
1 answer
100 views
Hi,

I am receiving the following error when I press Create Database.

Any thoughts?
Stoich
Telerik team
 answered on 14 Aug 2012
4 answers
124 views
Hi,

I tried searching through the help documentation and I may have found what I am looking for, but I'm not too sure.

I want to verify data between multiple pages where the data continually changes, i.e. on a daily, weekly, monthly basis.

My steps would be as follows:
1. Open said page
2. Verify said number
3. Click said number to progress to next page
4. On next page verify said number matches the previous page

Now, these number will constantly be changing (but should always match) so I want to create a test where it will pass if the numbers match, and fail if the numbers don't, and I wouldn't have to manually update the test every time the numbers change.

The test I created was;
1. Open said page
2. Extract 'TextContent' on 'x526Link' into DataBindVariable $(x526Link)  
3. IF (Verify 'TextContent' 'Contains' '526' on 'x526Link') THEN
  • 4. Click 'x526Link'
5. Extract 'TextContent' on 'WeFound526PTag' into DataBindVariable $(WeFound526PTag)
6. Verify 'TextContent' 'Contains' 'We found 526 brands  that ran on all the pages between 1/1/2007 and 5/31/2012.' on 'WeFound526PTag'
7. ELSE


If anyone could lead me in the right direction/provide me with the necessary steps that would be great.


Thanks
Byron
Telerik team
 answered on 13 Aug 2012
2 answers
113 views
I am new to Test Studio.  Trying to evaluate for our upcoming silverlight project.
I created Data Sources (excel) for the project.  I have a "Web Test" that I am trying to "Bind Test" .  When I click "Bind Test", it opens "Bind Test to Data Source" dialog box...but when I try to click the "Select Data Source" drop down...nothing displays..it blinks and turns orange color...
Padma
Top achievements
Rank 1
 answered on 10 Aug 2012
5 answers
95 views
I have a Silverlight Application and set a SilverlightApplication WebURL in the Out-of-browser Options, but use it in browser.
For different systems, I want to migrate the tests, so I have to change the URL via script.

I want to know in which file this webURL is stored in the filesystem, so that I can change it before running the test, if we take the test to another system.

Best rergards,
Adriane
Byron
Telerik team
 answered on 09 Aug 2012
1 answer
83 views

When pasting the sample code from the demo code, I see the following error:
http://www.telerik.com/automated-testing-tools/support/documentation/user-guide/code-samples/html/table-search-and-paging.aspx


Exception thrown executing coded step: '[Row_Index] : @"Indxing through Active'.
InnerException:
System.NullReferenceException: Object reference not set to an instance of an object.
   at PortalC_Sharp.ExpDate_Extract.Row_Index() in C:\MyProjects\PortalC_Sharp\ExpDates\ExpDate Extract.tstest.cs:line 119
------------------------------------------------------------
'8/8/2012 9:23:57 AM' - Detected a failure. Step is marked 'ContinueOnFailure=False' aborting test execution.

Error 1 The type 'PortalC_Sharp.ExpDates.HtmlTable' cannot be used as type parameter 'TControl' in the generic type or method 'ArtOfTest.WebAii.Core.Find.ByExpression<TControl>(params string[])'. There is no implicit reference conversion from 'PortalC_Sharp.ExpDates.HtmlTable' to 'ArtOfTest.WebAii.Controls.Control'. C:\MyProjects\PortalC_Sharp\ExpDates\HtmlTable.tstest.cs 76 31 PortalC_Sharp

Code Entered:

HtmlTable table = Find.ByExpression<HtmlTable>("id=Grid", "|", "tagIndex=table:1");
HtmlSpan next = Find.ByExpression<HtmlSpan>("class=t-icon t-arrow-next");
HtmlAnchor a = Find.ByExpression<HtmlAnchor>("href=/aspnet-mvc/Grid?ajax=True&Grid-page=2");



Jasper
Telerik team
 answered on 09 Aug 2012
1 answer
83 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
55 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
109 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
72 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
94 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
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?