Telerik Forums
Test Studio Forum
2 answers
104 views
Just updated to the latest version, ran my suite and 9 tests failed, on checking the failures I noticed that non of them had the image captured at time of failure. See attached.
darren
Top achievements
Rank 1
 answered on 15 Oct 2012
1 answer
77 views
When using SQL to store the results of a load test (Reporter Database Connection), I know the SQL server needs to atleast be a SQL 2008 R2 machine. Can you also store the results on a SQL 2012 machine?

Kevin
Mario
Telerik team
 answered on 12 Oct 2012
1 answer
67 views
Hi,

I want to do the following in one test:
Silverligth Application, open in IE, navigate to a site, login, search for something in a search box

The problem is that it works the most times, but sometimes it does not even open the IE Window, then I get the message, that the element cannot be found (the login box to type the username in). So, the message is clear, that it cannot type in when it cannot find the textbox, but why is the window not always there?

Can I do something so stabilize this?
Do you know that phaenomenom?

We cannot reproduce it, its just there sometimes, but it kills all usefull statements about the modules we test, because everyone sees, that the test fails and stops working, but it is not a problem of the module but of the testenvironment.

Would be very good if you know something helpfull here.
Best regards,
Adriane
Ivaylo
Telerik team
 answered on 12 Oct 2012
2 answers
401 views
Hi,

This is a somewhat convoluted request, but I'll do my best to describe it!

I am trying to test a section of our app, and we are using the Rad Treeview control which has been slightly modified to incorporate some extra functionality. From what I can see, on the front end the treeview is built using a series of divs and spans, most of which use the same classes. I am trying to find particular nodes in the treeview but our modifications pass id's (which are randomly generated) to the particular nodes, so I cannot use these for finding elements.

A sample of code containing the elements I am trying to find is below. In particular I am trying to find the span with the id thisSpan_randomId. All of the specific attributes of this element are shared with other objects in the DOM.

<div class="rtBot">   
    <span class="rtSp"></span>  
    <span class="rtPlus"></span>  
    <img src="" longdesc="Region" alt="" class="rtImg">  
    <span class="rtIn">TS Test Region  
       <span class="tvContext" name="contextMenu" style="display:none;" id="thisSpan_randomId">  
          <a href='javascript:addRegionAccess("","747383be52bd4960b0b12331ed690c26", "TS%20Test%20Region");' innerhtml="Add Region Access" class="addRegion">Add Region Access</a>  
       </span>  
    </span>  
</div>

Using the Find Element dialog, I can locate the parent of the element I am trying to find using TextContent is exactly TS Test Region, but the child has no particular identifiers that I can use that are not already shared with other elements on the page.

Is there a way I can find this child element (with no unique identifiers) by first finding the parent (with unique identifiers)?

Hopefully this makes a bit of sense!

Cheers,

Lachlan
Lachlan
Top achievements
Rank 1
 answered on 11 Oct 2012
1 answer
123 views
Hello,

How I can find an element among the same elements on the page (Silverlight app)? Recording the clicking those elements I can see that Telerik TS recognizes them using XamlPath. But for me it is not reliable way of identification.
Could you advise please, probably there is functionality which allows to define parent object and then find childs in it?

Thank you,
Vitaliy
Byron
Telerik team
 answered on 11 Oct 2012
3 answers
118 views
Hi -

I have two tests in the project, Test1 and Test2.
The Test1 is started first in web browser (Silverlight app) and then IE closed when the Test1 is completed and new IE instance is being started for the Test2.
But I want to continue with Test2 from where the Test1 was finished. I don't want to close IE and start new one. How to attain this?

Many thanks,
Vitaliy
Stoich
Telerik team
 answered on 11 Oct 2012
2 answers
96 views
I believe I've configured the load test controller and reporter correctly on my machine. All services in "Test Studio Services Configuration" started successfully. The scheduling and reporting databases were created on my SQL Server. However, after I added a new load test, the "Computer" drop down list under "Controller and Reporter" is always empty! I am stuck. Please help!

