
|
If you were logged in you would be able to see more operations.
|
|
|
Watir
Created: 15/Mar/06 09:00 AM
Updated: 24/Nov/08 02:03 PM
|
|
| Component/s: |
HTML Controls
|
| Affects Version/s: |
1.4.1,
1.5.0/1.5.1
|
| Fix Version/s: |
Next
|
|
|
Original Estimate:
|
Unknown
|
Remaining Estimate:
|
Unknown
|
Time Spent:
|
Unknown
|
|
Environment:
|
Windows XP SP2 and IE 6
|
|
Issue Links:
|
Relationship
|
|
|
|
This issue Relates to:
|
|
WTR-22
SelectBox doesn't focus
|
|
|
|
|
|
|
> The developer put an 'OnBlur' event behind the selecting from the
> troublesome dropdown, which would populate a form variable with the value of
> the selection. That event was not happening in my script (not sure how
> Watir does it but you actually have to give the select list focus in order
> for the OnBlur event to fire, or call the event explicitly). When I added
> this line to my script >>$ie.selectBox( :name,
> "myProjectID2").fireEvent("OnBlur")<< then it set the
> variable and would not reset the value
The OnBlur event is not being fired after selecting a value from a selectBox.
|
|
Description
|
> The developer put an 'OnBlur' event behind the selecting from the
> troublesome dropdown, which would populate a form variable with the value of
> the selection. That event was not happening in my script (not sure how
> Watir does it but you actually have to give the select list focus in order
> for the OnBlur event to fire, or call the event explicitly). When I added
> this line to my script >>$ie.selectBox( :name,
> "myProjectID2").fireEvent("OnBlur")<< then it set the
> variable and would not reset the value
The OnBlur event is not being fired after selecting a value from a selectBox. |
Show » |
|
Note that for some reason Mark's replies are all archived as new threads.