Unanswered question

i have a screen to add location ,after click on add location popup will come then i need to enter addres after that i can see 3 tabs like save ,save&add another,cancel in this process after enter one address i need to click on save & add another like this i need to add 400 addresses ,for this i am looking solution,how can i achieve this requirement till 400 loop count with diff address in everyloop count ..........after completed 400 loop count i have many transactions after this.........