list - UFT - Option from WebList gets selected and then gets deselected -


here have odd issue option of weblist control gets selected , gets deselected immediately. unable figure of why

the code selecting option weblist. it's people soft application if help

b("b").p("p").f("f").weblist("weblist").select option 

when run script control , break run in next line of code, selects option intended when run whole script selects , deselects option immediately. when manually run in same sequence, test case works fine too

i tried sync, explicit wait after selecting option. tried click on object , use shell script select option. nothing works complete script though works when ran script object

has come across similar issue or have idea on causing issue?

yes, have. use fireevent method before selecting weblist. solved problem.

browser().page.weblist().fireevent("onclick") browser().page.weblist().select data


Comments