Hi,
Thanks for the reply.
i tried the below code, now i am getting timeout error
The error is given below
Test method WebAiiSample.WebAiiTest.ChildWindowTest threw exception: System.TimeoutException: Wait for condition has timed out.
ArtOfTest.Common.WaitSync.CheckResult(WaitSync wait, String extraExceptionInfo)
ArtOfTest.Common.WaitSync.For[T](Predicate`1 predicate, T target, Boolean invertCondition, Int32 timeout)
ArtOfTest.WebAii.Silverlight.VisualWait.ForExistsInternal(Int32 timeout, Boolean invertCondition)
ArtOfTest.WebAii.Silverlight.VisualWait.ForVisible(Int32 timeout)
ArtOfTest.WebAii.Silverlight.VisualFind.ReturnOrThrow(FrameworkElement e, String throwMessage)
ArtOfTest.WebAii.Silverlight.VisualFind.ByName(String name)
ArtOfTest.WebAii.Silverlight.VisualFind.ByName[T](String name)
WebAiiSample.WebAiiTest.ChildWindowTest() in Z:\Kiran\VS2008\Testing\WebAiiSample\WebAiiSample\WebAiiTest.cs: line 267