| || |
PopupList - nothing selected?
I'm using SilkTest 18.104.22.168, no DOM (I know I need to upgrade - just hasn't been in the cards lately).
My problem is this... I have a webpage that has a form. The form contains multiple textfields and popuplists, and new "Clear" functionality to allow you to enter values in many fields and select various dropdowns, but then reset it all to defaults (clearing all textfields, and default values for the dropdowns).
I'm trying to write a test that will fill and select values from all the fields - select clear - then verify everything is set back to default. The textfields are working fine, but using GetSelText to verify the popuplists is returning a empty field. When looking at it on the screen there is clearly a value selected. I have used GetContents to see if it sees the values correctly and it does - not returning with a blank value?
Re: PopupList - nothing selected?
If this is an HtmlPopupList, this question has been answered in this forum at great length -- use the search. (You may not like the answer, but at least you will get one!)