Telerik Forums
Test Studio Forum
2 answers
131 views
This may be a stupid question, but here goes anyway.

I have a RadGridTable element. In the Suggested Steps, I have the option of getting a 'Data' item count (or 'Virtual' or 'Selected', etc.) or the table's RowsCount.

What is the difference?
When should one or the other be used?

Thanks for your help.

Donna M Rode
Steton Technology
Donna
Top achievements
Rank 1
 answered on 29 Aug 2013
1 answer
150 views
Hi Telerik team,

I want to use one method in multiple tests of same project so for that i have create the class in namespace and create the method inside that class.
using the below link referance:-
http://www.telerik.com/automated-testing-tools/support/documentation/user-guide/code-samples/general/utility-in-standalone.aspx

In that method, i have to write the data in excel sheet based on some condition.
For writing data to the current row i am using excelApp.Cells[Data.IterationIndex + 2 , 1] = "Pass: Record save"; 
But  i am getting following error: 
c:\Users\priyanka.kadam\Documents\Test Studio Projects\Test_Validations\Function_CheckAlert.tstest.cs: Line 48: (CS0103) The name 'Data' does not exist in the current context
c:\Users\priyanka.kadam\Documents\Test Studio Projects\Test_Validations\Function_CheckAlert.tstest.cs: Line 54: (CS0103) The name 'Data' does not exist in the current context

Please help me to resolve this problem at earliest as possible.

Thanks,

Cody
Telerik team
 answered on 27 Aug 2013
7 answers
209 views
Hi,

We have just upgraded to the latest version of Test Studio 2013 R1 but we have come across a couple of minor issues I was wondering if you could help us with.

Firstly the element repository explorer is empty in Visual studio ( see attached image ) although the tests run fin and the Pages.g.cs file appears to compile correctly.

Also the connection to TFS appears not to save in the settings file.  Every time we open up Test Studio we have to reconfigure the TFS settings again. Is this a known issue?

Thanks
Shane
Mario
Telerik team
 answered on 26 Aug 2013
5 answers
77 views
Hi,

Recently i have upgraded my Telerik Test Studio Version to 2012.2.1420.0 from 2012.1.425.0.
I tried to run my scripts which i have created in my prevous version, all my scripts have If else condition and its failing at that step. I am not sure whether that's the issue with version change becuase all my scripts were executed so many times with my previous version without any issues. Also i tried to change the script but it giving the same issue. Please help me with this.

Thanks & Regards,
Lakshmi
Ivaylo
Telerik team
 answered on 26 Aug 2013
1 answer
164 views
Hi,

I am running into issues in running the Test List with new version 806 , as the test run is very slow when i run the list. 

Also i cannot add more than 5 test cases in the list if i have to run.

Kindly let me know.

1. why the project size is 700MB for 500 Tcs.. is there any way to reduce the project size ?

2. What are the configurations we need to do to run the test list with atleast 50 TCs successfully ?

3. With the new version , when i run the test list, i get timeout errors for test cases , but the same test cases when i run individually it runs successfully . 

Can Any telerik support answer to all these issues , Though i have logged tickets for these individually, i am not getting resolutions for them. support team is very slow in responses.
Ivaylo
Telerik team
 answered on 26 Aug 2013
1 answer
130 views
Hello,
  I'm currently running Test Studio 2013.1 on Visual Studio 2012 Ultimate Update 2. This issue only happens in Firefox (v21.0), Internet Explorer and Chrome work fine. When I try to run my data driven test, usually about the 3rd to 5th iteration, when it goes to start the next iteration I get the below error and the browser itself stays up with the last page from the prior iteration:

