Thursday, January 22, 2009

Watin working with window.showModalDialog()

This post has been moved here: Programmer Computer

2 comments:

Ali Zaidi said...

Use IE.AttachToIE( AttributeConstraint ) Method for finding Child Window

Example: IE newlyOpenedwindowByJavascript=IE.AttachToIE( Find.ByTitle(“Some Window Title”) );

Please make sure that window is opened before making this call. You can use System.Threading.Thread.Sleep(timeInSecond) to wait until window is loaded in browser.

Regards
Nad e Ali Zaidi

Anonymous said...

I tried, but it can't work...