-
Notifications
You must be signed in to change notification settings - Fork 34
Search by catalog number: add integration test for an empty result #1066
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
Comments
https://stackoverflow.com/questions/55791753/robot-framework-random-selection-of-drop-downs. Can we use this solution? |
No series found - should we add an id to this element for checking the text value ? |
Unfortunatelly, no, we can't use it because it requires a library on Python while we use Robot Framework that is running under JVM. Anyway, it makes a little sense to add a dependency on a library for just a few lines.
Definitely, we should. In most of the cases, when there is no id, we should add it. |
Ok. No problem. I was not aware of the dependency. Agree no need to add for
this requirement.
Will check.
Thanks
|
I am able to access the list. I get the length of items. Is there any way I can get a random number between 0 and ListLength-1. which I can pass use for setting the selected index. |
Hey, good question! Thank you! It seems that we can use |
P.S. Could you, please, create a separate keyword |
Yes. Search non existent catalog number results in no series found |
I will try to move a few steps to reusable keyword |
If you have some code, why not submit it as a pull request? Just prepend PR's title with |
…catalog number results in no records found php-coder#1066
Create the following test:
Search by catalog
form:Search
buttonNo series found
Requirements:
src/test/robotframework/series/search/logic.robot
fileHint:
Extracted from #340 to reduce the scope.
The text was updated successfully, but these errors were encountered: