Selenium IDE allows storing and recalling values in the scripts.
To retrieve this variable later simply refer to it as
See more Selenium-related tips on my Selenium page.
To get a value from a hidden field use
storeValue | //input[@id='ItemId'] | itemIdThis will store the value of the hidden input element into a variable named itemId.
To retrieve this variable later simply refer to it as
${itemId}inside any other command.
See more Selenium-related tips on my Selenium page.
No comments:
Post a Comment