Variable can be saved in which format?

Options
- ${variableName}
- storedVars['variableName'].
- Both of these
- None of these


CORRECT ANSWER : Both of these

Discussion Board
Selenium

Answer: storedvars[‘variablename’]
Solution: In selenium we use 2 functions for storing value into variables.
store(expression, variable name) for storing value
storedvars[‘variablename’] for storing one variable value to another variable.
Therefore, Option b is correct as per the given option.


Rohit Srivastava 07-28-2014 05:35 AM

Write your comments


Enter the code shown above:

(Note: If you cannot read the numbers in the above image, reload the page to generate a new one.)


Advertisement