Clicking an item repeatedly

How can i click a button or any element more than once?? For example if i have an add button and i want to click on it 5 times then how to do it?? Thanks

You can use loop


thank u priyank…can u show me a sample code related to it?

put your code inside loop.

This is a tutorial for how to write loops in Java:

You can easily find tutorials for your own language by searching for them using your favorite web search engine.