Blue Prism Product

last person joined: 12 minutes ago 

This community covers the core Blue Prism product.

Expand all | Collapse all

Click on element not working using Chrome

  • 1.  Click on element not working using Chrome

    Posted 07-28-2021 13:55

    What I'm trying to accomplish is to upload a file to google drive via Chrome.

    I managed to map the element using the Browser Mode (the button "New" in the drive folder I want to upload to) but when I add the Navigate, the Action "Click" does not work at all. I run it and only thing it does is highlighting the button but not clicking on it (when you click on it, it displays the additional options for your upload)  

    Any solution or steps to achieve that? or what attributes I need in the app modeler? 


    I already tried adding additional actions like "Focus" and "Global send keys" but same result :/

    Using BP V6.5 and Chrome ext 6.10

    attributes

     



    ------------------------------
    Hector Barahona
    ------------------------------


  • 2.  RE: Click on element not working using Chrome

    Posted 07-28-2021 18:22
    Hi Hector,

    At first glance, it appears you're using an incompatible/unsupported Blue Prism version and Chrome Browser extension version configuration. See here for our Browser extension compatibility chart, which indicates if you're running BP v6.5, you should be using v2.1.0 of the Chrome Browser extension. Correcting this may resolve this scenario you describe.

    Alternately, you may want to try out this DX Asset for Google Drive in lieu of automating this via a browser.

    ------------------------------
    Steve Boggs
    Senior Software Support Engineer
    Blue Prism
    Austin, TX
    ------------------------------



  • 3.  RE: Click on element not working using Chrome

    Posted 07-29-2021 07:37

    Hi Hector,

    This is a tricky one, and a classic example of the common traps developers fall into.

    To get this to work, you must first make sure you are onto the right element. Blue Prism will likely give you a DIV element with class uw8t2. This DIV in fact only handles the presentation layer of the button, e.g. register your click and display the button click animation to you. But the actual button that triggers the on page event to display the menu is its parent element, i.e. the button element. See the HTML snippet below using Chrome developer mode for your reference:


    You can use either XPath or absolute Web Path to get to this button element. For the latter, use the DIV element with uw8t2 class, deselect all attributes except for Web Path, and set its value to 
    /HTML[1]/BODY[1]/DIV[3]/DIV[1]/DIV[1]/DIV[1]/DIV[1]/DIV[1]/DIV[2]/DIV[1]/DIV[1]/BUTTON[1], i.e. removing the trailing /DIV[2]. This should allow you to spy this element.

    This is the first step, the 2nd step involves the use of a single Navigate stage with 3 steps, 1) Activate Application on the Chrome window spied using win32 mode, 2) perform Focus on the button element, 3) use Global Send Key to send a single SPACE key to the button element, i.e. set the Text attribute to " ". This should trigger the menu expansion.

    An easy way out involves the use of UIA mode on this button. You will not have the complexity in working out which layer you must select, as there only exists one such MenuItem you can select under UIA. Neither do you need to use a set of steps to trigger this behaviour. A simple "Click" should suffice. The only drawback is the performance of UIA mode. But it is a much simpler solution to develop.

    I will leave you to decide on the best way to achieve this.

    Hope this helps.



    ------------------------------
    Bruce Liu
    Senior Product Consultant, Professional Services
    Blue Prism
    Australia/Sydney
    ------------------------------



  • 4.  RE: Click on element not working using Chrome

    Posted 19 days ago
    @Hector Barahona just 1 quick suggestion , its worth checking google drive APIs once. I remember integrating them once with other tool . ​

    ------------------------------
    ------------------------------
    Vipul Tiwari
    Senior Process Simplification and Optimization Designer(Solutions Architect)
    Fidelity International
    ------------------------------
    ------------------------------



Welcome to the Blue Prism Product Community!

Whether you’re looking to manage a complex infrastructure, maintain security and compliance, bring new products to market faster, or gain operational speed and agility in an uncertain economy, Blue Prism delivers — with the flexibility you need to create the business you want. From deployment on-premise, through a cloud service provider or as SaaS, to a skillful and adaptable digital workforce that continually expands to meet your enterprise needs, you can gain enhanced operational insight and control while your people reclaim the time they need to focus on great work.

Product PageKnowledge BaseBlue Prism Training Offering

FAQs

Blue Prism is intelligent automation — business-developed, no-code automation that pushes the boundaries of robotic process automation (RPA) to deliver value across any business process in a connected enterprise.

A combination of RPA with expanded cognitive and AI capabilities, Blue Prism is different than other automation technology on the market. With one Blue Prism license, you gain instant access to an already AI equipped digital workforce, along with the tools you need to build and delegate automations. Click here for more information on Blue Prism and Intelligent Automation.
To learn more about how Blue Prism can help your organization and how much it will cost to get started, please Contact our Sales department.
Blue Prism can be downloaded from our customer portal. If you would like to consume or download any material it is necessary to create an account on the Portal. Once you have registered, you can access the download options for Blue Prism here.
Yes! Installed on your own machine and supported by our training materials and product documentation, you can use all the features of the full enterprise product for free with our Blue Prism Trial – giving you the opportunity to learn the basics before moving to a full production implementation. Click here for more information and to download the trial.
Yes! You can access our known issue list for Blue Prism from our Support Portal.
Regardless of your industry, Blue Prism’s Digital Workforce can adhere to strict governance and compliance standards without limiting productivity. Click here for more information on how your industry can benefit from Blue Prism.