I have the following scenario for you.
When I process POs in a website some POs may fault or may not be actual POs. As a result of that they get ejected from the PO #s field and pop up in above the field. We have to get those numbers (faulted POs) and send them back to a customer for validatation or correction. I want to know how to load these POs to data table after getting them from where they are displayed. Here is the screenshot for your visibility.
Create empty DataTable for storing failedPOs, in advance.
Submit data
Check if the element which contains failed POs exists using CheckAppState then get value
Or if the element always exists, use GetText then check it value is empty or not.
@Yoichi Yes that works. I’ll mark this as a solution. However, the POs you see in the screenshot are trying to come into the datatable as a one long string. How can I split and make it load into each row per in the data table? Please let me know if this is not clear. I will elaborate more.
Thanks, Now I do not see error. However, the number are not separated. They just appear as one-long number but I want them to be comma separated and listed like you see here123456, 456234.
Now I receive as 123456456234