ClickItem() of drop down menu doesn't trigger related event on web page
My tested application is implemented in ASP.NET. Infragistics 2009.2 web client has been installed on my computer. There is a drop down menu. Select one of the options, a panel (table) will be shown up that contains a couple of drop down menus and textboxes. My TestComplete 7.5 script was working fine. Then my tested application has been updated from Infragistics 2005.3, updated from ASP.NET MVC1 to MVC2… (may also other updating). I updated my TestComplete to 8.0. Then the scripts are not working any more.
I recorded my operations into a script (C# script): click the drop down menu (menu1), select the option, the panel shows up and select option on menu2. However, when I re-play this recorded script, it is failed because this hidden panel (table) is not shown up, i.e. change() event on menu1 is not triggered… I tried methods of Click(), ClickItem(), Keys(), etc. Sometimes they work, sometimes not. No one is stable…
function Test1(){
var form;
form = Aliases["Sys"]["IEXPLORE"]["pageComplaintDetail"]["formDetailform"];
form["selectNewstatus"]["ClickItem"]("Resolved");
//following controls were hidden and should be shown up after above option is selected
form["selectDplvalidity"]["ClickItem"]("Verified");
form["ICResolution"]["Keys"]("S");
}
Thanks a lot!