Hi there,
Im working a web browser automation project. There is an ajax controlled dropdown list in a web site.
It was like this;
<option value="test1">test1</option>
<option value="test2">test2</option>
<option value="test3">test3</option>
<option value="test4">test4</option>
<option value="test5">test5</option>
When i was selected test2 ajax is working and its giving another div. (I need this div)
I use this codes;
webbrowser1.Document.GetElementsByTagName("select")[0].Document.GetElementsByTagName("option")[1].SetAttribute("selected", "selected");
Its only changing attribute and for this reason it doesnt working ajax.
How can i select option 1?
Thanks.