Create,assign and display the variable in Selenium IDE using store and echo command
1.store
This command is used to store the values in variable
here the target field is filled with values (which need to push in variable)
value field is filled with variable
2.echo
This command is used to display the values of variable
here the target field is filled with syntax as ${"variable"}
No data in value field
3.Using javascript in selenium IDE
By using store command in command field
In target field the excepted javascript is mention like
javascript{Math.floor(Math.random()}
In value field, the variable name is mention for storing the value
4.Stored Variable attributes with javascript using function(length)
By using store command in command field
In target field the excepted javascript is mention like
javascript{storedVars['variable_name'].length}
In value field, the variable name is mention for storing the value
1.store
This command is used to store the values in variable
here the target field is filled with values (which need to push in variable)
value field is filled with variable
2.echo
This command is used to display the values of variable
here the target field is filled with syntax as ${"variable"}
No data in value field
3.Using javascript in selenium IDE
By using store command in command field
In target field the excepted javascript is mention like
javascript{Math.floor(Math.random()}
In value field, the variable name is mention for storing the value
4.Stored Variable attributes with javascript using function(length)
By using store command in command field
In target field the excepted javascript is mention like
javascript{storedVars['variable_name'].length}
In value field, the variable name is mention for storing the value
No comments:
Post a Comment