Telerik Forums
Test Studio Forum
1 answer
181 views
Hi,

I have form based authentication  in  my application and  User Interface is different for each user based on their role.
Using webtest   for load testing reuses a single username and password to all users, it does not  mimic the real word scenario.
 I would like  each user to have different identity.

How can I do load testing with multiple users with unique identity?

Thanks,
Prava 
Mario
Telerik team
 answered on 07 Mar 2013
4 answers
189 views

Hi,

I am using Telerik's Test Studio for evaluating the same for functional testing of the application and so far we are successful with the evaluation of the tool. I was wondering if I can use the same for Performance testing of the application as the tool offers the same also. Till now we are using HTTP Watch for the performance testing of the application, but unlike Test Studio that doesn't offer automation of scripts. So, I tried the Test Studio for the same scenario as we use to do with HTTP Watch and found that there is difference of timings provided by both the tools i.e. if HTTP Watch shows 1.7 secs. then Test Studio gives 3.5 secs. in its result for multiple iterations there is approximately same difference among the results of the both tools.

Please let me know if there is any specific reason for this difference or how can I calibrate the results.

Thanks & regards,

Arvind Dhiman

Rodney
Telerik team
 answered on 06 Mar 2013
1 answer
139 views
I've tried different users and authentication methods, and I've installed the latest internal build (2012.2.1317_Trial) because a post from November said you don't support 2012 in releases yet. I'm still getting this error:

[03/01 12:16:12,Telerik.TestStudio.Services.exe(1412:12),Error] LoadReporterService.FromClient_GetResultsForTest() : EXCEPTION! (see below)
     Situation: Exception detected while responding to FromClient_GetResultsForTest with TestId of 1001ddb1-20da-4786-8221-60597f31795c
     Outer Exception Type: System.Data.EntityCommandExecutionException
     Message: An error occurred while executing the command definition. See the inner exception for details.
     HRESULT: 0x8013193C (Official ID (if app.) = 2148735292, Error Bit = FAILED, Facility = FACILITY_URT, Code = 6460)
     Call Stack:
          at System.Data.EntityClient.EntityCommandDefinition.ExecuteStoreCommands(EntityCommand entityCommand, CommandBehavior behavior)
          at System.Data.Objects.Internal.ObjectQueryExecutionPlan.Execute[TResultType](ObjectContext context, ObjectParameterCollection parameterValues)
          at System.Data.Objects.ObjectQuery`1.GetResults(Nullable`1 forMergeOption)
          at System.Data.Objects.ObjectQuery`1.System.Collections.Generic.IEnumerable<T>.GetEnumerator()
          at System.Collections.Generic.List`1..ctor(IEnumerable`1 collection)
          at System.Linq.Enumerable.ToList[TSource](IEnumerable`1 source)
          at Telerik.TestStudio.Services.LoadReporter.LoadReporterEntityBridge.GetResultsForTest(Guid testId)
          at Telerik.TestStudio.Services.LoadReporter.LoadReporterService.FromClient_GetResultsForTest(Guid testId)
 
     Inner Exception Type: System.Data.SqlClient.SqlException
     Message: Invalid object name 'dbo.Results'.
     HRESULT: 0x80131904 (Official ID (if app.) = COR_E_SqlException, Error Bit = FAILED, Facility = FACILITY_URT, Code = 6404)
     Call Stack:
          at System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection)
          at System.Data.SqlClient.SqlInternalConnection.OnError(SqlException exception, Boolean breakConnection)
          at System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning()
          at System.Data.SqlClient.TdsParser.Run(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj)
          at System.Data.SqlClient.SqlDataReader.ConsumeMetaData()
          at System.Data.SqlClient.SqlDataReader.get_MetaData()
          at System.Data.SqlClient.SqlCommand.FinishExecuteReader(SqlDataReader ds, RunBehavior runBehavior, String resetOptionsString)
          at System.Data.SqlClient.SqlCommand.RunExecuteReaderTds(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, Boolean async)
          at System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method, DbAsyncResult result)
          at System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method)
          at System.Data.SqlClient.SqlCommand.ExecuteReader(CommandBehavior behavior, String method)
          at System.Data.SqlClient.SqlCommand.ExecuteDbDataReader(CommandBehavior behavior)
          at System.Data.Common.DbCommand.ExecuteReader(CommandBehavior behavior)
          at System.Data.EntityClient.EntityCommandDefinition.ExecuteStoreCommands(EntityCommand entityCommand, CommandBehavior behavior)
Cody
Telerik team
 answered on 06 Mar 2013
1 answer
103 views
Hey there,

I have one problem. I want to test a Registration process. So how can I handle to see the mail in my account and click on the link of the verification mail, which i get.

Also i want to test forgot password. So i need a second time in my mail account and click on the new password link.

Thanks
Boyan Boev
Telerik team
 answered on 06 Mar 2013
4 answers
132 views
Hi, I'm creating a test Scenario (Silverlight based website) as follows:

There will be several elements listed in a page like below:

Apple
Orange
Banana

Each one of them will have ElementID as usual. My test has to click the first Element, i.e, Apple and have to perform some operations. After those operations that element will go away. Now Orange will be the first element. Then the test steps have to be repeated. After Orange has gone, same for Banana.

