/
"GET_COOKIE_VALUE" Command
"GET_COOKIE_VALUE" Command
Description: This command retrieves cookies values and assigns them to variables.
Usage Scenarios:
A- Suppose we want to retrieve a cookie by name "session-id" which was added using a randomly generated session-id for the sake of this example.
Procedure: Define a step with Get_Cookie_Value command, enter a variable name and enter the cookie name. Your steps will look like this:
B- Suppose we want to verify that the cookie value is "null" after deleting the cookie from the site. Your steps will look the same as in Scenario A but will bring the result as “null”. Then you can use Compare command to compare the returned value with ‘null’
Related content
"ALERT" Command
"ALERT" Command
Read with this
"PRINT_PAGE_SOURCE" Command
"PRINT_PAGE_SOURCE" Command
Read with this
"EXECUTE_REST" Command
"EXECUTE_REST" Command
Read with this
"DOUBLE_CLICK" Command
"DOUBLE_CLICK" Command
Read with this
"DRAG_AND_DROP" Command
"DRAG_AND_DROP" Command
Read with this
"VERIFY_XML" Command
"VERIFY_XML" Command
Read with this