Completed
Last Updated: 04 Sep 2013 18:47 by ADMIN
When you change the frame's friendly name in the element property window the same is not changed in the element explorer.
Completed
Last Updated: 27 Aug 2013 19:17 by ADMIN
Customer WPF test is throwing running on framework 2013 R1 throws System.TypeInitializationException due to missing Interfaces.dll.

Test and steps to reproduce are in the internal description.


Completed
Last Updated: 03 Oct 2013 08:43 by ADMIN
ADMIN
Created by: Velin Koychev
Comments: 1
Type: Bug Report
3
When ActiveBrowser.NavigateTo() is used with ResponseListenerInfo and HTTP Proxy is used, sometimes (on a random bases) the test fails on ActiveBrowser.NavigateTo() command (happens with all of the browsers, but Chrome fails much more frequently). 

To reproduce:
Sample test project is attached to the internal bug description. A video of the execution failing is attached to the ticket: 686993 
Completed
Last Updated: 09 Dec 2014 13:48 by ADMIN
Test Studio application log reveals time was spent attempting to find IE navigation elements (Back/Forward/Stop/Refresh).

[05/06 10:53:45,iexplore.exe(7340:17),Recording] IENavigation.CheckAutomationElement() : Unable to find element Back
[05/06 10:53:46,iexplore.exe(7340:17),Recording] IENavigation.CheckAutomationElement() : Unable to find element Forward
[05/06 10:53:47,iexplore.exe(7340:17),Recording] IENavigation.CheckAutomationElement() : Unable to find element Stop (Esc)
[05/06 10:53:47,iexplore.exe(7340:17),Recording] IENavigation.CheckAutomationElement() : Unable to find element Refresh (F5)
[05/06 10:53:47,iexplore.exe(7340:17),Recording] IENavigation.FindNavigationButtons() : ------- Function End -------
[05/06 10:53:47,iexplore.exe(7340:17),Recording] IENavigation.Initialize() : Attempting to detect missing buttons after half-second wait intervals...
[05/06 10:53:48,iexplore.exe(7340:17),Recording] IENavigation.FindNavigationButtons() : ------- Function Start -------
[05/06 10:53:49,iexplore.exe(7340:17),Recording] IENavigation.CheckAutomationElement() : Unable to find element Back
[05/06 10:53:50,iexplore.exe(7340:17),Recording] IENavigation.CheckAutomationElement() : Unable to find element Forward
[05/06 10:53:50,iexplore.exe(7340:17),Recording] IENavigation.CheckAutomationElement() : Unable to find element Stop (Esc)
[05/06 10:53:51,iexplore.exe(7340:17),Recording] IENavigation.CheckAutomationElement() : Unable to find element Refresh (F5)
[05/06 10:53:51,iexplore.exe(7340:17),Recording] IENavigation.FindNavigationButtons() : ------- Function End -------
[05/06 10:53:52,iexplore.exe(7340:17),Recording] IENavigation.FindNavigationButtons() : ------- Function Start -------
[05/06 10:53:53,iexplore.exe(7340:17),Recording] IENavigation.CheckAutomationElement() : Unable to find element Back
[05/06 10:53:54,iexplore.exe(7340:17),Recording] IENavigation.CheckAutomationElement() : Unable to find element Forward
[05/06 10:53:54,iexplore.exe(7340:17),Recording] IENavigation.CheckAutomationElement() : Unable to find element Stop (Esc)
[05/06 10:53:55,iexplore.exe(7340:17),Recording] IENavigation.CheckAutomationElement() : Unable to find element Refresh (F5)
[05/06 10:53:55,iexplore.exe(7340:17),Recording] IENavigation.FindNavigationButtons() : ------- Function End -------
[05/06 10:53:56,iexplore.exe(7340:17),Recording] IENavigation.FindNavigationButtons() : ------- Function Start -------
[05/06 10:53:56,iexplore.exe(7340:17),Recording] IENavigation.CheckAutomationElement() : Unable to find element Back
[05/06 10:53:57,iexplore.exe(7340:17),Recording] IENavigation.CheckAutomationElement() : Unable to find element Forward
[05/06 10:53:58,iexplore.exe(7340:17),Recording] IENavigation.CheckAutomationElement() : Unable to find element Stop (Esc)
[05/06 10:53:59,iexplore.exe(7340:17),Recording] IENavigation.CheckAutomationElement() : Unable to find element Refresh (F5)
[05/06 10:53:59,iexplore.exe(7340:17),Recording] IENavigation.FindNavigationButtons() : ------- Function End -------
[05/06 10:53:59,iexplore.exe(7340:17),Recording] IENavigation.FindNavigationButtons() : ------- Function Start -------
[05/06 10:54:00,iexplore.exe(7340:17),Recording] IENavigation.CheckAutomationElement() : Unable to find element Back
[05/06 10:54:01,iexplore.exe(7340:17),Recording] IENavigation.CheckAutomationElement() : Unable to find element Forward
[05/06 10:54:02,iexplore.exe(7340:17),Recording] IENavigation.CheckAutomationElement() : Unable to find element Stop (Esc)
[05/06 10:54:03,iexplore.exe(7340:17),Recording] IENavigation.CheckAutomationElement() : Unable to find element Refresh (F5)
[05/06 10:54:03,iexplore.exe(7340:17),Recording] IENavigation.FindNavigationButtons() : ------- Function End -------
[05/06 10:54:03,iexplore.exe(7340:17),Recording] IENavigation.FindNavigationButtons() : ------- Function Start -------
[05/06 10:54:04,iexplore.exe(7340:17),Recording] IENavigation.CheckAutomationElement() : Unable to find element Back
[05/06 10:54:05,iexplore.exe(7340:17),Recording] IENavigation.CheckAutomationElement() : Unable to find element Forward
[05/06 10:54:06,iexplore.exe(7340:17),Recording] IENavigation.CheckAutomationElement() : Unable to find element Stop (Esc)
[05/06 10:54:07,iexplore.exe(7340:17),Recording] IENavigation.CheckAutomationElement() : Unable to find element Refresh (F5)
[05/06 10:54:07,iexplore.exe(7340:17),Recording] IENavigation.FindNavigationButtons() : ------- Function End -------
[05/06 10:54:07,iexplore.exe(7340:17),Recording] IENavigation.FindNavigationButtons() : ------- Function Start -------
[05/06 10:54:08,iexplore.exe(7340:17),Recording] IENavigation.CheckAutomationElement() : Unable to find element Back
[05/06 10:54:09,iexplore.exe(7340:17),Recording] IENavigation.CheckAutomationElement() : Unable to find element Forward
[05/06 10:54:10,iexplore.exe(7340:17),Recording] IENavigation.CheckAutomationElement() : Unable to find element Stop (Esc)
[05/06 10:54:10,iexplore.exe(7340:17),Recording] IENavigation.CheckAutomationElement() : Unable to find element Refresh (F5)
[05/06 10:54:10,iexplore.exe(7340:17),Recording] IENavigation.FindNavigationButtons() : ------- Function End -------
[05/06 10:54:11,iexplore.exe(7340:17),Recording] IENavigation.FindNavigationButtons() : ------- Function Start -------
[05/06 10:54:12,iexplore.exe(7340:17),Recording] IENavigation.CheckAutomationElement() : Unable to find element Back
[05/06 10:54:13,iexplore.exe(7340:17),Recording] IENavigation.CheckAutomationElement() : Unable to find element Forward
[05/06 10:54:13,iexplore.exe(7340:17),Recording] IENavigation.CheckAutomationElement() : Unable to find element Stop (Esc)
[05/06 10:54:14,iexplore.exe(7340:17),Recording] IENavigation.CheckAutomationElement() : Unable to find element Refresh (F5)
[05/06 10:54:14,iexplore.exe(7340:17),Recording] IENavigation.FindNavigationButtons() : ------- Function End -------
[05/06 10:54:15,iexplore.exe(7340:17),Recording] IENavigation.FindNavigationButtons() : ------- Function Start -------
[05/06 10:54:16,iexplore.exe(7340:17),Recording] IENavigation.CheckAutomationElement() : Unable to find element Back
[05/06 10:54:17,iexplore.exe(7340:17),Recording] IENavigation.CheckAutomationElement() : Unable to find element Forward
[05/06 10:54:17,iexplore.exe(7340:17),Recording] IENavigation.CheckAutomationElement() : Unable to find element Stop (Esc)
[05/06 10:54:18,iexplore.exe(7340:17),Recording] IENavigation.CheckAutomationElement() : Unable to find element Refresh (F5)
[05/06 10:54:18,iexplore.exe(7340:17),Recording] IENavigation.FindNavigationButtons() : ------- Function End -------
[05/06 10:54:19,iexplore.exe(7340:17),Recording] IENavigation.FindNavigationButtons() : ------- Function Start -------
[05/06 10:54:20,iexplore.exe(7340:17),Recording] IENavigation.CheckAutomationElement() : Unable to find element Back
[05/06 10:54:21,iexplore.exe(7340:17),Recording] IENavigation.CheckAutomationElement() : Unable to find element Forward
[05/06 10:54:22,iexplore.exe(7340:17),Recording] IENavigation.CheckAutomationElement() : Unable to find element Stop (Esc)
[05/06 10:54:22,iexplore.exe(7340:17),Recording] IENavigation.CheckAutomationElement() : Unable to find element Refresh (F5)
[05/06 10:54:22,iexplore.exe(7340:17),Recording] IENavigation.FindNavigationButtons() : ------- Function End -------
[05/06 10:54:23,iexplore.exe(7340:17),Error] IENavigation.Initialize() : Unable to detect buttons even after re-try!
Completed
Last Updated: 21 Jul 2014 10:34 by ADMIN
The "Launch" prefix on the start menu entry for the standalone version of Test Studio is a bit wonky.  We already know it will launch the application because it is in the start menu. ;)
Completed
Last Updated: 24 Feb 2015 15:52 by Shane
Attempting to run a Test Studio test from the VS 2012 Test Explorer window produces the following output:

