Wednesday, 15 May 2013

selenium webdriver - Delete Text in a textfield -



selenium webdriver - Delete Text in a textfield -

i have got problem , don't have thought how solve it. utilize selenium2library robot framework ide webtesting , have textfield text in it. text delete , set text in field. tried utilize "press key" keyword this.

press key locater of textfield \\1 (ctrl+a mark everything) press key locater of textfield \\127 (del delete text)

the first keyword nil , sec deletes 1 letter.

does know how solve problem?

thank every answer.

use this:

input text <locater of textfield> ${empty}

selenium-webdriver robotframework

No comments:

Post a Comment