Telerik Forums
Test Studio Forum
3 answers
444 views
Is it possible to verify the URL of the current page?
Ivaylo
Telerik team
 answered on 17 Jun 2014
1 answer
31 views
Hi

What is the best way to do drag and drop on a tree? I did try to record the steps. But, it is not stable - sometimes it can drop to the right node; sometimes it can't.
Anyone can give me sample C# codes on doing that?

Thanks
Boyan Boev
Telerik team
 answered on 17 Jun 2014
3 answers
682 views
Hi Guys

Hopefully someone can clear something up for me.

I am trying to to a simple Assertion to confirm that two strings are the same.

I have a field on a form, I edit the form > enter a value > extract the text as a variable > save the changes
Then on the main form the updated value should be displayed > I used dev tools to get the ID of the field as its a Kentico control > then in code I want to assert that the two values are the same. if they are the same then the test is valid otherwise it should fail.

From my understanding, Assert.AreSame checks if the two objects are the same object and Assert.Equals just checks if the strings or whatever are the same.  Am I right?

See the code below:

Assert.AreSame(town, Find.ById("ctl00_ctl00_cphMain_cphMain_TownLabel").TextContent);

or

Assert.Equals(town, Find.ById("ctl00_ctl00_cphMain_cphMain_TownLabel").TextContent);

Does anyone have any ideas why my Equals assertion passes if it has two different values and if they are the same.

Any help would be much appreciated


Thanks

Michelle
Stephen
Top achievements
Rank 1
 answered on 16 Jun 2014
1 answer
64 views
Hi Team,

I would like to know about compatibility of Standalone tests across different product version of Telerik Test Studio. If we have recorded some of the tests using Standalone version and after sometime the new patch gets released and product version get updated and we install the updated product version or the updated runtime version then,

1. Will it execute the old test successfully without any issue? 
2. Does telerik automatically handles the test compatibility and convert the tests in compatible mode?
3. Do we need to perform any extra steps to run the test successfully?

Thanks,
Ashvin
Boyan Boev
Telerik team
 answered on 16 Jun 2014
1 answer
42 views
Hi All,

I am new to Test Studio and I am testing a popup based  website that works in the following flow:
1. Open IE browser (our website only works in IE) and enter URL.
2. Page opens with login/password fields
3. Enter credentials and hit Login button
4. The App opens in a popup.
5. Our whole application is popup based and the app works in that main popup, more popups appear when any buttons are clicked.
6. There are also light boxes in our App.

I just want to ask for now, does Test Studio support popups within popups? Does control automatically switch to new popup if already any button is clicked in a popup?
Please do let me know if I have added less information.
Cody
Telerik team
 answered on 16 Jun 2014
6 answers
120 views
I am doing load testing and just recently tired switching running the test from my local machine to running it from a virtual machine. Everything seems to run OK on the virtual machine, yet when I attempt to open the results of the Load Test, all I can see is the general results of the Goals set for the test on the Goals tab. There is no information on the dashboard tab and if I try to look at the Page Specific Metrics tab,Telerik hangs and the information on the page never loads. I am Using Test Studio Version 2013.2.1210.0. Is there a step that I missing in order to be able to view data from the test performed from a Virtual Machine?

Thanks,

Kathleen 
Cody
Telerik team
 answered on 13 Jun 2014
1 answer
77 views
Hello,
  We have noticed a large time difference from running the tasks locally and running the tasks on the Remote Execution server.  The small and medium tasks there seems to be a reasonable time difference that allows for the build server to communicate with the remote execution server.  However, the time difference for the large task is fairly significant.  This task is a 19 step task that loops through an excel file to enter information, one field from the excel file, onto the website.   My questions are:

1.   Has anyone else encountered this?
2.   Any suggestions on improving this time?

Thanks

** Locally Ran Tasks **

Small Task (1 task) – Log In
Start: 2:24
End: 2:24:43

Small Tasks (3 tasks) – Login x3
Start: 2:26
End: 2:26:58
End: 2:27:10
End: 2:28:35

Medium Task (1 task) – Log in and navigates around the page
Start: 2:25
End: 2:25:55

Medium Task (3 tasks) â€“ Log in and navigates around the page x3
Start: 2:28
End: 2:29:26
End: 2:29:48
End: 2:30:12

Large Task (1 task)
Start: 2:47 PM
End: 3:48:20 PM
_______________________________________________________________

** Remote Execution Server **

Small Task (1 task) – Log In
Start: 11:12
End: 11:16

Medium Task (1 task) – Log in and navigates around the page
Start: 11:16
End: 11:20

Small Task (1 task) – Log In x3
Start: 11:21
End: 11:25:28
End: 11:25:43
End: 11:25:53

Medium Task (1 task) – Log in and navigates around the page x3
Start: 1:14
End: 1:19:12
End: 1:19:39
End: 1:19:58

Large Task (1 task)
Start: 2:40 PM
End: 5:11:08 PM




Cody
Telerik team
 answered on 13 Jun 2014
3 answers
216 views
Hi Team,

I'm trying to access excel sheet from test studio by using the code,

Microsoft.Office.Interop.Excel.Application mobjExcelApp = new Microsoft.Office.Interop.Excel.Application();

But it returns the error message as "Cannot find the interop type that matches the embedded interop type 'Microsoft.Office.Interop.Excel.Application'. Are you missing an assembly reference? "

I have added the .net assembly for Excel from the location "C:\Windows\Microsoft.NET\assembly\GAC_MSIL\Microsoft.Office.Tools.Excel"

Can you please tell me how to solve this issue ?

Thanks & Regards
Aneesh
Boyan Boev
Telerik team
 answered on 13 Jun 2014
2 answers
81 views

Hello Team

I have bound an SQL Table to 2014.1 standalone test studio version.

I want to compare programatically the values in rows retrieved as record set [selcting a single column header with two active rows]

C sharp Code using CurrentDataRow method worked OK for iterations of bound recordset but I cannot do a comparison, as value retrieval that happens in iteration 1 has no scope in Iteration 2.

Is there a workaround to get both the row values as record set in same step and perform a comparison ?
Cody
Telerik team
 answered on 12 Jun 2014
3 answers
108 views
Hi,

After recording a scenario I am trying to convert the steps into the code but in vain.

Earlier I was able to convert in to VB code.

Please let me know how do I solve this issue.


Thanks & Regards
Archana
Cody
Telerik team
 answered on 12 Jun 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?