I am trying to use the Click activity to click one of the tabs in the side menu that is shown below, CDN:
I am trying to make the Process click at CDN. This is the activity:
And this is my Selector:
The problem is doesn’t work sometimes
and gives out an error message such as below:
Upon investigation I have found out that the aaname for this tab actually changes from one click to another depending on the data we click. Sometimes it is like this: <webctrl aaname=' CDN ' parentid='sideMenu' tag='A' />
On another occasion like this: <webctrl aaname=' CDN ' parentid='sideMenu' tag='A'/>
As you can see the aaname size changes.
I have tried to include a wildcard: * on both sides of CDN but when I tried to run it. It fails click on the CDN tab for all cases.
Is there any advice? How can I create a selector that chooses the CDN tab for all cases.
Hoping for a very favourable reply. Thank you.
I have just realized that as you have said, the Selector does work.
I have run the workflow in Debug mode and I have noticed that there is a Green tick on the Click activity and continues to the next activity which is to click on another button which will be visible after CDN is clicked but since the clicking did not place error is thrown for this activity: