Many projects are having same title for the windows or dialog boxes. Assume that two window objects are unique and children of them are different. In this situation, look for unique child objects and re-define your frame like below. It will be useful mainly for installers and web applications. Often the browser title will be same for many screens.
Below I have given for Silktest. Assume that X & Y are two different windows and having same tag. Both windows are differentiated by their unique child objects.
Window X
tag "TestWindow/[TextField]Name/.."
Window Y
tag "TestWindow/[Pushbutton]Search/.."
Saturday, May 10, 2008
Handle Same titled windows
Labels:
automation,
concepts,
silktest
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment