Skip to content

Commit

Permalink
Merge pull request #382 from LukaszSiudakiewicz/master
Browse files Browse the repository at this point in the history
Robot iOS - using xpath for pointers
  • Loading branch information
jarekjakubowicz authored Jan 28, 2022
2 parents f810753 + c3e4fbe commit ec262f0
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ Test Teardown Close Application

*** Variables ***
${NAME} John
${INPUT_NAME_FIELD} name = userName
${SUBMIT_BUTTON} name = sendAnswer
${INPUT_NAME_FIELD} xpath=//*[@name='userName']
${SUBMIT_BUTTON} xpath=//*[@name='sendAnswer']

*** Test cases ***

Expand Down Expand Up @@ -50,7 +50,7 @@ Input Name

Select Option
[Arguments] ${option}
Click Element id = ${option}
Click Element xpath=//*[@name='${option}']

Submit Selection
Click Element ${SUBMIT_BUTTON}
Expand Down

0 comments on commit ec262f0

Please sign in to comment.