Pass Value to Click on Element

Hi Community Forum!

I hope all of you are doing well!

I am facing an issue while passing the variable to the click on element activity. I am performing the right steps but it is giving me an error. I want to know if anyone can correct me if I am doing some wrong steps.

Steps I am performing.


Error I have encountered

Have a great day!

Best Regards,
Muhammad Hayyan Khan

1 Like

Hi @Muhammad_Hayyan,

Everything looks ok to to me from what you have provided. It might be helpful to show us how you have configured the “Click on element” activity.

I have a few suggestions which might help to narrow down the issue:

  • Check and see if you are running the latest version of Studio Pro.
  • Is there any change if you uncheck the ‘Is Global’ checkbox?
  • Is there any change if you use a String for the variable value? This can be enforced by using the Calculate a value option and set the value to double quotes (Ex: “3”).

Thanks,
Arran

2 Likes

Hello @Arran_McCullough

Thank you for your support!

I have noticed all the steps that I have done are correct and are working fine for all the sites except the one I am working on. I have generated the ticket to check why this method is not working for the specific site.

You can use the same method at your end. It works fine.

Have a great day!

Best Regards,
Muhammad Hayyan Khan

2 Likes