lundi 22 avril 2019

Robot Framework : Random Selection of Drop downs

I need some help, I want to create a test that will randomly get the value during test case since in my case I declared it in my code, how can I make this randomly?

Heres my code

html

<select name="gender">
    <option>Please Select</option>
    <option value='Male'>Male</option>
    <option value='Female'>Female</option>
</select> 

robot

*** Test Cases ***
Select From List By Value    xpath://select[@name='gender']    Male




Aucun commentaire:

Enregistrer un commentaire