已解决!sap发票校验“计算税”控件录制完毕后,执行时报错

listarstar 2021-04-24 · 1个月前
1 158

1、报错内容:

任务(Main)的节点(Calculate tax(SAPInputAction))执行时发生错误:SAP输入节点 发生未知异常! 异常:c:\Users\star\AppData\Local\Temp\CSSCRIPT\dynamic\11924.bcfd655d-4d09-4630-9673-6ea3553854a0.tmp(7,210): error CS0029: 无法将类型“string”隐式转换为“bool”。

2、使用sap tracker跟踪的结果


3、sap GUI版本



4、ibot studio错误日志

2021-04-24 15:54:17,038 [6] [INFO ] [Execute] Start Execute Action: Calculate tax(SAPInputAction)
2021-04-24 15:54:17,040 [6] [DEBUG] [Execute] #####actionlog##### inn[[Id:139][Name:Action][Expression:][RuntimeValue:*.SAPGuiSession.FindById<GuiCheckBox>("wnd[0]/usr/subHEADER_AND_ITEMS:SAPLMR1M:6005/tabsHEADER/tabpHEADER_TOTAL/ssubHEADER_SCREEN:SAPLFDCB:0010/chkINVFO-XMWST").Selected ]],[[Id:140][Name:InputValue][Expression:][RuntimeValue:True]],[[Id:141][Name:InputValueIsNumber][Expression:false][RuntimeValue:false]]
2021-04-24 15:54:17,040 [6] [INFO ] [Execute] SAP input action action:*.SAPGuiSession.FindById<GuiCheckBox>("wnd[0]/usr/subHEADER_AND_ITEMS:SAPLMR1M:6005/tabsHEADER/tabpHEADER_TOTAL/ssubHEADER_SCREEN:SAPLFDCB:0010/chkINVFO-XMWST").Selected , input:True
2021-04-24 15:54:17,040 [6] [INFO ] [ExecuteInputAction] ExecuteInputAction no confidentialInfo actionStr:*.SAPGuiSession.FindById<GuiCheckBox>("wnd[0]/usr/subHEADER_AND_ITEMS:SAPLMR1M:6005/tabsHEADER/tabpHEADER_TOTAL/ssubHEADER_SCREEN:SAPLFDCB:0010/chkINVFO-XMWST").Selected
2021-04-24 15:54:18,357 [6] [ERROR] [Execute] SAP Input Action execute occur error: csscript.CompilerException: c:\Users\star\AppData\Local\Temp\CSSCRIPT\dynamic\11924.bcfd655d-4d09-4630-9673-6ea3553854a0.tmp(7,210): error CS0029: 无法将类型“string”隐式转换为“bool”

at csscript.CSExecutor.ProcessCompilingResult(CompilerResults results, CompilerParameters compilerParams, ScriptParser parser, String scriptFileName, String assemblyFileName, String[] additionalDependencies)
at csscript.CSExecutor.Compile(String scriptFileName)
at csscript.CSExecutor.Compile(String scriptFile, String assemblyFile, Boolean debugBuild)
at CSScriptLibrary.CSScript.LoadWithConfig(String scriptFile, String assemblyFile, Boolean debugBuild, Settings scriptSettings, String compilerOptions, String[] refAssemblies)
at CSScriptLibrary.CSScript.LoadCode(String scriptText, String tempFileExtension, String assemblyFile, Boolean debugBuild, String[] refAssemblies)
at CSScriptLibrary.CodeDomEvaluator.CompileCode(String scriptText)
at CSScriptLibrary.CodeDomEvaluator.LoadCode(String scriptText, Object[] args)
at SAPGuiAutomationLib.SAPAutomationHelper.넀(String , Boolean )
at SAPGuiAutomationLib.SAPAutomationHelper.꼀(String , String , Boolean , Boolean )
at iBot.Activities.SAP.SAPInputAction.Execute[T](IContext`1 context) attribute[iBot.Activities.SAP.SAPInputAction] SAPInputAction002
2021-04-24 15:54:18,358 [6] [ERROR] [Execute] Execute Action: Calculate tax(SAPInputAction) occur element not found exception: iBot.Workflow.WorkFlowException.IBotActivityException: SAP输入节点 发生未知异常! 异常:c:\Users\star\AppData\Local\Temp\CSSCRIPT\dynamic\11924.bcfd655d-4d09-4630-9673-6ea3553854a0.tmp(7,210): error CS0029: 无法将类型“string”隐式转换为“bool”

at iBot.Activities.SAP.SAPInputAction.Execute[T](IContext`1 context)
at iBot.Workflow.ActionNode.＀＀＀꜀(NodeExecutionContext ) ActionNode002


请帮忙看一下是什么原因导致的数据类型转换错误?比较着急!!!

论坛帖子(共 1 条评论)

listarstar [楼主] 1个月前 0

  • 最新留言
  • 最近热帖
  • 最热词云

属于iBot的bbs

在这里,您可以提问,回答,分享,诉说,这是个属于所有iBot用户的社区,欢迎您的加入!