Re: [LDTP-Dev] How to access toolbar's button on cobra(ldtp forwindows)

2012-05-28 Thread Nagappan Alagappan
Hi Wang, No problem :-) Even sometime back, there was some update it git, thanks to John (CC) for his hard work. Thanks Nagappan - Original Message - From: "wangyubin" To: "Nagappan Alagappan" Cc: ldtp-dev@lists.freedesktop.org Sent: Monday, May 28, 2012 11:15:55 PM Subject: RE: [LDT

Re: [LDTP-Dev] How to access toolbar's button on cobra(ldtp forwindows)

2012-05-28 Thread wangyubin
Hi Nagappan, > Did you compiled Cobra from source ? or from binary ? > Probably the binary is not up to date. I update the source and build again, the test has been OK!! ;-) I'm sorry to waste your time. Thanks again. wang yubin -- wang yubin Nanj

Re: [LDTP-Dev] How to access toolbar's button on cobra(ldtp for windows)

2012-05-28 Thread Nagappan Alagappan
Hi Wang, >>> win_name = "frmtestToolbar" >>> print getobjectlist(win_name) ['ukn0', 'mnuSystem', 'mnuSystem1', 'btnMinimize', 'btnMaximize', 'btnClose', 'tbar0', 'btn3', 'ukn1', 'btnfo', 'btnfa', 'btnfc', 'tbar1', 'btn7', 'ukn2', 'btnf1', 'btnf2', 'btnf3'] >>> #result ["tbar0", "tbar1" ..] .

Re: [LDTP-Dev] How to access toolbar's button on cobra(ldtp for windows)

2012-05-28 Thread Nagappan Alagappan
Hi Wang, You are the first customer to use Cobra outside VMware ;-) (atleast I know) Can you please provide me a generic app with which I can reproduce this bug ? Thanks Nagappan On Mon, May 28, 2012 at 7:14 PM, wangyubin wrote: > Hi, Nagappan > > I want to use cobra to create my automatic te

[LDTP-Dev] How to access toolbar's button on cobra(ldtp for windows)

2012-05-28 Thread wangyubin
Hi, Nagappan I want to use cobra to create my automatic test cases. but I found there is no APIs to access toolbar. please help me how to access the icon button which is in the toolbar. my code : ~~ getobjectlist("frmMainWindow") # result ["tbar0", "tbar1"