GetPageTitle command is used to get the title of current web page.

Select GETPAGETITLE command from the action drop down, leave Screen name, Element key blank and provide a variable name in parameter section as shown below:

After completing this step, test step will look as below:

Once title is stored in the variable, it can be accessed via ${x}.

Was this page helpful?