|
From: Kishore B. <ki...@ad...> - 2006-07-04 03:30:36
|
Sort of solved it by having something like this. Var butt=3DfindWinButton(win,null,1); //cos it's the second button _.assertEquals(butt.text,"Don't Install"); =09 But if there is any other good way of doing it lemme know. -----Original Message----- From: James X. Li [mailto:jam...@us...]=20 Sent: Monday, July 03, 2006 9:01 PM To: Kishore Balakrishnan; ieu...@li... Subject: Re: [Ieunit-general] Problem with findwinbutton Try the following: var butt =3D findWinButton(win,"Don't Install"); ----- Original Message -----=20 From: "Kishore Balakrishnan" <ki...@ad...> To: <ieu...@li...> Sent: Monday, July 03, 2006 4:00 AM Subject: [Ieunit-general] Problem with findwinbutton > Hi, > When I use > Var butt=3Dfindwinbutton(win,"Don't Install"); > I am passing a valid window pointer but it gives an error saying > "Invalid token in Don't install". > > I knw there is a problem with the ' in don't but how do I solve it. I > tried passing something like Don\'t install but still it doesn't solve > the problem. > > > Regards, > Kishore > > > Using Tomcat but need to do more? Need to support web services, security? > Get stuff done quickly with pre-integrated technology to make your job > easier > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo > http://sel.as-us.falkag.net/sel?cmd=3Dlnk&kid=3D120709&bid=3D263057&dat=3D= 121642 > _______________________________________________ > Ieunit-general mailing list > Ieu...@li... > https://lists.sourceforge.net/lists/listinfo/ieunit-general=20 |