Hi @ppr ,
This is a really great looking solution and works quite well, but there is one thing I forgot to mention, which is the values are obtained from UI Automation i.e. The Employee Status, Event Reason, Hire Date etc are outputted from Get Text/Get Attribute Activities.
Sorry for not including that in the description, its my mistake.
Also, its after extraction that we evaluate whether to empty the field, populate it, Select another Item(if its a dropdown), or simply log Business Exceptions to our List of Business Exceptions.
Sometimes, Child fields are dynamically populated when we make changes to the parent field(e.g. changing the First Name adds new fields) so I have to evaluate the Parent field at that very instant. This can be handled, its fine.
Its kind of like validating whether the data entered is correct, and if not Log exceptions, or perform other operations.
I don’t know if all of this can be accommodated, because we might be dealing with hundreds or fields, which according to your logic, has to be prepopulated as keys before hand, which then receives its value from the Get Text/Attribute Activities.
Is there a way to add each captured UI Element(Which is stored inside a string variable) into a Master Dictionary in one go? Or is there a way to add the values Directly to the Master Dictionary without having to worry about the keys?
I know I’ve really complicated things but you have been really helpful so far, and for that I am deeply grateful.