------ Discover test started ------
Failed to configure settings for runsettings plugin 'VSTest Run Configuration' as it threw following exception:
'An error occurred while loading the settings.  Error: Could not find 'RunSettings' node..'
Please contact the plugin author.
An exception occurred while test discoverer 'TestDiscoverer' was loading tests. Exception: Type 'ArtOfTest.Common.Design.Extensibility.Descriptors.DescriptorConstraints' cannot be added to list of known types since another type 'ArtOfTest.Common.Design.Extensibility.Descriptors.DescriptorConstraints' with the same data contract name 'http://artoftest.com/schemas/WebAiiDesignCanvas/2.0.0:DescriptorConstraints' is already present. If there are different collections of a particular type - for example, List<Test> and Test[], they cannot both be added as known types.  Consider specifying only one of these types for addition to the known types list.
========== Discover test finished: 0 found (0:00:00.751) ==========
Completed
Last Updated: 04 Apr 2013 07:37 by ADMIN
When the DOM is not fully loaded Test Studio is clicking on a wrong element instead of failing the step with "Unable to find the element".

Also I wanted to add that it is very easy for us to solve this specific issue by adding a "WaitForElement is Visible" step for the last element on the page.

However we are more concerned with the general problem as we see this kind of behavior (i.e. steps that normal pass fail, wrong links clicked etc.) in different places and is impossible for us to handle all of them individually as they appear random.

