Hello I am trying to automate some form applications on a website and the issue I'm encountering is being able to select something other than the first value in the drop down menu. For some reason if the first option is desired the code works flawless, but if the 2nd or 3rd entry is desired I receive the error invalid value. The desired slot is determined off a GUI I built where the value will be set to 1,2, or 3. I assumed that seeing how I'm using an index, but I think this assumption is wrong and I honestly don't know how to go about fixing it. I can't use a search bytext because the text could vary differently from instance to instance. byvalue I don't think I have that information either,I'm assuming its a value that is determined on their end in the code? The options only show up after I choose the correct server. The question is how do I get the next option in the drop down menu?
Local $oQuery4 = _IEFormElementGetCollection($oForm3, 1) _IEFormElementOptionSelect($oQuery4, 1, $slot, "byIndex"); which of the 3 slots _IEFormSubmit($oForm3) _IELoadWait($oIE) EndFunc