Can you send your webtest steps?
2012/2/23 naz a <[email protected]> > Hi, > > I am trying to automate a form, but certain drop down fields in the form > only are click-able once lets say drop down field1 has been filled out, > then drop down field2 is available. > I can't trigger drop down field2 from being recognized because when I look > at the automation results file, > drop down field1 has been reset and it looks like its when I submit the > entire form. A page refresh occurs and I am losing data, so drop down > field1 is not being saved. > > I have tried to rearrange the test to enter drop down fields first that > trigger the page refresh, > and all the form fields after - so the drop down fields I need to trigger > field2 are saved, but drop down field2 is not click-able and my form errors > out saying "please enter all the required fields". > So I need to know how to get drop down field2 to be click-able after a > page refresh. > I have tried the following and not of it triggers drop down field2: > > > <forceInputFieldAttribute description="Enable field2" htmlId="2a" > attributeName="disabled" attributeValue=""/> > > <setSelectField description="Enable field2" htmlId="2a" text="Other"/> > > <forceInputFieldAttribute description="Enable field2" htmlId="2a" > attributeName="disabled" attributeValue=""/> > > <setSelectField description="Enable field2" htmlId="2a" text="Other"/> > > <clickElement xpath="//option[@value='Other']"/> > > Please send suggestions. > > Thank You in advance. > Naz >

