Push Button Disabled or enabled?

Hi,

I have a download push button in the page that I need to check if that is enabled , if yes click on it, if no do take the screenshot and share as document . This download button isn’t in the same place in every time i launch . How do I find it and click on wherever is it?

Hi @Tanyapillai ,

using Get attribute activity and try getting the ‘aastate’ attribute.

which will show if its either enabled or disabled

Regards
Sandy

One challenge @sandyarpa767 iam facing here is the element is not in a fixed position , its changing its position every time i launch

Hi @Tanyapillai

Can you share 2-3 screenshots and let us know how it’s changing.

Regards

make sure u disable strict selector and use fuzzy selector instead and not use any anchors for the element

due to some security concerns cant share the client data

Final approach based on my exp i suggest is

make sure u are using fuzzy selectors and no anchors involved to identify element for changing positions and
use get attribute activity and get aastate of element
if enabled click on download
else use take screenshot activity and use word activites to insert the image and share the doc as required

Hope this helps

Regards
Sandy

will try thanks @sandyarpa767

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.