"store" command
"store" command is useful to store value or string into variable. When you want to use some value at some other command, you can store that value.
Bellow is the example of "store" command. It will store string "Hello" into variable "i". I can use that string in
any next commands.
New Test | ||
Command | Target | Value |
open | http://software-testing-tutorials-automation.blogspot.in | |
store | Hello | i |
"echo" command
"echo" command is useful to know stored value of any variable. We can use it for debugging purpose.
New Test | ||
Command | Target | Value |
open | http://software-testing-tutorials-automation.blogspot.in | |
store | Hello | i |
echo | ${i} |
In above example when "echo" command will be executed, it will display current store value of variable "i" into Log area of selenium IDE window. In this case it will show log like "[info] echo: Hello ".
No comments:
Post a Comment