09-02-2010, 01:00 PM
Hi Nishaat,
You have not mentioned what are the dialog titles for different instances(please provide at least two different titles, if possible). This way we can look at the title pattern. If some part is similar for all titles we can make that part fixed and regularize the rest part.
Even I had faced the same situation while I was automating a Web application. There when I was clicking on a certain link, a dialog was popped up having titles like say Employee123,Employee254 etc. So here I used something like
It worked fine for me.
Please let me know.
You have not mentioned what are the dialog titles for different instances(please provide at least two different titles, if possible). This way we can look at the title pattern. If some part is similar for all titles we can make that part fixed and regularize the rest part.
Even I had faced the same situation while I was automating a Web application. There when I was clicking on a certain link, a dialog was popped up having titles like say Employee123,Employee254 etc. So here I used something like
Quote:Browser("").Dialog("title:=Employee.*").WinButton("").Click
It worked fine for me.
Please let me know.