Community Chat

last person joined: 4 days ago 

A space for discussion around the Community site and programs.

  • 1.  Unable to click on HTML link

    Posted 10-21-2021 13:33
    Hi ,
    I am unable to click on certain HTML elements. This is what i have tried

    1. Using HTML spied on the element. Highlight happens correctly but while trying to click it just doesn't do anything.  no errors also
    2. I spied using UI mode and now the click does work. However the element that i am accessing is dynamic and its height keeps on increasing. After it reaches a specific height then the remaining elements are not visible in UI directly and we need to use a scroll bar to see the complete element. The global mouse click center however goes and clicks on yellow space assuming that the element exists there. I tried using X and Y coordinates but the coordinates retrieved using Get Screen / Relative Bound is nowhere near the window where i need to click.

    Sandeep Satish

  • 2.  RE: Unable to click on HTML link

    Posted 10-21-2021 16:21
    A couple of other things to try:

    *  Using HTML mode experiment with different press/click events.  Maybe even try sending a space character to the button element.
    *  Activate the window (Win32),  then use UIA or AA mode and send a focus action to the element.  Then send a global mouse click.  A global mouse click will always work.
    *  There is also Invoke Javascript functionality in Blue Prism (should be something on how to use that in the Product help and/or other threads in this forum).  You could Invoke the button press.  The Invoke Javascript option was created for a project I was on 11 or 12 years ago where a HTML button did not work!

    Denis Dennehy
    Head of Professional Services, EMEA
    Blue Prism Ltd

  • 3.  RE: Unable to click on HTML link

    Posted 10-21-2021 17:11
    Hi Sandeep

    Have you tried adjusting the element attributes to get a more accurate identification? perhaps un-select the height attribute to and check if the element is still identified and if not try playing with adding in different attributes such as match index. Match index can be set to 1 and incremented if doesnt initially identify the element e.g. 1 cant identify the element so set it to 2 and try highlighting the element again etc.

    Michael ONeil
    Technical Lead developer
    Everis Consultancy

  • 4.  RE: Unable to click on HTML link

    Posted 10-24-2021 19:08
    Hi @Sandeep Satish​​,

    As suggested by @Denis Dennehy, you can use any of the suggested ways. I generally spy the element in HTML mode and use focus action to bring the focus to that element and post that, we can use UIA/AA mode to perform Global mouse click center action.
    Alternatively, Javascript is one of the best solutions which directly perform the action. You have to identify the correct function, the button click is performing and directly calling the function along with its parameters using Navigate stage.​​

    Ritansh Jatwani Senior Consultant
    *If you find this post helpful mark it as best answer

  • 5.  RE: Unable to click on HTML link

    Posted 10-24-2021 19:30
    As other suggested way you can try, I would like to add one more method - is there direct URL, if you click on HTML element? If yes then would suggest use that, if other method can not use.

    Malak Dudhia

Welcome to Community Chat!

A space for non-technical chat, tips for using the Community, and news from the Blue Prism Community Team.

This is not a Community for technical or Product related discussion. For a list of available communities, please visit our site map.

Introduce YourselfCommunity Quick TipsWomen in RPA