‎2009 Jul 29 5:02 PM
Hello,
Can someone please explain what this error means "Error in Control"? I am using SAPGUI command to record and execute. I create a custom document and once created that doc appears in the grid on the upper half of the screen. I click on the created document to check/change values of different columns. Now while recording the click operation opens the document i created however while executing it does not open the document created. It opens some other document which is there in the grid.
command editor contains following information
Userchanged State
GuiElement Shell GuiShell GridView
Name Shell
Type GUI Shell
SubType Grid View
State
currentCellRow
Name CurrentCellRow
value[1]5
clickCurrentCell.
And I get the Error In Control message while executing.
Thanks,
GS
‎2009 Jul 30 7:29 AM
Hi,
Mostly "Error in Control" comes when the window is closed by user/other programs while execution or due to some RFC issues(like inter application scenarios).
And looking at the example you have mentioned, i think you have hard coded the execution flow for Grid. you will have to parameterize the grid location using the last part of its ID( row and Column). Check if its teh new documenst created and then click on it to open.
Regards,
Justin
‎2009 Jul 31 7:25 PM
>
> Hello,
>
> Can someone please explain what this error means "Error in Control"? I am using SAPGUI command to record and execute. I create a custom document and once created that doc appears in the grid on the upper half of the screen. I click on the created document to check/change values of different columns. Now while recording the click operation opens the document i created however while executing it does not open the document created. It opens some other document which is there in the grid.
>
> command editor contains following information
> Userchanged State
> GuiElement Shell GuiShell GridView
> Name Shell
> Type GUI Shell
> SubType Grid View
> State
> currentCellRow
> Name CurrentCellRow
> value[1]5
> clickCurrentCell.
>
> And I get the Error In Control message while executing.
>
> Thanks,
> GS
Hi,
The issue is only due to some unexpected screen sequence.
What can be done to solve this?
1)Check the flow and you can activate the highlighting feature while executing and you can identify the error where it goes wrong?
2)You may need to re-record with maximum options.You have to make few screens optional.
This will solve your issue.
Regards,
Senthil