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

is Generate Random String method supports generating arabic letters #5093

Open
walaa-akram opened this issue Mar 25, 2024 · 2 comments · May be fixed by #5109
Open

is Generate Random String method supports generating arabic letters #5093

walaa-akram opened this issue Mar 25, 2024 · 2 comments · May be fixed by #5109

Comments

@walaa-akram
Copy link

can I use "Generate Random String" method under string library to generate arabic text and how I can do that?

@pekkaklarck
Copy link
Member

There's two ways how to use this keyword:

  1. Give possible characters as an argument like Generate Random String chars=abcde123. This ought to work also with Arabic letters, but you then need to specify them explicitly.
  2. Use special markers like Generate Randon String [LETTERS]. This only supports ASCII characters a-z.

The support for Arabic and other scripts could be enhanced by adding new special markers. For example, we could support Unicode character groups so that you could use [ARABIC]. Do you think this would be useful? Are you interested to contribute?

@walaa-akram
Copy link
Author

Dear pekkaklarck,

Thanks for your reply.
Regarding point #1 then I can write in my code Generate Random String chars=سنينصيلاأبتثحجخدهع
is this will work or I should add space between each character as you can see arabic letters are tied to each other.

Sure it will be a great addition to the library having string generation using arabic letters as we are working for automating many gulf applications which are written in arabic.

Regarding my contribution unfortunately I'm new to python and robot framework but I'm here to support if I can.

Thanks for your support.

@menium878 menium878 linked a pull request Apr 11, 2024 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants