"NORMALIZE_SPACE" Command

Description: This command removes unnecessary spaces in a text and stores the value in a variable.
Usage Scenario: Suppose we want to write "This a Subject7 test" in the Email field, normalize the spaces and then type it again.

Procedure: Define the below steps:
A- step to navigate to Reference app
B- Step to click Login link
C- Step to fill Email field with value "This a Subject7 test"
D- Step which retrieves the value from Email field and stores it in a variable
E- Step which normalizes space from variable value in step D and stores it in different variable
F- Step which clears Email field and enters new value with normal spaces

Your step will look like this:

image-20240527-163730.png

 

Â