This is a migrated thread and some comments may be shown as answers.

Exception occured selecting Date in Calendar popup

2 Answers 94 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Anand
Top achievements
Rank 1
Anand asked on 28 Jan 2011, 02:04 PM
Hi,

                    I got exception in log while selecting the Date in Calendar popup with the below steps. 
In Test Studio, I have recorded the steps below.

1. Click on Calendar icon.
2.It opens the Canlendar popup.
3.Choose a date & close the popup.
4.Save the test in Teststudio.
5.Execute the test.
6.It is failed in selecting date from the calendar popup.

Please provide a solution for my problem soon.(attached the test steps & log for your reference).
<<< Test-as-Step 'Soco Login.aii' log ends.
 
'1/28/2011 6:08:27 PM' - 'Pass' : 2. Desktop command: HoverOver on ImgBtnMyJobsImage
'1/28/2011 6:08:27 PM' - 'Pass' : 3. Wait for '250' msec.
'1/28/2011 6:08:54 PM' - 'Pass' : 4. Click 'ImgBtnMyJobsImage'
'1/28/2011 6:09:02 PM' - 'Pass' : 5. Desktop command: HoverOver on CalendarImage
'1/28/2011 6:09:06 PM' - 'Pass' : 6. Wait for attribute 'alt' has 'Contains' value of 'Calendar' on 'CalendarImage'
'1/28/2011 6:09:11 PM' - 'Pass' : 7. Click 'CalendarImage'
'1/28/2011 6:09:12 PM' - 'Pass' : 8. Wait for '250' msec.
'1/28/2011 6:09:17 PM' - 'Fail' : 9. Connect to pop-up window : 'http://localhost/socoframework/Calendar.aspx?FormName=aspnetForm&CtrlName=ctl00$contentPage$txtJobsStartDateAndTime'
------------------------------------------------------------
Failure Information:
~~~~~~~~~~~~~~~
Exception occured waiting for the new browser to connect.
InnerException:
System.OperationCanceledException: Exception occured waiting for the new browser to connect. ---> System.TimeoutException: Wait for condition has timed out
   at ArtOfTest.Common.WaitSync.CheckResult(WaitSync wait, String extraExceptionInfo)
   at ArtOfTest.Common.WaitSync.For[T](Predicate`1 predicate, T target, Boolean invertCondition, Int32 timeout)
   at ArtOfTest.WebAii.Core.Manager.WaitForNewBrowserConnect(String url, Boolean isPartial, Int32 timeout)
   --- End of inner exception stack trace ---
   at ArtOfTest.WebAii.Core.Manager.WaitForNewBrowserConnect(String url, Boolean isPartial, Int32 timeout)
   at ArtOfTest.WebAii.Design.IntrinsicTranslators.Descriptors.HtmlDialogHandlerDescriptor.Execute(Browser browser)
   at ArtOfTest.WebAii.Design.Extensibility.HtmlActionDescriptor.Execute(IAutomationHost autoHost)
   at ArtOfTest.WebAii.Design.Execution.ExecutionEngine.ExecuteStep()
------------------------------------------------------------
'1/28/2011 6:09:18 PM' - Detected a failure. Step is marked 'ContinueOnFailure=False' aborting test execution.
------------------------------------------------------------
'1/28/2011 6:09:18 PM' - Overall Result: Fail
'1/28/2011 6:09:18 PM' - Duration: [1 min: 13 sec: 605 msec]


thanks,

2 Answers, 1 is accepted

Sort by
0
Anand
Top achievements
Rank 1
answered on 31 Jan 2011, 12:43 PM
Hi,

Any update on it please? Can anyone help?

Thanks,
0
Konstantin Petkov
Telerik team
answered on 03 Feb 2011, 09:27 AM
Hi Anand ,

A problem like this may occur during execution when the popup has some randomly generated query in the URL. Can you please check if that is the case with this popup?

Here is a KB on the matter. Let us know if this helps or if you need further assistance.

Regards,
Konstantin Petkov
the Telerik team
Interested in Agile Testing? Check out Telerik TV for a recording of Automated Testing in the Agile Environment
Tags
General Discussions
Asked by
Anand
Top achievements
Rank 1
Answers by
Anand
Top achievements
Rank 1
Konstantin Petkov
Telerik team
Share this question
or