Telerik Forums
Test Studio Forum
1 answer
94 views
Hello,
Just a few questions on load testing and actual test making.

1.  For Load Testing I've read the document/guide of test studio but still confused about how the charts for Complete/Faulted Virtual Users works.  We used 600 users but the chart goes into the 900s or even thousands in the case of Faulted users.  Why is this?  Do the users simply restart the process once they complete their first attempt?

2.  For a standard website test we are creating a new item, going in and editing its contents and then going back to the list to delete it (restoring it back to original state).  The problem we are experiencing is the link to the item (name: viewLink) seems to be changing its element name when we come back to the list to to delete it (changing to viewLink1 or viewLink2) causing it to return the element not found error.  Of course there are no other items being made at this time to make it move down the list (it is always the 1st item) but is there another route to take in order for the test to determine which element is being clicked on?


Thanks
Cody
Telerik team
 answered on 24 Jan 2014
4 answers
110 views
Dear Telerik support-team,

We run our TestLists remotely on virtual machines.

The TestList succeeds only when I have a remote connection opened and when my mouse is also focussd on the remote desktop screen.

When I run it remotely without having the virtual machine open on my desktop (remote desktop is minimized at that moment), the test fails at the standard "Handle 'Download' Dialog". It is not able to correctly handle this dialog. We have the latest version of Test Studio and it should be able to handle these dialogs better than before..

'13-1-2014 13:05:08' - 'Pass' : 7. Click 'JaIkWilDeLink'
'13-1-2014 13:05:34' - 'Fail' : 8. Handle 'Download' dialog.
------------------------------------------------------------
Failure Information:
~~~~~~~~~~~~~~~
Timed out waiting '25000' msec. for download dialog to be handled.
InnerException:
System.TimeoutException: Timed out waiting '25000' msec. for download dialog to be handled.
   at ArtOfTest.WebAii.Design.IntrinsicTranslators.Descriptors.DownloadDialogHandlerDescriptor.Execute(Browser browser)
   at ArtOfTest.WebAii.Design.IntrinsicTranslators.Descriptors.DialogHandlerDescriptor.Execute(IAutomationHost browser)
   at ArtOfTest.WebAii.Design.Execution.ExecutionEngine.ExecuteStep(Int32 order)
------------------------------------------------------------
'13-1-2014 13:05:34' - Detected a failure. Step is marked 'ContinueOnFailure=False' aborting test execution.


Is this a known issue? And how can this be solved?

Thanks for answering.
Boyan Boev
Telerik team
 answered on 24 Jan 2014
1 answer
76 views
Hello,

we have a test with some coded steps. For some reason they get corrupt on the execution server. That means it copies a part of the content twice. Making it incorrect c# sharp. But when i change the cs file in test studio i see the changes in the files locally, but when i run the test list on the execution server it uses older files and makes them corrupt. I attached the corrupted file.

I also removed some test from the project and tfs, but when I execute the testlist on the execution server I still see the old test files.

Any ideas?
Cody
Telerik team
 answered on 22 Jan 2014
1 answer
137 views
Hi All

After recording a test step where I enter text into a input box, and I attempt to run it. The recording shows that the text is entered however when I select the search button I do not get the expected result I'm looking for. I have attempted this manually and it works fine. What I am suspecting is that the recording for some reason things that the text is not entered in the input field.

Below is the code in which i am using to attempt to enter the text

Pages.Orders.ProductSearchTermInputText.ScrollToVisible(ArtOfTest.WebAii.Core.ScrollToVisibleType.ElementTopAtWindowTop);
ActiveBrowser.Window.SetFocus();
Pages.Orders.ProductSearchTermInputText.Focus();
Pages.Orders.ProductSearchTermInputText.MouseClick();
Manager.Desktop.KeyBoard.TypeText("alice", 50, 100); 

and here is the html that the input field is using

<input class="t-input" id="ProductSearchTerm-input" name="ProductSearchTerm-input" type="text" autocomplete="off">

