Posted: 14 Mar 2018 23:03 EDT Last activity: 20 Mar 2018 8:14 EDT
How does "save" or "stop" method of ExcelConnector identify the Object
I want to know how does robot identify the object when they try to execute "save" or "stop" method on ExcelConnector.
Do they identify by the path of workbook or are they using some object ID of workbook?
If there are any object ID , please tell how can I check on the Runtime_LogNet.txt?
But I want to know inner structure of ExcelConnector not functional specification.
I'm asking this question I face Exception Error when robot execute stop method of Excel Connector.
The exception said "Object Reference not set to an instance of an object".
So I think that there are some issue on instance object of ExcelConnector.
For investigation I want to know how can we detect the object ID of ExcelConnector on Runtime log file.
The Excel connector can be provided a path as a property or you can use the Open method to load a workbook. Save always refers to the workbook that is opened at that time. If you try to do a Save with no open workbook you will get an exception.
If you need to call Stop, I would call Close first. The log should show you everything you need to know about the connector in the line where these commands are called. Search for ExecutionLink in the line and your Stop method call.