
sabarishbabu
Top achievements
Rank 1
sabarishbabu
asked on 23 Nov 2010, 02:07 PM
Hi,
I want to create a recurrence reservation for an reservation. I did the following steps using recorder and save the test.
1.Created a reservation.
2.right click on the reservation, it opens radmenu to select the options from the raditem list.
3.I selected 'Recurrence' option from the rad item list, it opens the Recurrence popup.
4.Then i have choosen the recurrence option for the reservation and saved the test.
5.When i execute the test, it shows error "Input string was not in correct format" and test is failed.
Recurrence popup is not opened. Sometimes test is failed in Right click option itself.
(Attached the screenshot for details).
Please give me a solution to resolve the issue.
thanks,
I want to create a recurrence reservation for an reservation. I did the following steps using recorder and save the test.
1.Created a reservation.
2.right click on the reservation, it opens radmenu to select the options from the raditem list.
3.I selected 'Recurrence' option from the rad item list, it opens the Recurrence popup.
4.Then i have choosen the recurrence option for the reservation and saved the test.
5.When i execute the test, it shows error "Input string was not in correct format" and test is failed.
Recurrence popup is not opened. Sometimes test is failed in Right click option itself.
(Attached the screenshot for details).
Please give me a solution to resolve the issue.
thanks,
3 Answers, 1 is accepted
0
Hi sabarishbabu,
Can you please share the test log for us to diagnose the problem? Are you running that against AJAX or Silverlight application? Does that use RadControls (Scheduler, ContextMenu)?
Greetings,
Konstantin Petkov
the Telerik team
Can you please share the test log for us to diagnose the problem? Are you running that against AJAX or Silverlight application? Does that use RadControls (Scheduler, ContextMenu)?
Greetings,
Konstantin Petkov
the Telerik team
Interested in Agile Testing?
Tune in Wednesday, December 1st for a very special Webinar focused on Agile Testing. Click here to register for free!
Tune in Wednesday, December 1st for a very special Webinar focused on Agile Testing. Click here to register for free!
0

