Hi, Nagappan,<br><br>It seems ldtp.getallstates() return an array of integer. I look in the online doc about how to use the index. Seems there is no information on it.<br><br>Also, how to tell if a mnu is enabled or not? Seems button&#39; state can be get by calling stateenabled (). But stateenabled() will always return 0 for mnu?<br>

<br>Thanks<br>Scott Wang<br><br><br>