Test project and access to the application are available in the internal description.
Completed
Last Updated: 15 Oct 2014 10:20 by ADMIN
After opening and closing tests in Visual Studio 2010, the memory use keeps climbing. Even closing the solution doesn't release the memory.
Completed
Last Updated: 27 Aug 2013 11:07 by Cody
In a customers application, a non coded step to set the text of an input field works just fine. Once you convert it to code it fails with:
Exception thrown executing coded step: '[WebTest1_CodedStep1] : @"Enter text '348.000' in 'PnlMainI2GrdItemTxtQuantityText''.
InnerException:
ArtOfTest.WebAii.Exceptions.ExecuteCommandException: ExecuteCommand failed!
InError set by the client. Client Error:
System.ArgumentException: Tag collection is either empty or has less elements than the element occurrence requested. RequestedIndex: '27', ElementLength: '15'
   at ArtOfTest.InternetExplorer.IECommandProcessor.FindElement(ElementIdMessage id)
   at ArtOfTest.InternetExplorer.IECommandProcessor.ProcessActionCommands(BrowserCommand request)
   at ArtOfTest.InternetExplorer.IECommandProcessor.ProcessCommand(WebBrowserClass ieInstance, BrowserCommand request, IHTMLDocument2 document)
BrowserCommand (Type:'Action',Info:'NotSet',Action:'SetText',Target:'ElementId (tagName: 'input',occurrenceIndex: '27')',Data:'348.000',ClientId:'Client_eaa78ec4-67df-4272-8678-03153c9df4ff',HasFrames:'False',FramesInfo:'',TargetFrameIndex:'-1',InError:'True',Response:'System.ArgumentException: Tag collection is either empty or has less elements than the element occurrence requested. RequestedIndex: '27', ElementLength: '15'
   at ArtOfTest.InternetExplorer.IECommandProcessor.FindElement(ElementIdMessage id)
   at ArtOfTest.InternetExplorer.IECommandProcessor.ProcessActionCommands(BrowserCommand request)
   at ArtOfTest.InternetExplorer.IECommandProcessor.ProcessCommand(WebBrowserClass ieInstance, BrowserCommand request, IHTMLDocument2 document)')
InnerException: none.

   at ArtOfTest.WebAii.Core.Browser.ExecuteCommandInternal(BrowserCommand request)
   at ArtOfTest.WebAii.Core.Browser.ExecuteCommand(BrowserCommand request, Boolean performDomRefresh, Boolean waitUntilReady)
   at ArtOfTest.WebAii.Core.Browser.ExecuteCommand(BrowserCommand request)
   at ArtOfTest.WebAii.Core.Actions.SetText(Element targetElement, String text)
   at ArtOfTest.WebAii.Core.Actions.SetText(Control targetControl, String text)
   at MySampleTests.WebTest1.WebTest1_CodedStep1() in C:\Users\gibson\Documents\Visual Studio 2010\Projects\MySampleTests\MySampleTests\Customer Tests\WebTest1.tstest.cs:line 102

Test to repro will be attached to internal bug report.
Completed
Last Updated: 13 Dec 2018 11:43 by Hrushikesh
Intermittently, Visual Studio 2012 Test Explorer will not list Test Studio tests in the open solution. Restarting VS 2012 and re-opening the solution may temporarily work around this behavior.
Won't Fix
Last Updated: 12 Jul 2016 09:55 by ADMIN
The test contains a navigation step and a loop with 4 simple steps. Hundred megabytes are taken with each iteration against the customer application.

If I perform exactly the same steps manually (all add ons in IE should be disabled) there is no problem with the RAM usage.

The test project and access to the application are available in the internal description.
Completed
Last Updated: 14 Feb 2014 09:20 by Max
When using Manager.Desktop.KeyBoard.KeyPress or Manager.Desktop.KeyBoard.KeyDown the Alt key never gets triggered, the same scenario works flawlessly when the Ctlr key is used.

Steps to reproduce:

1. Create a sample step executing for example Alt+Tab in a coded step.
2. Run the test

Expected behavior: The Alt+Tab combination to work
Actual behavior: Only the Tab key is pressed.
Completed
Last Updated: 05 Jun 2014 08:40 by ADMIN
When the Test List for this WPF application is being executed, one of the tests stops running (without obvious reason). This happens very randomly.
Expected behavior: The test fails and the next test from the test list is executed;
Actual behavior: Nothing happens. The Test Runner do not do anything unless we close the WPF application. After that the next test from the test list is executed. 

To reproduce: Access to the application and steps to reproduce are in the internal description.
Approved
Last Updated: 02 Oct 2014 14:53 by Ewin
It is very difficult to explain (and understand) when the global wait for elements applies and when it doesn't.  There seem to be lots of questions on the forums and in the suggestions around this, for example this post:

http://feedback.telerik.com/Project/117/Feedback/Details/44270-when-waiting-for-element-to-exist-in-code-test-studio-doesnt-respect-the-timeou

I can't find anything in the online documentation that talks about it.  We have opened support cases, asked questions on the forums and new users here get very confused.  It is pretty fundamental to "getting" the product and would be great to get some documentation on that.  I'd say it is important enough to document and call out in a blog.  Thanks!
Completed
Last Updated: 30 Sep 2013 13:33 by ADMIN
Steps to reproduce:

1) Open the project attached internally

