07-30-2009, 05:02 PM
Hope this will help you
Code:
Dim nClkCnt
nClkCnt = 0
Browser("Browser").Page("Page").Link("Link1").Click
nClkCnt = nClkCnt + 1
nRem = nClkCnt mod 2
If nRem = 0 Then
msgbox "Click count is Even- displayed in descending order"
else
msgbox "Click count is Odd -displayed in ascending order"
End If