however in my web form it is in this format where it’s like a multiple choice , it’s buttons and i have to select the correct button respectively according to the year in “Year of Assessment” in my excel sheet
→ Use For each UI element activity and indicate the first option, it will automatically selects the remaining two options. Output is CurrentElement.
→ Click on Configure Filters and Inside that give like the screenshot below: CurrentRow("Year of Assessment").ToString
→ Use Click activity and in properties Panel pass InputElement as CurrentElement.
hello! i’ve tried but i met this error please help! how can i solve this?
this is the error message:
24.2.1-beta.15932+Branch.release-v24.2.1.Sha.3f90483a69af341308fcab9ad25ddc1395738901.3f90483a69af341308fcab9ad25ddc1395738901
Source: For Each Row in Data Table
Message: Object reference not set to an instance of an object.
Exception Type: System.NullReferenceException
System.NullReferenceException: Object reference not set to an instance of an object. at UiPath.Core.Activities.ForEachHelper.GetValuesEnumerator[T](IEnumerable values)
at UiPath.Core.Activities.ForEachBase`1.StartLoop(NativeActivityContext context)
at UiPath.Core.Activities.InterruptibleLoopBase.Execute(NativeActivityContext context)
at System.Activities.NativeActivity.InternalExecute(ActivityInstance instance, ActivityExecutor executor, BookmarkManager bookmarkManager)
at System.Activities.Runtime.ActivityExecutor.ExecuteActivityWorkItem.ExecuteBody(ActivityExecutor executor, BookmarkManager bookmarkManager, Location resultLocation)
— End of stack trace from previous location —
at UiPath.UIAutomationNext.Activities.NApplicationCard.OnFault(NativeActivityFaultContext faultContext, Exception propagatedException, ActivityInstance propagatedFrom)
at System.Activities.Runtime.FaultCallbackWrapper.FaultWorkItem.Execute(ActivityExecutor executor, BookmarkManager bookmarkManager)
hello i actually managed to figure out the error above, but currently i met another error where it is still not selecting the correct year in the form😭
even though all my processes are the same as yours. please help!