I am trying to automate the process of adding a digital signature. Since there is no pre-existing activity in PDF package, I am using a traditional Click activity.
I am making my program click on “Sign” button. However, this click activity works sometimes and doesn’t work other times, and it is random!
What bothers me is, when I indicate the element from Click activity, it creates a selector right? Sometimes, it becomes “INVALID”, and sometimes it becomes “VALID” even though the pdf condition is the same.
The selector does not include any idx values. This is driving me crazy. Why does it work sometimes and not work other times? I understand that idx values can keep changing each time, so I got rid of it. Even the same selector doesn’t work that was working before. And this is not a browser, so the element tags shouldn’t change unless I do update.
Is this some kind of bug? How can I make a selector generic and work with certainty?