In other words, I want to Data Drive "Target Element" in the Step. I have a list of target elements that has to be executed one by one.

So please tell me how to data drive this scenario. Thanks !

Aswin
Top achievements
Rank 2
 answered on 06 Mar 2013
1 answer
212 views
Hi

I am evaluating Test Studio trial version for functional testing of one of my application using Telerik's rad controls. Application also supports keyboard events like Tab, Arrow Keys and Enter events. But when I use Test studio for recording of application and uses keyboard events then test studio records some events which have not been actually fired from the keyboard e.g.

While recording user performs following actions after login:-

  1. Alt + 1 is pressed for focus over Left Menu
  2. Tab is pressed, focus is moved to Menu1
  3. Tab is pressed, focus is moved to Menu2
  4. Tab is pressed, focus is moved to Menu3
  5. Tab is pressed, focus is moved to Menu4
  6. Tab is pressed, focus is moved to Menu5
  7. Right Key is pressed on Menu5, Focus is moved to Child-Menu5.1 of Menu5
  8. Tab is pressed, focus is moved to Child-Menu5.2
  9. Right key is pressed on Child-Menu5.2, focus is moved to Child-Child-Menu5.1.1
  10. Tab is pressed, focus is moved to Child-Child-Menu5.1.2
  11. Enter is pressed on Child-Child-Menu5.1.2 and page is displayed

Test Studio Records the same in the following manner:-

  1. Key Press - 1 times on "Accesskey1Text" and focus is set to Left Menu
  2. Tab - 1 times on Menu1
  3. Tab - 1 times on Menu2
  4. Tab - 1 times on Menu3
  5. Tab - 1 times on Menu4
  6. Tab - 1 times on Menu5
  7. Right - 1 times on Child-Menu5.1
..................

Thus, when user playback the same script
Test studio presses tab on Menu5 and bypasses the same menu and moved to Menu6, while it should press "Right key" on Menu5 instead of "Tab Key".
So, test studio should record the script with following action, as I also have to change all the scripts manually for such action.

  1. Key Press - 1 times on "Accesskey1Text" and focus is set to Left Menu
  2. Tab - 1 times on Menu1
  3. Tab - 1 times on Menu2
  4. Tab - 1 times on Menu3
  5. Tab - 1 times on Menu4
  6. Right - 1 times on Menu5
  7. Tab - 1 times on Child-Menu5.1

Please let me know if I am doing anything wrong or this is an issue with test studio.

Thanks & Regards,
Arvind Dhiman
Stoich
Telerik team
 answered on 05 Mar 2013
1 answer
105 views
Hi, 

I am new to Telerik and would like to know if it is possible to somehow create a set of test data and have Telerik read it in when testing. 

The problem i'm having is that I have created a test with a step that inserts a number into a textbox field. This number is then added. The next time the test plays back, it fails with a message saying that number is already added, meaning i have to hardcode a number into the test test step.

So would it be possible to have a list of numbers stored and have Telerik randomly insert a number from the list to ensure that the number is not inserted twice. 
Plamen
Telerik team
 answered on 05 Mar 2013
8 answers
260 views
Hello, I am trying to record a test on Kendo UI web controls (the examples) using Telerik Test Studio. Everything seems to work fine, except when I try to record actions on menus. Whenever I record a test and I click a menu item, on playback the step fails and gives the error:

Unable to locate element.

Details: Attempting to find [Html] element using Find logic (Html): [id 'Exact' menu_mn_active] AND [tagname 'Exact' li]
Unable to locate element. Search failed!

Element was found by backup search only! We recommend editing the element to correct the primary find expression. Backup search: 'xpath=/html[1]/body[1]/div[1]/div[1]/ul[1]/li[1]'
 
Can you please tell me why this occurs and maybe how I can fix it?

Plamen
Telerik team
 answered on 04 Mar 2013
1 answer
164 views

Hi
I have a test, that pass without any failes when I run it in Test studio. Same test gets failed when I run it in run-time.
This is error mess:
Step Exception:

Element was not found. Criteria: Element Exists. Page being searched
 
Page (...nteractive.com/en-US/home.aspx). Unable to locate element. Details: Attempting
 
to nd Html element using Find logic (Html): HtmlPath Contains /bodyid=ctl00PageBody/formid=aspnetAND TextContent Exact ADMIN
 
Unable to locate element. Search failed!

I use "Edit in live" option for that element in Test Studio, locating element and validation is possitive. Could you tell me why in run-time that element couldn't be found? and how to resolve it.
login and password for test user also I attached zip file

Boyan Boev
Telerik team
 answered on 01 Mar 2013
5 answers
223 views
I am new to Test Studio and have a problem when recording Auto-complete fields.
I input 3 characters which activates a search list:
I clcik on the name, this is added to the field
I click "ADD" button
 Name is not added to the screen
Test Fails  
Plamen
Telerik team
 answered on 01 Mar 2013
Narrow your results
Selected tags
Tags
+? more
Top users last month
Boardy
Top achievements
Rank 2
Veteran
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
ivory
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
ClausDC
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Boardy
Top achievements
Rank 2
Veteran
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
ivory
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
ClausDC
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?