Hello @smriti.dalal17
I explain to you how to do this in the following example:
Let’s say I want to do a login test, so I will record typing a username and password into the fields:
and on the next page, I’ll check if my name is contained where the username should be:
To do a verification, you need to stand on the text you want to check with your mouse and double-click the Shift key that will open the menu you see in the image above.
and click on Contains Text.

Now, if I want to use a parameter for username, I will go into the step, create a parameter if it does not already exist, and select it:



so now I can delete my name from the field and save the step:
As you can see in the following image I also replaced the typing I did with the username parameter:
All I have left is to just run the test: