Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Better keyword usage experience #738

Open
mikahanninen opened this issue Dec 9, 2022 · 6 comments
Open

Better keyword usage experience #738

mikahanninen opened this issue Dec 9, 2022 · 6 comments
Labels
epic Large feature development (collects multiple Issues) in consideration Might not get on the roadmap

Comments

@mikahanninen
Copy link
Member

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
@mikahanninen mikahanninen added the epic Large feature development (collects multiple Issues) label Dec 9, 2022
@jaukia
Copy link

jaukia commented Dec 9, 2022

Could browse through our codebase to see some examples of Evaluate usage:
https://github.com/search?q=org%3Arobocorp+Evaluate+extension%3Arobot+language%3ARobotFramework&type=Code&ref=advsearch&l=RobotFramework&l=

@jaukia
Copy link

jaukia commented Dec 9, 2022

Potential ones from the search:

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

@mikahanninen
Copy link
Member Author

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

@mikahanninen
Copy link
Member Author

The RPA.Tables - getting columns from a table

${columns}= Evaluate $table.columns

@tonnitommi tonnitommi added the in consideration Might not get on the roadmap label Apr 19, 2023
@kkotenko
Copy link
Contributor

kkotenko commented Oct 13, 2023

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.

@itsanjeev
Copy link

I am looking for following keywords for RPA.Windows:

Wait until elementLocator condition - Exist | No Exist
Compare Image expected actual
Close Application pid

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
epic Large feature development (collects multiple Issues) in consideration Might not get on the roadmap
Projects
None yet
Development

No branches or pull requests

5 participants