I am getting the following error while trying to click on a link:
ArtOfTest.Common.Design.Exceptions.ExecutionException: ExecuteCommand failed!
InError set by the client. Client Error:
System.ArgumentNullException: Value cannot be null.
Parameter name: SetCurrentDocumentMarkup. The document object is null. Unable to get markup.
at ArtOfTest.InternetExplorer.IECommandProcessor.SetCurrentDocumentMarkup(BrowserCommand& response)
at ArtOfTest.InternetExplorer.IECommandProcessor.ProcessInformationCommands(BrowserCommand request)
at ArtOfTest.InternetExplorer.IECommandProcessor.ProcessCommand(WebBrowserClass ieInstance, BrowserCommand request, IHTMLDocument2 document)
BrowserCommand (Type:'Information',Info:'DocumentMarkup',Action:'NotSet',Target:'null',Data:'',ClientId:'Client_edc9b035-4116-44ce-9062-e322cd06eb14',HasFrames:'False',FramesInfo:'',TargetFrameIndex:'-1',InError:'True',Response:'System.ArgumentNullException: Value cannot be null.
Parameter name: SetCurrentDocumentMarkup. The document object is null. Unable to get markup.
at ArtOfTest.InternetExplorer.IECommandProcessor.SetCurrentDocumentMarkup(BrowserCommand& response)
at ArtOfTest.InternetExplorer.IECommandProcessor.ProcessInformationCommands(BrowserCommand request)
at ArtOfTest.InternetExplorer.IECommandProcessor.ProcessCommand(WebBrowserClass ieInstance, BrowserCommand request, IHTMLDocument2 document)')
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.Browser.RefreshDomTree()
at ArtOfTest.WebAii.Design.Execution.ExecutionUtils.WaitForAllElements(Browser browser, AutomationDescriptor descriptor)
at ArtOfTest.WebAii.Design.Execution.ExecutionEngine.ExecuteStep()
--- End of inner exception stack trace ---
This page that I am testing uses a table design where the "links" are simply the table cells that have been assigned the 'onlick' method that runs a javascript. Example:
In order to record this I have tried both clicking on the link and assigning "left click" from the blue bubble menu. While record it works but when playing back the recording I get the above error.