My postings on tips and tricks I discovered in development to save others the hassle of battling it out themselves. C# Development, MOSS, SharePoint, ASP.Net, Visual Studio, SQL and other.
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.
2 comments:
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
I tried, but it can't work...
Post a Comment