hi guys;
I am developing my first IBM RPA web bot to access MY_SITE_URL (real working site), described as follows :
defVar --name atLocation --type String
defVar --name chromeInstance --type String --value chromeInstance
inputBox --title "your location" --prompt "Type here" --value 94 atLocation=value
webStart --name chromeInstance --type "Chrome"
webNavigate --url "MY_SITE_URL"
setValue --value "${atLocation}" --setValueType "Text" --algorithm "FocusAndType" --simulatehuman --selector "Id" --id "searchAppointment-searchbar"
webSendKeys --value "{ENTER}" --selector "Id" --id "searchAppointment-searchbar"
logMessage --message "assigner valeur ${atLocation}" --type "Info"
webClose --name "${chromeInstance}" --leavebrowseropen
running the above wal script within IBM RPA studio (version 21.0.1) opens successfully the MY_SITE_URL, but unfortunately,it fails with following stacktrace exception :
WDG.Automation.Windows.WindowNotAttachedException: Exception of type 'WDG.Automation.Windows.
WindowNotAttachedException' was thrown.
at WDG.Automation.Windows.BaseWindowControlCommand.EnsureWindow(WindowsContext context)
at WDG.Automation.Windows.
SetValueCommand.ExecuteCore(WindowsContext context)
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at WDG.Automation.Language.ErrorHandler.S35uKe5reZ(Exception )
at WDG.Automation.Language.ErrorHandler.HandleExecutionExceptionIfNeeded(Exception exception, IAutomationCommand command)
at WDG.Automation.Language.CommandInterpreter.<Run>d__12.aU5hiHAeLc7OV3MJNiw(Object , Object , Object )
at WDG.Automation.Language.CommandInterpreter.<Run>d__12.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at WDG.Automation.Language.ScriptInterpreter.<RunCore>d__17.MoveNext()
I have tried different options but got always the same exception error > algorithm : default / focus and type, value type :default, value, text
Is it possible to help me fix the issue ?
Thanks for any feedbacl or support,
Best Regards,
------------------------------
adrien chan
------------------------------