2) Select 'Login with data binding sometimes fails' test

3) Select FireFox as execution browser and Run test

 

Expected result:

Simple log-in/out script executes successfully through all 10 iterations.

 

Actual result:

The first iteration will pass, however the next 9 may or may not. If they are to fail, it will be due to step 4 appending its text to the username instead of into the password field as expected.

 

*Issue only seein in FireFox when test is data driven.
Completed
Last Updated: 23 Apr 2014 05:17 by ADMIN
ADMIN
Created by: Cody
Comments: 3
Type: Bug Report
2
There are a few valid instance where customers need to create very long running tests, tests that require hours to execute. Currently Test Studio struggles to handle these due to having to log and maintain the results in memory. The longer the test runs, the more memory that is consumed to hold the results. It would be useful if Test Studio didn't require so much memory for the log/results for these long running tests.
Completed
Last Updated: 15 Aug 2013 11:49 by ADMIN
Example failure message:

Failure message:
'6/5/2013 3:41:15 PM' - 'Fail' : 50. Verify element 'ExitAndRunReportToolbarButton' 'is' visible.
------------------------------------------------------------
Failure Information: 
~~~~~~~~~~~~~~~
ExecuteCommand failed!
InError set by the client. Client Error:
System.NullReferenceException: Object reference not set to an instance of an object.
   at ArtOfTest.InternetExplorer.IECommandProcessor.ProcessInformationCommands(BrowserCommand request)
   at ArtOfTest.InternetExplorer.IECommandProcessor.ProcessCommand(WebBrowserClass ieInstance, BrowserCommand request, IHTMLDocument2 document)
