I use following step to select value from combo-box, but after saving the form the combo-box has empty value.
http://screencast.com/t/0M396CyN
Select_Country is defined as
http://screencast.com/t/dXvX1f8wg3v
http://screencast.com/t/0M396CyN
Select_Country is defined as
http://screencast.com/t/dXvX1f8wg3v
5 Answers, 1 is accepted
0
algot
Top achievements
Rank 1
answered on 20 Mar 2012, 05:33 PM
I found out that if I defined combo-box as
it works fine.
If I define combobox as
value from combo-box is selected but it is not saved on form saving.
tagname=select,name=sitecore_country
If I define combobox as
tagname=select,id=sitecore_country
0
Hello Alexander,
Anthony
the Telerik team
I'm not able to reproduce the behavior in my testing. Please provide more information, specifically a means to reproduce the issue (either in your app or a on public site), so we can continue troubleshooting.
Anthony
the Telerik team
Quickly become an expert in Test Studio, check out our new training sessions!
Test Studio Trainings
Test Studio Trainings
0
algot
Top achievements
Rank 1
answered on 21 Mar 2012, 09:19 AM
I couldn't give you link to this site. So I'll try to describe it more detailed.
I have following control
If I define it as
I have following control
<
SELECT
style
=
"IME-MODE: auto"
id
=
sitecore_country
class
=
"ms-crm-SelectBox "
tabIndex
=
1240
name
=
sitecore_country
attrPriv
=
"7"
req
=
"0"
defaultSelected
=
"null"
><
OPTION
title
=
""
selected
value
=
""
></
OPTION
><
OPTION
title
=
Afghanistan
value
=
89
>Afghanistan</
OPTION
><
OPTION
title
=
Albania
value
=
90
>Albania</
OPTION
>....<
OPTION
title
=
Zimbabwe
value
=
168
>Zimbabwe</
OPTION
></
SELECT
>
If I define it as
tagname=select,name=sitecore_country
value is selected and is saved fine.
If it is defined as
tagname=select,id=sitecore_country
then value is set but is not saved after form save.
0
Hello Alexander,
Anthony
the Telerik team
I still cannot reproduce the issue after adapting your code to my local testing. I can't explain why identifying by id isn't working as expected without seeing the issue first-hand.
Is it an issue to identify the <select> element by name so the test behaves correctly?
Anthony
the Telerik team
Quickly become an expert in Test Studio, check out our new training sessions!
Test Studio Trainings
Test Studio Trainings
0
algot
Top achievements
Rank 1
answered on 21 Mar 2012, 03:59 PM
No, it's not an issue for me. Later to find workaround I had to run recorder to determine how Telerik define this element.