Thanks

Chris

Velin Koychev
Telerik team
 answered on 22 Jan 2014
3 answers
151 views
I am unable to excecute performance tests in any browser. I was once able but after installign and uninstalling Fiddler, it appears that the program can no longer connect to any URLs used in my tests. Attached is the error that I receive from Test Studio and the from the browser.
Ivaylo
Telerik team
 answered on 21 Jan 2014
1 answer
149 views
In most of the tests I've done, when I've used a Verify step I've used the default Compare Type of 'Contains'. In a test I'm currently working on I'm using a Compare Type of 'Exact'. I noticed that another choice is 'Same'. I can't find anything that tells me what the difference between them is, if anything. Can someone clue me in?
Boyan Boev
Telerik team
 answered on 21 Jan 2014
2 answers
193 views
HI,

I am writing an coded step to open the combobox and click the checkbox. But if want to select something which is available until I scroll down how can I write the code that. Can you please help me out with some sample code to open the combo box, scroll down to locate the element and then click the checkbox?

Regards
Amar
Boyan Boev
Telerik team
 answered on 20 Jan 2014
5 answers
131 views
There was a nice video  tutorial how to set the SQL server and everything regarding the run-time editon of WebUi Studio.
I cant find it now. If some has the link bookmarked or nows where is the video will be appreciated.
There was something important in the SQL server installation.
Boyan Boev
Telerik team
 answered on 17 Jan 2014
1 answer
63 views

When I follow the documentation (http://www.telerik.com/automated-testing-tools/support/documentation/user-guide/code-samples/general/load_testing_extensions.aspx) to create a load test extension then I get the attached error message in Test Studio:
"An unexpected error occurred in Test Studio. The error has been reported to the Telerik team."
The load test extension is the one from the documentation with a slight modification to match the interface methods.
This seems to be a bug in Test Studio to me. Or please tell me what I'm doing wrong. Thank you!
We followed the steps for plugins and put the DLL in %ProgramFiles%\Telerik\Test Studio\Bin\Plugins\

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
 
using System.IO;
using System.Data;
using System.Data.OleDb;
using ArtOfTest.WebAii.Design.Execution;
using Telerik.TestStudio.Load.Interfaces.Load.API;
 
namespace ClassLibrary1
{
    public class Class1 : ILoadAgentPlugin, ILoadAgentPluginHttpRequest, ILoadAgentPluginVirtualUser
    {
        public void VirtualUserAllocated(Guid userProfileId, Guid virtualUserId)
        {
            Random random = new Random();
 
            int randomNumber = random.Next(0, 5000);
            File.Create("c:\\test\\" + randomNumber.ToString());
        }
        public void VirtualUserDeallocated(Guid userProfileId, Guid virtualUserId)
        {
        }       
        public void AfterResponseReceived(Guid virtualUserId, int currentStepIndex, System.Net.HttpWebResponse response, string rawResponse)
        {
        }
        public void BeforeRequestSent(Guid virtualUserId, int currentStepIndex, System.Net.HttpWebRequest request)
        {
        }
        public string OverrideOutgoingUrl(Guid virtualUserId, int currentStepIndex, string url)
        {
            return url;          
        }
        public void UserProfileAllocated(Guid profileRunID, string profileFriendlyName)
        {
        }
    }
}
Velin Koychev
Telerik team
 answered on 17 Jan 2014
1 answer
124 views
I have successfully managed to extract data from an element into a DataBindVariable and have also managed to then use that data later in the test by placing it into a text box. I now need to verify that the same data is found in a tablecell within a radgrid that I have on screen and then subsequently double-click on the item. My issue is that I seem unable to locate the tablecell item by referencing the databoundvariable. I have tried editing the element and changing the find settings TextContent tag to look for $(mydataboundvar) but to no avail. What am I missing here? Any advice appreciated. See attached screen shot for what I have tried, but does not work as expected.
Boyan Boev
Telerik team
 answered on 16 Jan 2014
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?