sabarishbabu
Top achievements
Rank 1
answered on 24 Nov 2010, 07:23 AM
Hi,
I am using Context menu in scheduler. Here with attached the log for the test.
thanks,
I am using Context menu in scheduler. Here with attached the log for the test.
thanks,
Overall Result: Fail
------------------------------------------------------------
'11/24/2010 11:20:14 AM' - Starting execution....
------------------------------------------------------------
'11/24/2010 11:21:30 AM' - 'Pass' : 1. Execute test 'ELE Login & Calendar View'
>>> Test-as-Step 'Day View Cases\ELE Login & Calendar View.aii' log starts:
Overall Result: Pass
'11/24/2010 11:20:41 AM' - 'Pass' : 1. Navigate to : 'http://192.168.1.55/eFacilityManager.v2/Public/FacilityLogin.aspx'
'11/24/2010 11:20:42 AM' - 'Pass' : 2. Set 'PublicPlaceHolderLoginUserUserNameText' text to 'raj@aol.com'
'11/24/2010 11:20:43 AM' - 'Pass' : 3. Keyboard (KeyPress) - Tab (1 times) on 'PublicPlaceHolderLoginUserPasswordPassword'
'11/24/2010 11:20:43 AM' - 'Pass' : 4. Set 'PublicPlaceHolderLoginUserPasswordPassword' text to '123'
'11/24/2010 11:20:44 AM' - 'Pass' : 5. Desktop command: HoverOver on PublicPlaceHolderLoginUserLoginButtonSubmit
'11/24/2010 11:20:44 AM' - 'NotRun' : 6. Handle 'Confirm' dialog.
'11/24/2010 11:20:50 AM' - 'Pass' : 7. Click 'PublicPlaceHolderLoginUserLoginButtonSubmit'
'11/24/2010 11:20:52 AM' - 'Pass' : 8. Desktop command: HoverOver on CalendarSpan
'11/24/2010 11:21:11 AM' - 'Pass' : 9. RadMenuItem('ctl00_ctl00_menuPages'): item 'Calendar' action -> 'Navigate' to '~/Secure/Scheduler/Admin/AdminCalendar.aspx'
'11/24/2010 11:21:14 AM' - 'Pass' : 10. Desktop command: HoverOver on DaySpan
'11/24/2010 11:21:28 AM' - 'Pass' : 11. RadScheduler('ctl00_ctl00_SecurePlaceHolder_SchedulerPlaceHolder_schAdminView'): Navigate -> DayView
'11/24/2010 11:21:30 AM' - 'Pass' : 12. Desktop command: HoverOver on TableCell
'11/24/2010 11:21:30 AM' - 'NotRun' : 13.
------------------------------------------------------------
'11/24/2010 11:21:30 AM' - Overall Result: Pass
'11/24/2010 11:21:30 AM' - Duration: [0 min: 56 sec: 721 msec]
------------------------------------------------------------
<<< Test-as-Step 'Day View Cases\ELE Login & Calendar View.aii' log ends.
'11/24/2010 11:21:35 AM' - 'Pass' : 2. Desktop command: HoverOver on NbspTableCell0
'11/24/2010 11:21:38 AM' - 'Pass' : 3. Desktop command: LeftDoubleClick on NbspTableCell0
'11/24/2010 11:21:49 AM' - 'Pass' : 4. Click 'NbspTableCell0'
'11/24/2010 11:21:54 AM' - 'Pass' : 5. RadPicker('ctl00_ctl00_SecurePlaceHolder_SchedulerPlaceHolder_rdSchedulerUpdate_C_tpEndTime_wrapper'): TimeView popup button click
'11/24/2010 11:22:02 AM' - 'Pass' : 6. TimeView('ctl00_ctl00_SecurePlaceHolder_SchedulerPlaceHolder_rdSchedulerUpdate_C_tpEndTime_timeView'): select time '1:00 PM'.
'11/24/2010 11:22:17 AM' - 'Pass' : 7. RadComboBox('ctl00_ctl00_SecurePlaceHolder_SchedulerPlaceHolder_rdSchedulerUpdate_C_ddlMarkUs'): selecting item with index '1'
'11/24/2010 11:22:19 AM' - 'Pass' : 8. Click 'SecurePlaceHolderSchedulerPlaceHolderRdSchedulerUpdateCBtnSchedulerUpdateSubmit'
'11/24/2010 11:22:30 AM' - 'Fail' : 9. Desktop command: RightClick on SecurePlaceHolderSchedulerPlaceHolderSchAdminView120Div
------------------------------------------------------------
Failure Information:
~~~~~~~~~~~~~~~
Unable to locate element. Details: Attempting to find [Html] element using
Find logic
(Html): [id 'Exact' ctl00_ctl00_SecurePlaceHolder_SchedulerPlaceHolder_schAdminView_12_0] AND [tagname 'Exact' div]
Unable to locate element. Search failed!
------------------------------------------------------------
'11/24/2010 11:22:30 AM' - Detected a failure. Step is marked 'ContinueOnFailure=False' aborting test execution.
------------------------------------------------------------
'11/24/2010 11:22:30 AM' - Overall Result: Fail
'11/24/2010 11:22:30 AM' - Duration: [1 min: 57 sec: 468 msec]
------------------------------------------------------------
'11/24/2010 11:22:32 AM' - Test completed!
Overall Result: Pass
'11/24/2010 11:20:41 AM' - 'Pass' : 1. Navigate to : 'http://192.168.1.55/eFacilityManager.v2/Public/FacilityLogin.aspx'
'11/24/2010 11:20:42 AM' - 'Pass' : 2. Set 'PublicPlaceHolderLoginUserUserNameText' text to 'raj@aol.com'
'11/24/2010 11:20:43 AM' - 'Pass' : 3. Keyboard (KeyPress) - Tab (1 times) on 'PublicPlaceHolderLoginUserPasswordPassword'
'11/24/2010 11:20:43 AM' - 'Pass' : 4. Set 'PublicPlaceHolderLoginUserPasswordPassword' text to '123'
'11/24/2010 11:20:44 AM' - 'Pass' : 5. Desktop command: HoverOver on PublicPlaceHolderLoginUserLoginButtonSubmit
'11/24/2010 11:20:44 AM' - 'NotRun' : 6. Handle 'Confirm' dialog.
'11/24/2010 11:20:50 AM' - 'Pass' : 7. Click 'PublicPlaceHolderLoginUserLoginButtonSubmit'
'11/24/2010 11:20:52 AM' - 'Pass' : 8. Desktop command: HoverOver on CalendarSpan
'11/24/2010 11:21:11 AM' - 'Pass' : 9. RadMenuItem('ctl00_ctl00_menuPages'): item 'Calendar' action -> 'Navigate' to '~/Secure/Scheduler/Admin/AdminCalendar.aspx'
'11/24/2010 11:21:14 AM' - 'Pass' : 10. Desktop command: HoverOver on DaySpan
'11/24/2010 11:21:28 AM' - 'Pass' : 11. RadScheduler('ctl00_ctl00_SecurePlaceHolder_SchedulerPlaceHolder_schAdminView'): Navigate -> DayView
'11/24/2010 11:21:30 AM' - 'Pass' : 12. Desktop command: HoverOver on TableCell
'11/24/20
10 11:21:30 AM'
- 'NotRun' : 13.
Overall Result: Fail
------------------------------------------------------------
'11/24/2010 11:20:14 AM' - Starting execution....
------------------------------------------------------------
'11/24/2010 11:21:30 AM' - 'Pass' : 1. Execute test 'ELE Login & Calendar View'
>>> Test-as-Step 'Day View Cases\ELE Login & Calendar View.aii' log starts:
Overall Result: Pass
'11/24/2010 11:20:41 AM' - 'Pass' : 1. Navigate to : 'http://192.168.1.55/eFacilityManager.v2/Public/FacilityLogin.aspx'
'11/24/2010 11:20:42 AM' - 'Pass' : 2. Set 'PublicPlaceHolderLoginUserUserNameText' text to 'raj@aol.com'
'11/24/2010 11:20:43 AM' - 'Pass' : 3. Keyboard (KeyPress) - Tab (1 times) on 'PublicPlaceHolderLoginUserPasswordPassword'
'11/24/2010 11:20:43 AM' - 'Pass' : 4. Set 'PublicPlaceHolderLoginUserPasswordPassword' text to '123'
'11/24/2010 11:20:44 AM' - 'Pass' : 5. Desktop command: HoverOver on PublicPlaceHolderLoginUserLoginButtonSubmit
'11/24/2010 11:20:44 AM' - 'NotRun' : 6. Handle 'Confirm' dialog.
'11/24/2010 11:20:50 AM' - 'Pass' : 7. Click 'PublicPlaceHolderLoginUserLoginButtonSubmit'
'11/24/2010 11:20:52 AM' - 'Pass' : 8. Desktop command: HoverOver on CalendarSpan
'11/24/2010 11:21:11 AM' - 'Pass' : 9. RadMenuItem('ctl00_ctl00_menuPages'): item 'Calendar' action -> 'Navigate' to '~/Secure/Scheduler/Admin/AdminCalendar.aspx'
'11/24/2010 11:21:14 AM' - 'Pass' : 10. Desktop command: HoverOver on DaySpan
'11/24/2010 11:21:28 AM' - 'Pass' : 11. RadScheduler('ctl00_ctl00_SecurePlaceHolder_SchedulerPlaceHolder_schAdminView'): Navigate -> DayView
'11/24/2010 11:21:30 AM' - 'Pass' : 12. Desktop command: HoverOver on TableCell
'11/24/2010 11:21:30 AM' - 'NotRun' : 13.
------------------------------------------------------------
'11/24/2010 11:21:30 AM' - Overall Result: Pass
'11/24/2010 11:21:30 AM' - Duration: [0 min: 56 sec: 721 msec]
------------------------------------------------------------
<<< Test-as-Step 'Day View Cases\ELE Login & Calendar View.aii' log ends.
'11/24/2010 11:21:35 AM' - 'Pass' : 2. Desktop command: HoverOver on NbspTableCell0
'11/24/2010 11:21:38 AM' - 'Pass' : 3. Desktop command: LeftDoubleClick on NbspTableCell0
'11/24/2010 11:21:49 AM' - 'Pass' : 4. Click 'NbspTableCell0'
'11/24/2010 11:21:54 AM' - 'Pass' : 5. RadPicker('ctl00_ctl00_SecurePlaceHolder_SchedulerPlaceHolder_rdSchedulerUpdate_C_tpEndTime_wrapper'): TimeView popup button click
'11/24/2010 11:22:02 AM' - 'Pass' : 6. TimeView('ctl00_ctl00_SecurePlaceHolder_SchedulerPlaceHolder_rdSchedulerUpdate_C_tpEndTime_timeView'): select time '1:00 PM'.
'11/24/2010 11:22:17 AM' - 'Pass' : 7. RadComboBox('ctl00_ctl00_SecurePlaceHolder_SchedulerPlaceHolder_rdSchedulerUpdate_C_ddlMarkUs'): selecting item with index '1'
'11/24/2010 11:22:19 AM' - 'Pass' : 8. Click 'SecurePlaceHolderSchedulerPlaceHolderRdSchedulerUpdateCBtnSchedulerUpdateSubmit'
'11/24/2010 11:22:30 AM' - 'Fail' : 9. Desktop command: RightClick on SecurePlaceHolderSchedulerPlaceHolderSchAdminView120Div
------------------------------------------------------------
Failure Information:
~~~~~~~~~~~~~~~
Unable to locate element. Details: Attempting to find [Html] element using
Find logic
(Html): [id 'Exact' ctl00_ctl00_SecurePlaceHolder_SchedulerPlaceHolder_schAdminView_12_0] AND [tagname 'Exact' div]
Unable to locate element. Search failed!
------------------------------------------------------------
'11/24/2010 11:22:30 AM' - Detected a failure. Step is marked 'ContinueOnFailure=False' aborting test execution.
------------------------------------------------------------
'11/24/2010 11:22:30 AM' - Overall Result: Fail
'11/24/2010 11:22:30 AM' - Duration: [1 min: 57 sec: 468 msec]
------------------------------------------------------------
'11/24/2010 11:22:32 AM' - Test completed!
>>> Test-as-Step 'Day View Cases\ELE Login & Calendar View.aii' log starts:
Overall Result: Pass
'11/24/2010 11:20:41 AM' - 'Pass' : 1. Navigate to : 'http://192.168.1.55/eFacilityManager.v2/Public/FacilityLogin.aspx'
'11/24/2010 11:20:42 AM' - 'Pass' : 2. Set 'PublicPlaceHolderLoginUserUserNameText' text to 'raj@aol.com'
'11/24/2010 11:20:43 AM' - 'Pass' : 3. Keyboard (KeyPress) - Tab (1 times) on 'PublicPlaceHolderLoginUserPasswordPassword'
'11/24/2010 11:20:43 AM' - 'Pass' : 4. Set 'PublicPlaceHolderLoginUserPasswordPassword' text to '123'
'11/24/2010 11:20:44 AM' - 'Pass' : 5. Desktop command: HoverOver on PublicPlaceHolderLoginUserLoginButtonSubmit
'11/24/2010 11:20:44 AM' - 'NotRun' : 6. Handle 'Confirm' dialog.
'11/24/2010 11:20:50 AM' - 'Pass' : 7. Click 'PublicPlaceHolderLoginUserLoginButtonSubmit'
'11/24/2010 11:20:52 AM' - 'Pass' : 8. Desktop command: HoverOver on CalendarSpan
'11/24/2010 11:21:11 AM' - 'Pass' : 9. RadMenuItem('ctl00_ctl00_menuPages'): item 'Calendar' action -> 'Navigate' to '~/Secure/Scheduler/Admin/AdminCalendar.aspx'
'11/24/2010 11:21:14 AM' - 'Pass' : 10. Desktop command: HoverOver on DaySpan
'11/24/2010 11:21:28 AM' - 'Pass' : 11. RadScheduler('ctl00_ctl00_SecurePlaceHolder_SchedulerPlaceHolder_schAdminView'): Navigate -> DayView
'11/24/2010 11:21:30 AM' - 'Pass' : 12. Desktop command: HoverOver on TableCell
'11/24/2010 11:21:30 AM' - 'NotRun' : 13.
------------------------------------------------------------
'11/24/2010 11:21:30 AM' - Overall Result: Pass
'11/24/2010 11:21:30 AM' - Duration: [0 min: 56 sec: 721 msec]
------------------------------------------------------------
<<< Test-as-Step 'Day View Cases\ELE Login & Calendar View.aii' log ends.
Overall Result: Fail
------------------------------------------------------------
'11/24/2010 11:20:14 AM' - Starting execution....
------------------------------------------------------------
'11/24/2010 11:21:30 AM' - 'Pass' : 1. Execute test 'ELE Login & Calendar View'
>>> Test-as-Step 'Day View Cases\ELE Login & Calendar View.aii' log starts:
Overall Result: Pass
'11/24/2010 11:20:41 AM' - 'Pass' : 1. Navigate to : 'http://192.168.1.55/eFacilityManager.v2/Public/FacilityLogin.aspx'
'11/24/2010 11:20:42 AM' - 'Pass' : 2. Set 'PublicPlaceHolderLoginUserUserNameText' text to 'raj@aol.com'
'11/24/2010 11:20:43 AM' - 'Pass' : 3. Keyboard (KeyPress) - Tab (1 times) on 'PublicPlaceHolderLoginUserPasswordPassword'
'11/24/2010 11:20:43 AM' - 'Pass' : 4. Set 'PublicPlaceHolderLoginUserPasswordPassword' text to '123'
'11/24/2010 11:20:44 AM' - 'Pass' : 5. Desktop command: HoverOver on PublicPlaceHolderLoginUserLoginButtonSubmit
'11/24/2010 11:20:44 AM' - 'NotRun' : 6. Handle 'Confirm' dialog.
'11/24/2010 11:20:50 AM' - 'Pass' : 7. Click 'PublicPlaceHolderLoginUserLoginButtonSubmit'
'11/24/2010 11:20:52 AM' - 'Pass' : 8. Desktop command: HoverOver on CalendarSpan
'11/24/2010 11:21:11 AM' - 'Pass' : 9. RadMenuItem('ctl00_ctl00_menuPages'): item 'Calendar' action -> 'Navigate' to '~/Secure/Scheduler/Admin/AdminCalendar.aspx'
'11/24/2010 11:21:14 AM' - 'Pass' : 10. Desktop command: HoverOver on DaySpan
'11/24/2010 11:21:28 AM' - 'Pass' : 11. RadScheduler('ctl00_ctl00_SecurePlaceHolder_SchedulerPlaceHolder_schAdminView'): Navigate -> DayView
'11/24/2010 11:21:30 AM' - 'Pass' : 12. Desktop command: HoverOver on TableCell
'11/24/2010 11:21:30 AM' - 'NotRun' : 13.
------------------------------------------------------------
'11/24/2010 11:21:30 AM' - Overall Result: Pass
'11/24/2010 11:21:30 AM' - Duration: [0 min: 56 sec: 721 msec]
------------------------------------------------------------
<<< Test-as-Step 'Day View Cases\ELE Login & Calendar View.aii' log ends.
'11/24/2010 11:21:35 AM' - 'Pass' : 2. Desktop command: HoverOver on NbspTableCell0
'11/24/2010 11:21:38 AM' - 'Pass' : 3. Desktop command: LeftDoubleClick on NbspTableCell0
'11/24/2010 11:21:49 AM' - 'Pass' : 4. Click 'NbspTableCell0'
'11/24/2010 11:21:54 AM' - 'Pass' : 5. RadPicker('ctl00_ctl00_SecurePlaceHolder_SchedulerPlaceHolder_rdSchedulerUpdate_C_tpEndTime_wrapper'): TimeView popup button click
'11/24/2010 11:22:02 AM' - 'Pass' : 6. TimeView('ctl00_ctl00_SecurePlaceHolder_SchedulerPlaceHolder_rdSchedulerUpdate_C_tpEndTime_timeView'): select time '1:00 PM'.
'11/24/2010 11:22:17 AM' - 'Pass' : 7. RadComboBox('ctl00_ctl00_SecurePlaceHolder_SchedulerPlaceHolder_rdSchedulerUpdate_C_ddlMarkUs'): selecting item with index '1'
'11/24/2010 11:22:19 AM' - 'Pass' : 8. Click 'SecurePlaceHolderSchedulerPlaceHolderRdSchedulerUpdateCBtnSchedulerUpdateSubmit'
'11/24/2010 11:22:30 AM' - 'Fail' : 9. Desktop command: RightClick on SecurePlaceHolderSchedulerPlaceHolderSchAdminView120Div
------------------------------------------------------------
Failure Information:
~~~~~~~~~~~~~~~
Unable to locate element. Details: Attempting to find [Html] element using
Find logic
(Html): [id 'Exact' ctl00_ctl00_SecurePlaceHolder_SchedulerPlaceHolder_schAdminView_12_0] AND [tagname 'Exact' div]
Unable to locate element. Search failed!
------------------------------------------------------------
'11/24/2010 11:22:30 AM' - Detected a failure. Step is marked 'ContinueOnFailure=False' aborting test execution.
------------------------------------------------------------
'11/24/2010 11:22:30 AM' - Overall Result: Fail
'11/24/2010 11:22:30 AM' - Duration: [1 min: 57 sec: 468 msec]
------------------------------------------------------------
'11/24/2010 11:22:32 AM' - Test completed!
'11/24/2010 11:21:35 AM' - 'Pass' : 2. Desktop command: HoverOver on NbspTableCell0
'11/24/2010 11:21:38 AM' - 'Pass' : 3. Desktop command: LeftDoubleClick on NbspTableCell0
'11/24/2010 11:21:49 AM' - 'Pass' : 4. Click 'NbspTableCell0'
'11/24/2010 11:21:54 AM' - 'Pass' : 5. RadPicker('ctl00_ctl00_SecurePlaceHolder_SchedulerPlaceHolder_rdSchedulerUpdate_C_tpEndTime_wrapper'): TimeView popup button click
'11/24/2010 11:22:02 AM' - 'Pass' : 6. TimeView('ctl00_ctl00_SecurePlaceHolder_SchedulerPlaceHolder_rdSchedulerUpdate_C_tpEndTime_timeView'): select time '1:00 PM'.
'11/24/2010 11:22:17 AM' - 'Pass' : 7. RadComboBox('ctl00_ctl00_SecurePlaceHolder_SchedulerPlaceHolder_rdSchedulerUpdate_C_ddlMarkUs'): selecting item with index '1'
'11/24/2010 11:22:19 AM' - 'Pass' : 8. Click 'SecurePlaceHolderSchedulerPlaceHolderRdSchedulerUpdateCBtnSchedulerUpdateSubmit'
'11/24/2010 11:22:30 AM' - 'Fail' : 9. Desktop command: RightClick on SecurePlaceHolderSchedulerPlaceHolderSchAdminView120Div
------------------------------------------------------------
Failure Information:
~~~~~~~~~~~~~~~
Unable to locate element. Details: Attempting to find [Html] element using
Find logic
(Html): [id 'Exact' ctl00_ctl00_SecurePlaceHolder_SchedulerPlaceHolder_schAdminView_12_0] AND [tagname 'Exact' div]
Unable to locate element. Search failed!
------------------------------------------------------------
'11/24/2010 11:22:30 AM' - Detected a failure. Step is marked 'ContinueOnFailure=False' aborting test execution.
------------------------------------------------------------
'11/24/2010 11:22:30 AM' - Overall Result: Fail
'11/24/2010 11:22:30 AM' - Duration: [1 min: 57 sec: 468 msec]
------------------------------------------------------------
'11/24/2010 11:22:32 AM' - Test completed!
>>> Test-as-Step 'Day View Cases\ELE Login & Calendar View.aii' log starts:
Overall Result: Pass
'11/24/2010 11:20:41 AM' - 'Pass' : 1. Navigate to : 'http://192.168.1.55/eFacilityManager.v2/Public/FacilityLogin.aspx'
'11/24/2010 11:20:42 AM' - 'Pass' : 2. Set 'PublicPlaceHolderLoginUserUserNameText' text to 'raj@aol.com'
'11/24/2010 11:20:43 AM' - 'Pass' : 3. Keyboard (KeyPress) - Tab (1 times) on 'PublicPlaceHolderLoginUserPasswordPassword'
'11/24/2010 11:20:43 AM' - 'Pass' : 4. Set 'PublicPlaceHolderLoginUserPasswordPassword' text to '123'
'11/24/2010 11:20:44 AM' - 'Pass' : 5. Desktop command: HoverOver on PublicPlaceHolderLoginUserLoginButtonSubmit
'11/24/2010 11:20:44 AM' - 'NotRun' : 6. Handle 'Confirm' dialog.
'11/24/2010 11:20:50 AM' - 'Pass' : 7. Click 'PublicPlaceHolderLoginUserLoginButtonSubmit'
'11/24/2010 11:20:52 AM' - 'Pass' : 8. Desktop command: HoverOver on CalendarSpan
'11/24/2010 11:21:11 AM' - 'Pass' : 9. RadMenuItem('ctl00_ctl00_menuPages'): item 'Calendar' action -> 'Navigate' to '~/Secure/Scheduler/Admin/AdminCalendar.aspx'
'11/24/2010 11:21:14 AM' - 'Pass' : 10. Desktop command: HoverOver on DaySpan
'11/24/2010 11:21:28 AM' - 'Pass' : 11. RadScheduler('ctl00_ctl00_SecurePlaceHolder_SchedulerPlaceHolder_schAdminView'): Navigate -> DayView
'11/24/2010 11:21:30 AM' - 'Pass' : 12. Desktop command: HoverOver on TableCell
'11/24/2010 11:21:30 AM' - 'NotRun' : 13.
------------------------------------------------------------
'11/24/2010 11:21:30 AM' - Overall Result: Pass
'11/24/2010 11:21:30 AM' - Duration: [0 min: 56 sec: 721 msec]
------------------------------------------------------------
<<< Test-as-Step 'Day View Cases\ELE Login & Calendar View.aii' log ends.
'11/24/2010 11:21:35 AM' - 'Pass' : 2. Desktop command: HoverOver on NbspTableCell0
'11/24/2010 11:21:38 AM' - 'Pass' : 3. Desktop command: LeftDoubleClick on NbspTableCell0
'11/24/2010 11:21:49 AM' - 'Pass' : 4. Click 'NbspTableCell0'
'11/24/2010 11:21:54 AM' - 'Pass' : 5. RadPicker('ctl00_ctl00_SecurePlaceHolder_SchedulerPlaceHolder_rdSchedulerUpdate_C_tpEndTime_wrapper'): TimeView popup button click
'11/24/2010 11:22:02 AM' - 'Pass' : 6. TimeView('ctl00_ctl00_SecurePlaceHolder_SchedulerPlaceHolder_rdSchedulerUpdate_C_tpEndTime_timeView'): select time '1:00 PM'.
'11/24/2010 11:22:17 AM' - 'Pass' : 7. RadComboBox('ctl00_ctl00_SecurePlaceHolder_SchedulerPlaceHolder_rdSchedulerUpdate_C_ddlMarkUs'): selecting item with index '1'
'11/24/2010 11:22:19 AM' - 'Pass' : 8. Click 'SecurePlaceHolderSchedulerPlaceHolderRdSchedulerUpdateCBtnSchedulerUpdateSubmit'
'11/24/2010 11:22:30 AM' - 'Fail' : 9. Desktop command: RightClick on SecurePlaceHolderSchedulerPlaceHolderSchAdminView120Div
------------------------------------------------------------
Failure Information:
~~~~~~~~~~~~~~~
Unable to locate element. Details: Attempting to find [Html] element using
Find logic
(Html): [id 'Exact' ctl00_ctl00_SecurePlaceHolder_SchedulerPlaceHolder_schAdminView_12_0] AND [tagname 'Exact' div]
Unable to locate element. Search failed!
------------------------------------------------------------
'11/24/2010 11:22:30 AM' - Detected a failure. Step is marked 'ContinueOnFailure=False' aborting test execution.
------------------------------------------------------------
'11/24/2010 11:22:30 AM' - Overall Result: Fail
'11/24/2010 11:22:30 AM' - Duration: [1 min: 57 sec: 468 msec]
------------------------------------------------------------
'11/24/2010 11:22:32 AM' - Test completed!
>>> Test-as-Step 'Day View Cases\ELE Login & Calendar View.aii' log starts:
Overall Result: Pass
'11/24/2010 11:20:41 AM' - 'Pass' : 1. Navigate to : 'http://192.168.1.55/eFacilityManager.v2/Public/FacilityLogin.aspx'
'11/24/2010 11:20:42 AM' - 'Pass' : 2. Set 'PublicPlaceHolderLoginUserUserNameText' text to 'raj@aol.com'
'11/24/2010 11:20:43 AM' - 'Pass' : 3. Keyboard (KeyPress) - Tab (1 times) on 'PublicPlaceHolderLoginUserPasswordPassword'
'11/24/2010 11:20:43 AM' - 'Pass' : 4. Set 'PublicPlaceHolderLoginUserPasswordPassword' text to '123'
'11/24/2010 11:20:44 AM' - 'Pass' : 5. Desktop command: HoverOver on PublicPlaceHolderLoginUserLoginButtonSubmit
'11/24/2010 11:20:44 AM' - 'NotRun' : 6. Handle 'Confirm' dialog.
'11/24/2010 11:20:50 AM' - 'Pass' : 7. Click 'PublicPlaceHolderLoginUserLoginButtonSubmit'
'11/24/2010 11:20:52 AM' - 'Pass' : 8. Desktop command: HoverOver on CalendarSpan
'11/24/2010 11:21:11 AM' - 'Pass' : 9. RadMenuItem('ctl00_ctl00_menuPages'): item 'Calendar' action -> 'Navigate' to '~/Secure/Scheduler/Admin/AdminCalendar.aspx'
'11/24/2010 11:21:14 AM' - 'Pass' : 10. Desktop command: HoverOver on DaySpan
'11/24/2010 11:21:28 AM' - 'Pass' : 11. RadScheduler('ctl00_ctl00_SecurePlaceHolder_SchedulerPlaceHolder_schAdminView'): Navigate -> DayView
'11/24/2010 11:21:30 AM' - 'Pass' : 12. Desktop command: HoverOver on TableCell
'11/24/2010 11:21:30 AM' - 'NotRun' : 13.
------------------------------------------------------------
'11/24/2010 11:21:30 AM' - Overall Result: Pass
'11/24/2010 11:21:30 AM' - Duration: [0 min: 56 sec: 721 msec]
------------------------------------------------------------
<<< Test-as-Step 'Day View Cases\ELE Login & Calendar View.aii' log ends.
'11/24/2010 11:21:35 AM' - 'Pass' : 2. Desktop command: HoverOver on NbspTableCell0
'11/24/2010 11:21:38 AM' - 'Pass' : 3. Desktop command: LeftDoubleClick on NbspTableCell0
'11/24/2010 11:21:49 AM' - 'Pass' : 4. Click 'NbspTableCell0'
'11/24/2010 11:21:54 AM' - 'Pass' : 5. RadPicker('ctl00_ctl00_SecurePlaceHolder_SchedulerPlaceHolder_rdSchedulerUpdate_C_tpEndTime_wrapper'): TimeView popup button click
'11/24/2010 11:22:02 AM' - 'Pass' : 6. TimeView('ctl00_ctl00_SecurePlaceHolder_SchedulerPlaceHolder_rdSchedulerUpdate_C_tpEndTime_timeView'): select time '1:00 PM'.
'11/24/2010 11:22:17 AM' - 'Pass' : 7. RadComboBox('ctl00_ctl00_SecurePlaceHolder_SchedulerPlaceHolder_rdSchedulerUpdate_C_ddlMarkUs'): selecting item with index '1'
'11/24/2010 11:22:19 AM' - 'Pass' : 8. Click 'SecurePlaceHolderSchedulerPlaceHolderRdSchedulerUpdateCBtnSchedulerUpdateSubmit'
'11/24/2010 11:22:30 AM' - 'Fail' : 9. Desktop command: RightClick on SecurePlaceHolderSchedulerPlaceHolderSchAdminView120Div
------------------------------------------------------------
Failure Information:
~~~~~~~~~~~~~~~
Unable to locate element. Details: Attempting to find [Html] element using
Find logic
(Html): [id 'Exact' ctl00_ctl00_SecurePlaceHolder_SchedulerPlaceHolder_schAdminView_12_0] AND [tagname 'Exact' div]
Unable to locate element. Search failed!
------------------------------------------------------------
'11/24/2010 11:22:30 AM' - Detected a failure. Step is marked 'ContinueOnFailure=False' aborting test execution.
------------------------------------------------------------
'11/24/2010 11:22:30 AM' - Overall Result: Fail
'11/24/2010 11:22:30 AM' - Duration: [1 min: 57 sec: 468 msec]
------------------------------------------------------------
'11/24/2010 11:22:32 AM' - Test completed!
0
Hello sabarishbabu,
I can see your test consists of actions only. This is considered bad practice because it can hurt the reliability of your test greatly. Please go ahead and take a look at this video tutorial:
http://www.telerik.com/automated-testing-tools/support/videos/best-practices/recording-best-practices.aspx
This should explain nicely what is considered best practice when recording your test.
Please try to apply the same practice for your own tests.
In this particular example I believe that you should add a Wait For condition before you try to invoke the step that fails. Here's what I mean:
Please let us know whether you find this helpful and whether you managed to resolve the issue!
Sincerely yours,
Stoich
the Telerik team
I can see your test consists of actions only. This is considered bad practice because it can hurt the reliability of your test greatly. Please go ahead and take a look at this video tutorial:
http://www.telerik.com/automated-testing-tools/support/videos/best-practices/recording-best-practices.aspx
This should explain nicely what is considered best practice when recording your test.
Please try to apply the same practice for your own tests.
In this particular example I believe that you should add a Wait For condition before you try to invoke the step that fails. Here's what I mean:
'11/24/2010 11:22:30 AM' - 'Fail' : 9. Desktop command: RightClick on SecurePlaceHolderSchedulerPlaceHolderSchAdminView120Div
This fails because the element SecurePlaceHolderSchedulerPlaceHolderSchAdminView120Div which we want to right-click could not be located. So before you try to click it we should add a step that waits until the element appears. So we make a Wait for Exists step before the click. This will prevent WebUI Test Studio trying to click an element that hasn't been loaded yet.
You can add similar Wait for/Verify steps in all other appropriate places in your to really make it reliable. I suggest you re-record it using this guideline.
Sincerely yours,
Stoich
the Telerik team
Interested in Agile Testing?
Tune in Wednesday, December 1st for a very special Webinar focused on Agile Testing. Click here to register for free!
Tune in Wednesday, December 1st for a very special Webinar focused on Agile Testing. Click here to register for free!