robocorp / rpaframework

Collection of open-source libraries and tools for Robotic Process Automation (RPA), designed to be used with both Robot Framework and Python

Home Page:https://www.rpaframework.org/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Better keyword usage experience

mikahanninen opened this issue · comments

List of cases where a developer needs to use for example Evaluate or inline Python evaluation and the usage is difficult or unclear.

  • Handling Get WebElement/WebElements results, ie WebElement object and its methods
  • Handling WindowsElement.item object methods

Potential ones from the search:

  • rounding numbers
  • generating random numbers
  • parsing url segments
  • string contains
  • date equals comparison
  • marking chromedriver as undetected

Any code snippets people regularly use might warrant a new keyword itself.

The RPA.Tables - getting columns from a table

${columns}= Evaluate $table.columns

For RPA.Windows, I would like to have a keyword that returns True if an element has children, or a keyword that gives you the list of children directly.

Edited to add: Also a reference to the parent element.