Completed
Last Updated: 05 May 2017 08:00 by ADMIN
ADMIN
Nikolay Petrov
Created on: 23 Feb 2017 14:04
Type: Bug Report
10
Execution of a test with real typing in input text step - fails in MS Edge browser
Steps to reproduce:

1. Navigate to an app containing input text element

2. Type in the input text element

3. Enable 'SimulateRealTyping' step property

4. Run the test in MS Edge

Log exception:

[02-23 16:02:33,ArtOfTest.Runner.exe(6096:4),Error] ExecutionEngine.CatchExecuteStepException() : EXCEPTION! (see below)
     Outer Exception Type: ArtOfTest.WebAii.Exceptions.ExecuteCommandException
     Message: ExecuteCommand failed!
          InError set by the client. Client Error:
          Unknown error
          BrowserCommand (Type:'Action',Info:'NotSet',Action:'InvokeJsFunction',Target:'ElementId (tagName: '',occurrenceIndex: '-1')',Data:'document.getElementsByTagName('input')[3].focus()',ClientId:'8c513c4e-1f29-4088-a6d9-23dbbc6c3dbc',HasFrames:'False',FramesInfo:'',TargetFrameIndex:'-1',InError:'True',Response:'Unknown error')
          InnerException: none.
     HRESULT: 0x80131500 (Official ID (if app.) = COR_E_EXCEPTION, Error Bit = FAILED, Facility = FACILITY_URT, Code = 5376)
     Call Stack:
          at ArtOfTest.WebAii.Core.Browser.ExecuteCommandInternal(BrowserCommand request)
          at ArtOfTest.WebAii.Core.Browser.ExecuteCommand(BrowserCommand request, Boolean performDomRefresh, Boolean waitUntilReady)
          at ArtOfTest.WebAii.Core.Actions.InvokeScript(String script, Boolean refreshDom)
          at ArtOfTest.WebAii.ObjectModel.Element.GetValue[T](String propertyName, T defaultValue)
          at ArtOfTest.WebAii.ObjectModel.Element.GetValue[T](String propertyName)
          at ArtOfTest.WebAii.ObjectModel.Element.Focus()
          at ArtOfTest.WebAii.Controls.HtmlControls.HtmlControl.Focus()
          at ArtOfTest.WebAii.Design.IntrinsicTranslators.Descriptors.SetTextActionDescriptor.Execute(Browser browser)
          at ArtOfTest.WebAii.Design.Extensibility.HtmlActionDescriptor.Execute(IAutomationHost autoHost)
          at ArtOfTest.WebAii.Design.Execution.ExecutionEngine.ExecuteStep(Int32 order)
4 comments
ADMIN
Ivaylo
Posted on: 05 May 2017 08:00
This problem has been fixed and it will be available in the upcoming Test Studio release!

Thank you for your patience.
Anuja
Posted on: 14 Apr 2017 19:46
@Imer Flores: are you suggesting that files have been deleted by the window defender? 
Anuja
Posted on: 14 Apr 2017 19:43
I am following up on this post. Please refer to the following execution failure. It ocurred while typing the username on the login page. Please assist
ArtOfTest.Common.Design.Exceptions.ExecutionException: ExecuteCommand failed!
InError set by the client. Client Error:
Expected ')'
BrowserCommand (Type:'Action',Info:'NotSet',Action:'InvokeJsFunction',Target:'ElementId (tagName: '',occurrenceIndex: '-1')',Data:'document.getElementsByTagName('input')[0].focus()',ClientId:'1528a8be-fe36-4230-9159-10c295fa998c',HasFrames:'False',FramesInfo:'',TargetFrameIndex:'-1',InError:'True',Response:'Expected ')'')
InnerException: none.
 ---> ArtOfTest.WebAii.Exceptions.ExecuteCommandException
   at ArtOfTest.WebAii.Core.Browser.ExecuteCommandInternal(BrowserCommand request)
   at ArtOfTest.WebAii.Core.Browser.ExecuteCommand(BrowserCommand request, Boolean performDomRefresh, Boolean waitUntilReady)
   at ArtOfTest.WebAii.Core.Actions.InvokeScript(String script, Boolean refreshDom)
   at ArtOfTest.WebAii.ObjectModel.Element.GetValue[T](String propertyName, T defaultValue)
   at ArtOfTest.WebAii.ObjectModel.Element.GetValue[T](String propertyName)
   at ArtOfTest.WebAii.ObjectModel.Element.Focus()
   at ArtOfTest.WebAii.Controls.HtmlControls.HtmlControl.Focus()
   at ArtOfTest.WebAii.Design.IntrinsicTranslators.Descriptors.SetTextActionDescriptor.Execute(Browser browser)
   at ArtOfTest.WebAii.Design.Extensibility.HtmlActionDescriptor.Execute(IAutomationHost autoHost)
   at ArtOfTest.WebAii.Design.Execution.ExecutionEngine.ExecuteStep(Int32 order)
   --- End of inner exception stack trace ---
Imer
Posted on: 29 Mar 2017 17:18
deleted by floresimer