Some web pages, fields such as date may not be open to change. In this case, we cannot use the set methods activity. In the example below, set methods cannot be used. After pressing the start button, selections must be made from the date box that opens. Click on the previous day’s date each day.
The selected area marks 1 June. The value of “title” varies according to the selected date.
In this case, we can click by using a variable that gives yesterday’s date in day month format in xpath.
Our variable “yesday“ is xpath://*[@id=“Calendar1”]/tbody/tr/td/a[@title=“${yesday}”] used.