Systems
Top achievements
Rank 1
 answered on 10 Oct 2012
1 answer
149 views
Hi,

I'm using trial version 2012.2.920.0 of TestStudio and when i start to execute my test  - the execution has been failed with the following exception in log file:

'10/8/2012 1:23:43 PM' - Using .Net Runtime version: '4.0.30319.17929' for tests execution.'10/8/2012 1:23:43 PM' - Starting execution....'10/8/2012 1:23:43 PM' - Detected a Silverlight Test. Setting EnableSilverlight=True'10/8/2012 1:23:44 PM' - Failure detected during execution. Details:------------------------------------------------------------'10/8/2012 1:23:44 PM' - ArtOfTest.WebAii.Exceptions.ExecuteCommandException: ExecuteCommand failed!BrowserCommand (Type:'Information',Info:'IsReady',Action:'NotSet',Target:'null',Data:'',ClientId:'Client_00e508d3-d197-47d4-88ea-7150208bf338',HasFrames:'False',FramesInfo:'',TargetFrameIndex:'-1',InError:'False',Response:'')InnerException: System.NullReferenceException: Object reference not set to an instance of an object. at ArtOfTest.WebAii.Core.Browser.ExecuteCommandInternal(BrowserCommand request) ---> System.NullReferenceException: Object reference not set to an instance of an object. at ArtOfTest.WebAii.Core.Browser.ExecuteCommandInternal(BrowserCommand request) --- End of inner exception stack trace --- at ArtOfTest.WebAii.Core.Browser.ExecuteCommandInternal(BrowserCommand request) at ArtOfTest.WebAii.Core.Browser.ExecuteCommand(BrowserCommand request, Boolean performDomRefresh, Boolean waitUntilReady) at ArtOfTest.WebAii.Core.Browser.IsReady() at ArtOfTest.WebAii.Core.Browser.WaitUntilReady() at ArtOfTest.WebAii.Core.Manager.LaunchNewBrowser(BrowserType browserToLaunch, Boolean waitForBrowserToConnect, ProcessWindowStyle windowStyle, String arguments) at ArtOfTest.WebAii.Core.Manager.LaunchNewBrowser(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)------------------------------------------------------------'10/8/2012 1:23:45 PM' - Test completed!

Mario
Telerik team
 answered on 10 Oct 2012
2 answers
90 views
Hello,

Is there a way to turn this setting off?  I use the 'Run from Here' method to execute a handful of steps that I just created.  I have never needed to continue recording when the 'Run from Here' has completed, and I don't see myself using it during construction.  I would imagine that every Telerik user (at least once) has continued on without clicking the Pause Recording button, unintentionally, followed by a number of expletives!

Let me know you think...thanks!
Alan
Alan
Top achievements
Rank 2
 answered on 10 Oct 2012
3 answers
172 views
Hi,

I've seen the example of how to access SQL database from the code, which would work perfectly fine. One thing I don't like thought, is defining the connection string in the code. I'd rather have access to a connection string property of my datasource which is defined in the project. Is this currently possible?

Regards.
Byron
Telerik team
 answered on 10 Oct 2012
Narrow your results
Selected tags
Tags
+? more
Top users last month
Anislav
Top achievements
Rank 6
Silver
Bronze
Bronze
Jianxian
Top achievements
Rank 1
Iron
Marco
Top achievements
Rank 3
Iron
Iron
Iron
Jim
Top achievements
Rank 2
Iron
Iron
Nurik
Top achievements
Rank 2
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Anislav
Top achievements
Rank 6
Silver
Bronze
Bronze
Jianxian
Top achievements
Rank 1
Iron
Marco
Top achievements
Rank 3
Iron
Iron
Iron
Jim
Top achievements
Rank 2
Iron
Iron
Nurik
Top achievements
Rank 2
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?