Hi,
I am trying to open a new new on a button click from the browser, the new url opens in a new window however the parent browser automatically closes with the message "Internet explorere not responding". When debugged i get the following exception
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: '30', ElementLength: '29'
at ArtOfTest.InternetExplorer.IECommandProcessor.FindElement(ElementIdMessage id)
at ArtOfTest.InternetExplorer.IECommandProcessor.ProcessInformationCommands(BrowserCommand request)
at ArtOfTest.InternetExplorer.IECommandProcessor.ProcessCommand(WebBrowserClass ieInstance, BrowserCommand request, IHTMLDocument2 document)
BrowserCommand (Type:'Information',Info:'ElementRectangle',Action:'NotSet',Target:'ElementId (tagName: 'a',occurrenceIndex: '30')',Data:'',ClientId:'Client_c57cc8ce-55aa-4cb7-886e-89161445d243',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: '30', ElementLength: '29'
at ArtOfTest.InternetExplorer.IECommandProcessor.FindElement(ElementIdMessage id)
at ArtOfTest.InternetExplorer.IECommandProcessor.ProcessInformationCommands(BrowserCommand request)
at ArtOfTest.InternetExplorer.IECommandProcessor.ProcessCommand(WebBrowserClass ieInstance, BrowserCommand request, IHTMLDocument2 document)')
InnerException: none.
Also the new browser is not connected giving manager.ActiveBrowser as null (resulting in object refrence )
Any help is highly appreciated.
Thanks
I am trying to open a new new on a button click from the browser, the new url opens in a new window however the parent browser automatically closes with the message "Internet explorere not responding". When debugged i get the following exception
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: '30', ElementLength: '29'
at ArtOfTest.InternetExplorer.IECommandProcessor.FindElement(ElementIdMessage id)
at ArtOfTest.InternetExplorer.IECommandProcessor.ProcessInformationCommands(BrowserCommand request)
at ArtOfTest.InternetExplorer.IECommandProcessor.ProcessCommand(WebBrowserClass ieInstance, BrowserCommand request, IHTMLDocument2 document)
BrowserCommand (Type:'Information',Info:'ElementRectangle',Action:'NotSet',Target:'ElementId (tagName: 'a',occurrenceIndex: '30')',Data:'',ClientId:'Client_c57cc8ce-55aa-4cb7-886e-89161445d243',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: '30', ElementLength: '29'
at ArtOfTest.InternetExplorer.IECommandProcessor.FindElement(ElementIdMessage id)
at ArtOfTest.InternetExplorer.IECommandProcessor.ProcessInformationCommands(BrowserCommand request)
at ArtOfTest.InternetExplorer.IECommandProcessor.ProcessCommand(WebBrowserClass ieInstance, BrowserCommand request, IHTMLDocument2 document)')
InnerException: none.
Also the new browser is not connected giving manager.ActiveBrowser as null (resulting in object refrence )
Any help is highly appreciated.
Thanks