Deepak you can set indictor to check whether button is clicked or not. For eg:
After click on particular button some event or some page is getting displayed. So you can have your statement like as below:-
if (Browser(b).Page(p).getROProperty("name")="xyz") then
btnClickIndicator = true
if (btnClickIndicator = true) then
Hope this works for you.