What is the difference between the “store” and “storeEval” commands in Selenium IDE?

1 Answers
Answered by suresh

Difference between "store" and "storeEval" commands in Selenium IDE

What is the difference between the "store" and "storeEval" commands in Selenium IDE?

The "store" command in Selenium IDE is used to store a value in a variable for later use in the test script. It is a basic command that simply assigns a value to a variable.

On the other hand, the "storeEval" command in Selenium IDE is used to store the result of a JavaScript expression in a variable. This command allows you to perform more complex operations and calculations within the test script.

In summary, the main difference between the two commands is that "store" is used for basic variable assignment, while "storeEval" is used for executing JavaScript expressions and storing the result in a variable.

Answer for Question: What is the difference between the “store” and “storeEval” commands in Selenium IDE?