System.Reflection.TargetInvocationException occurred
  HResult=-2146232828
  Message=Exception has been thrown by the target of an invocation.
  Source=mscorlib
  StackTrace:
       at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
       at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
  InnerException: System.Runtime.InteropServices.COMException
       HResult=-2147220995
       Message=Object is not connected to server (Exception from HRESULT: 0x800401FD (CO_E_OBJNOTCONNECTED))
       Source=mscorlib
       ErrorCode=-2147220995
       StackTrace:
            at Accessibility.IAccessible.get_accName(Object varChild)
            at MS.Internal.AutomationProxies.Accessible.GetName(IAccessible acc, Int32 idChild)
            at MS.Internal.AutomationProxies.Accessible.Compare(IAccessible acc, Int32 idChild)
            at MS.Internal.AutomationProxies.Accessible.SetAccessibleChildrenIndexAndGetChildren(IAccessible parent)
            at MS.Internal.AutomationProxies.MsaaNativeProvider.System.Windows.Automation.Provider.IRawElementProviderFragment.GetRuntimeId()
            at System.Runtime.InteropServices.Marshal.ThrowExceptionForHRInternal(Int32 errorCode, IntPtr errorInfo)
            at System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(Int32 errorCode)
            at MS.Internal.Automation.UiaCoreApi.CheckError(Int32 hr)
            at MS.Internal.Automation.UiaCoreApi.UiaNavigate(SafeNodeHandle hnode, NavigateDirection direction, Condition condition, UiaCacheRequest request)
            at System.Windows.Automation.AutomationElement.Navigate(NavigateDirection direction, Condition condition, CacheRequest request)
            at System.Windows.Automation.TreeWalker.GetFirstChild(AutomationElement element)
            at ArtOfTest.Common.Extensions.AutomationExtensions.GetControlChildrenCount(AutomationElement element)
            at ArtOfTest.WebAii.Win32.Dialogs.FirefoxAlertDialogMatch..ctor(AutomationElement dialog)
            at ArtOfTest.WebAii.Win32.Dialogs.AlertDialog.MatchesUIAutomationElement(AutomationElement element)
            at ArtOfTest.WebAii.Win32.Dialogs.DialogMonitor.<>c__DisplayClass8.<FindUIAEDialog>b__5(IDialogUIAutomation d)
            at System.Linq.Enumerable.FirstOrDefault[TSource](IEnumerable`1 source, Func`2 predicate)
            at ArtOfTest.WebAii.Win32.Dialogs.DialogMonitor.FindUIAEDialog(AutomationElement element)
            at ArtOfTest.WebAii.Win32.Dialogs.DialogMonitor.HandleElement(AutomationElement element)
            at ArtOfTest.WebAii.Win32.Dialogs.DialogMonitor.AutomationEvent_OnStructureChanged(Object sender, StructureChangedEventArgs e)
       InnerException:

Is there anything I could have done to cause this or is this a defect?
Rodney
Telerik team
 answered on 23 Aug 2013
1 answer
87 views
Hi,

We seem to be missing the step column filters in the Execute Test As Step dialog which we found really useful as we currently have over 2200 tests in our project and are expanding these at a rapid rate.  At the moment it is taking a long time just to build the list when clicking the Execute Test As Step button and now that these search filters have gone ( we used to filter by path specifically ) it's now taking longer to find the specific test(s) we want to execute as a step.

Thanks
Shane
Cody
Telerik team
 answered on 22 Aug 2013
3 answers
88 views
Hi,

I have just logged a support ticket for this, but thought I would throw it out to the forum also to see if anybody else has come across this and if they have found any workarounds for it:

We have several users on the Windows 8 OS who have the same Visual Studio 2010 Professional edition as me.  I am on WIndows 7 OS and whenever I rename a tsest file in the solution, it correctly updates the link to the resx file and renames that accordingly ( as well as any code behind file we have ).

The users who are on Windows 8 OS however, whenever they rename a tstest file, it sits there for about 90+ seconds thinking about it, eventually renames the tstest file correctly, but the linked resx file fails to update ( see attached Jing video capture ), the test then becomes unusable and if you open the file in a text editor you can see it is still mostly referenced to the previously named resx file.

Thanks
Shane
Cody
Telerik team
 answered on 22 Aug 2013
1 answer
70 views
Hi,

I can see test end time and date when i extract the result file after completing the execution of my test list.
I need start time also listed in a similar fashion as the end time is. Is there a way I can get start time also for each step executed?

Thanks,
Prerna
Boyan Boev
Telerik team
 answered on 22 Aug 2013
1 answer
78 views
Hi,

I am trying to set some test in a text box on a gridview, the textbox will be different on each test so i need to set the element name on each text,
int no = Row.RowIndex;
string textbox = "Pages.ERecruitment7.ContentPlaceHolder1GvLookupTxtengagementStatus"+no.ToString()+"Text";
 Log.WriteLine(textbox);
 Actions.SetText(textbox, "AAA_Test Studio_BBB");

This is what i have so far (simplified), i am assumed i could set the string and then replace the target element, but i says it cannot be a string, is there a way i can do this? create a new target element?

Thanks

Velin Koychev
Telerik team
 answered on 21 Aug 2013
Narrow your results
Selected tags
Tags
+? more
Top users last month
Jay
Top achievements
Rank 3
Bronze
Iron
Iron
yw
Top achievements
Rank 2
Iron
Iron
Stefan
Top achievements
Rank 2
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Jay
Top achievements
Rank 3
Bronze
Iron
Iron
yw
Top achievements
Rank 2
Iron
Iron
Stefan
Top achievements
Rank 2
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Bohdan
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?