Telerik Forums
Test Studio Forum
1 answer
110 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
96 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
56 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
53 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
50 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
50 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
1 answer
115 views
I am having trouble getting a while loop to run. I have it verifying the datagrid.rowcount > 0. While the greater then one delete row until row count = 0, but when it checks the datagrid it still does not run. Ideas??
Mario
Telerik team
 answered on 20 Aug 2013
1 answer
86 views
I just upgraded to the latest version (2013.1.806.0) and now my test lists will no longer execute in the same browser. The browser is closed and a new one opened at the start of each test in the list. Is the recyclebrowser setting broken?
Velin Koychev
Telerik team
 answered on 20 Aug 2013
4 answers
208 views
Hello,

I've found a few threads that are related to my question but none of them seem to be exactly what I am facing. Apologies if this is a duplicate.

In my example I have changed the directories to ones that are easier to follow though are representative of the situation I am in. (The actual project directories go fairly deep and I think will just confuse the issue).

The problem that I have is that when I first started on a project of automating UI cases not much had been done in terms of integrating with TFS. I had locally mapped the project to my machine and was working with this integration. After some discussions with other QA in the company we settled on a common layout for how to map projects. In Visual Studio I then remapped the project from:

d:\different\local\path\to\project

to this:

d:\local\path\to\project

For awhile things were fine. However, we have now upgraded to Test Studio 2013 and the mapping is not quite working. When I open the project I get this message:

The TFS Local path does not match the actual project path!

I also get this message in a dialog:

Remote path $/Path/To/Test/Project does not map to a parent of local path d:\local\path\to\test\project

When I try to reconnect to the TFS server and pick the project it has the local path as:

d:\different\local\path\to\project

This is the older location which is no longer correct. What steps do I need to take to get Test Studio to stop looking in d:\different\local\path\to\project and start using the correct directory?

I haven't been able to find it in a config file or in the registry. I also tried re-installing in the hope that that would clear out settings.


Thanks!
Kevin
Top achievements
Rank 1
 answered on 19 Aug 2013
1 answer
99 views
Hello,

I just downloaded the Test Studio to see if it meets our requirements.

However when trying to record a first test I run into the following problem:

If I create a click event on a Button that is coded like this:

<input class="loginInputField" name="j_newUser" type="button" onclick="document.loginForm.j_username.value=checkUserName();document.loginForm.submit();" value="Login"/>

it is working perfectly fine.

However the following Button is not recognized as the ID always changes. The program is stuck at "locating elements":

<input type="button" style="width: 500px;" value="Klärfälle" id="rnd672292135" name="Clarification Cases" class="startPageButton" onchange="showSaveButtons(this); markAsChanged(this);;;" onclick="javascript:loadMacroForm('clarificationCases.xml', 'mainDiv');"/>

I googled a bit and found that i can adress this button using:

Dim e As Element = Find.ByExpression("name=Clarification Cases")
Assert.IsNotNull(e)
Actions.Click(e)

working fine so far. My Problem now is that i have another button of that type, which doesnt have a unique name. When i Try to execute the same bit of code using "Find.ByExpression("value=xxxx")" it won't find the button and abort.

Can anyone tell me how to adress this button?

<
input type="buttonvalue="Versichertenorientierten Klärfall anlegenid="rnd2046738466name="nullclass="buttononchange="showSaveButtons(this); markAsChanged(this);;;"
 
onclick="javascript:syncMacro('commands/LoadForm','pages/clarificationcase/showClarificationCase.xml,var.clarificationKind=insurant','mainDiv');"/>

Thank you.








Velin Koychev
Telerik team
 answered on 16 Aug 2013
Narrow your results
Selected tags
Tags
+? more
Top users last month
Henri
Top achievements
Rank 2
Iron
Iron
Iron
SUNIL
Top achievements
Rank 2
Iron
Iron
Iron
David
Top achievements
Rank 1
Jackson
Top achievements
Rank 1
Iron
Iron
Tim
Top achievements
Rank 3
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Henri
Top achievements
Rank 2
Iron
Iron
Iron
SUNIL
Top achievements
Rank 2
Iron
Iron
Iron
David
Top achievements
Rank 1
Jackson
Top achievements
Rank 1
Iron
Iron
Tim
Top achievements
Rank 3
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?