Help with Template

Hi all,

I am wanting to build a template that takes 6 user-defined UI element interactions and runs them through a specific sequence that is always the same. The only things that will change each time the template is used are the element interactions. I am hoping to speed up the process by “initializing” the element interactions at the beginning of the sequence, then allowing the software to finish everything.

Is there a way to store the action of the UI element interaction and then call that same action later in the template?

An example of the template I am trying create would be:

  1. Search for “apple”
  2. Click “buy” button (This is the UI element interaction I’d like to store)

  3. Search for “apple”
  4. Click “buy” button

For this scenario I am wondering if it is possible to store the action of finding the “apple” element and clicking the “buy” button in the beginning of a template that will then be used throughout the template, considering the element will change each time the template is used (IE it won’t be “apple”).

Thank you for any help or guidance you can provide. Any suggestions on similar projects or documentation to check out would be greatly appreciated!

Purple

@PurplePrognoses

If the innertext or so is changing as per value…then use that as a variable and pass the variable value as you need

Cheers