how to set a text in a search inputbox
i've a popup window and i need to search for a specific class and select it. then enter exposure and save it, when i record it, it works fine but doesn't work when i actually write the code. script is able to settext but when it clicks save the class code disappares, how do i set the value in that Class field
Set sPage=Sys.Browser("iexplore").Page("http://me-aptweb1/Affiliation/ClassList.aspx")
Set sPanel=sPage.Form("form1").Panel("UpdWindow").Table(0).Cell(1, 1).Frame("UpdWindow").Form("form1").Panel(2).Panel("content")
sPanel.Table("conForm_mainTbl").Cell(1, 1).Panel("ClassCd").Table(0).Cell(0, 0).Textbox("Input").SetText("2157 - Bottling All Ops and Rte Superv Drivers")
sPanel.Table("conForm_mainTbl").Cell(2, 1).Textbox("conForm_Exposure").SetText("150000")
sPanel.Panel(1).SubmitButton("conForm_btnSave").Click