BrowserCommand (Type:'Information',Info:'ComputedStyle',Action:'NotSet',Target:'ElementId (tagName: 'button',occurrenceIndex: '9')',Data:'visibility',ClientId:'Client_5648ae5b-31ed-4c4f-9f54-55b5d56f77eb',HasFrames:'False',FramesInfo:'',TargetFrameIndex:'-1',InError:'True',Response:'System.NullReferenceException: Object reference not set to an instance of an object.
   at ArtOfTest.InternetExplorer.IECommandProcessor.ProcessInformationCommands(BrowserCommand request)
   at ArtOfTest.InternetExplorer.IECommandProcessor.ProcessCommand(WebBrowserClass ieInstance, BrowserCommand request, IHTMLDocument2 document)')
InnerException: none.

InnerException:
ArtOfTest.WebAii.Exceptions.ExecuteCommandException: ExecuteCommand failed!
InError set by the client. Client Error:
System.NullReferenceException: Object reference not set to an instance of an object.
   at ArtOfTest.InternetExplorer.IECommandProcessor.ProcessInformationCommands(BrowserCommand request)
   at ArtOfTest.InternetExplorer.IECommandProcessor.ProcessCommand(WebBrowserClass ieInstance, BrowserCommand request, IHTMLDocument2 document)
BrowserCommand (Type:'Information',Info:'ComputedStyle',Action:'NotSet',Target:'ElementId (tagName: 'button',occurrenceIndex: '9')',Data:'visibility',ClientId:'Client_5648ae5b-31ed-4c4f-9f54-55b5d56f77eb',HasFrames:'False',FramesInfo:'',TargetFrameIndex:'-1',InError:'True',Response:'System.NullReferenceException: Object reference not set to an instance of an object.
   at ArtOfTest.InternetExplorer.IECommandProcessor.ProcessInformationCommands(BrowserCommand request)
   at ArtOfTest.InternetExplorer.IECommandProcessor.ProcessCommand(WebBrowserClass ieInstance, BrowserCommand request, IHTMLDocument2 document)')
InnerException: none.

   at ArtOfTest.WebAii.Core.Browser.ExecuteCommandInternal(BrowserCommand request)
   at ArtOfTest.WebAii.Core.Browser.ExecuteCommand(BrowserCommand request, Boolean performDomRefresh, Boolean waitUntilReady)
   at ArtOfTest.WebAii.BrowserSpecialized.InternetExplorer.InternetExplorerActions.GetComputedStyle(Element targetElement, String style)
   at ArtOfTest.WebAii.Controls.HtmlControls.HtmlControl.IsVisible()
   at ArtOfTest.WebAii.Design.IntrinsicTranslators.Descriptors.VisibleVerificationDescriptor.ExtractData(IAutomationHost targetBrowser, DescriptorValueStore dataStore)
   at ArtOfTest.WebAii.Design.Execution.ExecutionEngine.ExecuteStep(Int32 order)
Completed
Last Updated: 19 Dec 2013 16:17 by ADMIN
Steps to reproduce:

1)Record any action on an element.
2)Rename the element to some other friendly name.
3)Record another step on the same element.

As per the previous versions, any step recorded on a previously added element would use the same friendly name in the step description. But in this version, the friendly name used in step description, for every new action, on the same element is always the default one rather than the new one.
Completed
Last Updated: 19 Dec 2013 16:17 by ADMIN
ADMIN
Created by: Velin Koychev
Comments: 1
Type: Bug Report
2
If we have the following HTML:
<div name="1" id="grid" >
    <div name="2"  >
	     	  <div name="3">
		     </div>
		     <div name="4">
		     </div>
	    </div>
  </div>

and we try to use the following code:
 HtmlDiv element1 = Manager.ActiveBrowser.Find.ByXPath<HtmlDiv>("//div[@id='grid']");
 IList<HtmlDiv> list1 = element1.Find.AllByXPath<HtmlDiv>("./div");
 Log.WriteLine(list1.Count.ToString());

We expect to receive in the log file 2, because element1.Find.AllByXPath<HtmlDiv>("./div") should find divs with name  3 and 4.
However in the log file we have 1, because only div name="1" id="grid"  is found. 

Sample web page and test are attached in the internal description. 
Completed
Last Updated: 27 Aug 2013 05:41 by ADMIN
Created by: Anna
Comments: 6
Type: Bug Report
2
Unable to search within Test as Step in 2013.R1.  
Steps to reproduce:
1. Create new test script.
2. Select Add Test as Step.
3. Enter text in search box (use text for test name you know will already exist).
4. List is not filtered by search text.
5. This is a regression - it worked as expected in previous build.