Hello,
I am using Classic Rad Controls for Asp.net. and trail version of WebUI test studio QA edition. I am trying to set the value of a RadDatePicker2 by extracting the value from RadDatePicker1.
When the test executes, I see the date being set but again it is cleared.
'03/29/2011 11:20:21 AM' - 'Pass' : 5. Extract textbox 'RadDatePickerSegStartDateDateInputTextBoxText' content into DataBindVariable $(SegmentDate).
'03/29/2011 11:20:21 AM' - 'Pass' : 6. Set 'RaddatepickerSegEndDateDateInputTextBoxText' text to ' / / ' - DataDriven: [$(SegmentDate)]
Can you please help me with this?
Thanks,
Anju
I am using Classic Rad Controls for Asp.net. and trail version of WebUI test studio QA edition. I am trying to set the value of a RadDatePicker2 by extracting the value from RadDatePicker1.
When the test executes, I see the date being set but again it is cleared.
'03/29/2011 11:20:21 AM' - 'Pass' : 5. Extract textbox 'RadDatePickerSegStartDateDateInputTextBoxText' content into DataBindVariable $(SegmentDate).
'03/29/2011 11:20:21 AM' - 'Pass' : 6. Set 'RaddatepickerSegEndDateDateInputTextBoxText' text to ' / / ' - DataDriven: [$(SegmentDate)]
Can you please help me with this?
Thanks,
Anju
5 Answers, 1 is accepted
0
Hi Anju,
In order for TestStudio to work with the classic RadControls you need to disable the RadControls Translators as they support only the Asp.Net AJAX version of the controls. I am attaching a screenshot illustrating how to do this.
Regards,
Pavel
the Telerik team
In order for TestStudio to work with the classic RadControls you need to disable the RadControls Translators as they support only the Asp.Net AJAX version of the controls. I am attaching a screenshot illustrating how to do this.
Regards,
Pavel
the Telerik team
0

Anju
Top achievements
Rank 1
answered on 30 Mar 2011, 02:36 PM
Hello Pelvin,
Thanks for your reply. I have made the changes you have suggested but I am not yet able to achieve the results.
Problem:
I am trying to extract a date from RadDatepicker1 and set the extracted date to RadDatePicker2.
As shown in below two steps Pass 5 to extract the date from RadDatePickerSegStartDateDateInputTextBoxText and pass 6 -- I am databinding the 'RaddatepickerSegEndDateDateInputTextBoxText' to the extracted date from pass 5.
'03/29/2011 11:20:21 AM' - 'Pass' : 5. Extract textbox 'RadDatePickerSegStartDateDateInputTextBoxText' content into DataBindVariable $(SegmentDate).
'03/29/2011 11:20:21 AM' - 'Pass' : 6. Set 'RaddatepickerSegEndDateDateInputTextBoxText' text to ' / / ' - DataDriven: [$(SegmentDate)]
It works fine when I try to extract value from textbox1 and assign it to textbox2. as shown below:
'03/30/2011 9:29:32 AM' - 'Pass' : 5. Extract textbox 'TxtProjectedSegDaysText' content into DataBindVariable $(ActualText).
'03/30/2011 9:29:32 AM' - 'Pass' : 6. Set 'TxtActualSegDaysText' text to 'a' - DataDriven: [$(ActualText)].
Can you please let me know how to achieve this?
Thanks for your reply. I have made the changes you have suggested but I am not yet able to achieve the results.
Problem:
I am trying to extract a date from RadDatepicker1 and set the extracted date to RadDatePicker2.
As shown in below two steps Pass 5 to extract the date from RadDatePickerSegStartDateDateInputTextBoxText and pass 6 -- I am databinding the 'RaddatepickerSegEndDateDateInputTextBoxText' to the extracted date from pass 5.
'03/29/2011 11:20:21 AM' - 'Pass' : 5. Extract textbox 'RadDatePickerSegStartDateDateInputTextBoxText' content into DataBindVariable $(SegmentDate).
'03/29/2011 11:20:21 AM' - 'Pass' : 6. Set 'RaddatepickerSegEndDateDateInputTextBoxText' text to ' / / ' - DataDriven: [$(SegmentDate)]
It works fine when I try to extract value from textbox1 and assign it to textbox2. as shown below:
'03/30/2011 9:29:32 AM' - 'Pass' : 5. Extract textbox 'TxtProjectedSegDaysText' content into DataBindVariable $(ActualText).
'03/30/2011 9:29:32 AM' - 'Pass' : 6. Set 'TxtActualSegDaysText' text to 'a' - DataDriven: [$(ActualText)].
Can you please let me know how to achieve this?
0
Hi Anju,
I am attaching a simple test which illustrates how you can extract value from one picker and set it to another.
All the best,
Pavel
the Telerik team
I am attaching a simple test which illustrates how you can extract value from one picker and set it to another.
All the best,
Pavel
the Telerik team
0

Anju
Top achievements
Rank 1
answered on 05 Apr 2011, 04:59 PM
Hello Pavel,
Thanks a lot for getting back to me.
I have tried everything you have mentioned in sample project. (Attached a screen shot of my test) But yet the Date is not getting set.
Problem is the RadDatePicker2 field is being defaulted to / / . So , when I try to set extracted value to it, at first it is set and immediately it is again defaulted to / / .
Can you please help me find a way to set the date.
Thanks,
Anju
Thanks a lot for getting back to me.
I have tried everything you have mentioned in sample project. (Attached a screen shot of my test) But yet the Date is not getting set.
Problem is the RadDatePicker2 field is being defaulted to / / . So , when I try to set extracted value to it, at first it is set and immediately it is again defaulted to / / .
Can you please help me find a way to set the date.
Thanks,
Anju
0
Hello Anju,
Have you tried the test page attached in my previous post and can you reproduce the problem with it? If the issue is specific to your test and test page, you can open a formal support ticket and attach the relevant files to it so we can investigate further and advise you accordingly.
All the best,
Pavel
the Telerik team
Have you tried the test page attached in my previous post and can you reproduce the problem with it? If the issue is specific to your test and test page, you can open a formal support ticket and attach the relevant files to it so we can investigate further and advise you accordingly.
All the best,
Pavel
the Telerik team
Do you want to have your say when we set our development plans?
Do you want to know when a feature you care about is added or when a bug fixed?
Explore the
Telerik Public Issue Tracking
system and vote to affect the priority of the items