Search code examples
multi-selectblueprism

How to Multi-Select options on a drop down menu on a web using Blue Prism


I am trying to get blue prism to multi-select some options on a webpage. What I did was spy the html combo box and then use navigate to create four elements:

  1. Global send keys, with text value = "<{CTRL}>".
  2. Global Mouse click, with text value = option name
  3. repeat 2 on other options I want to choose
  4. Global send keys, with text value = "{CTRL}".

Error message was "Keyword "CTRL" is not valid". Very confused on how to proceed...


Solution

  • If you want to do press a key, then do some actions, then release the key, then Global Send Keys is not the function to use. Go for Global Send Key Events.

    The < and > function as a state modifier, using these you specify what key event you want to do. The character < is for key pressing, > is for releasing. So, to press Control, you would use <{CTRL} and to release it you would use >{CTRL}.