You can use the VB expression “Now.AddDays(15).Month” to know the month of your new date. Save it in a variable(say NewMonth). Using “Now.Month” you can know current month and save this to another variable(say currentMonth)
If NewMonth is not equal to CurrentMonth, then
use click activity to click on “>>” button and then click on date
else
click on date directly
To know resultant date you can use “Now.AddDays(15).Day” and you can save it in another variable(say NewDay). You can use this variable in your selector which is used to click on date. There’s an option to select the date part in your selector, right click and choose variable.
NewMonth <> CurrentMonth
<> is the comparision operator for “not equals to” in VB

