Got it Zeljko! Thanks a lot! IT worked now. I'm not that adept to html. But how could it be a button if the input type is image? please enlighten me. Have a nice day!
-----Original Message----- From: Montano, Jan (Corp,IB&IM) Sent: Thursday, July 14, 2005 9:23 AM To: '[email protected]' Subject: RE: [Wtr-general] missing image Is it? I'm confused. Could it be a button although it's input type is image??? Don't get confused with the name and the id prefix... -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Zeljko Filipin Sent: Wednesday, July 13, 2005 6:22 PM To: [email protected] Subject: RE: [Wtr-general] missing image The image you are looking for (RBJ_DetailTab_Off.gif) is a button. This is it's html: <input type="image" name="btnSaveSession" id="btnSaveSession" src="../../images/RBJ_DetailTab_Off.gif" alt="" border="0" /> --- This will display html of all buttons in your page: ie.buttons.each { |i| puts "\n#{i.html}" } --- This will click your image/button ie.button(:id, 'btnSaveSession').click Zeljko -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of [EMAIL PROTECTED] Sent: Wednesday, July 13, 2005 11:51 AM To: [email protected] Subject: RE: [Wtr-general] missing image hi! I'm sure it's not a button. I tried your suggestion. but no object appeared $ie.buttons.each { |i| puts "\n#{i.src}" } I attached the source file of the page for more info. -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Zeljko Filipin Sent: Wednesday, July 13, 2005 3:35 PM To: [email protected] Subject: RE: [Wtr-general] missing image If you send html also I could be more assured, but I think that the image you are looking for is button, and it will appear if you try $ie.buttons.each { |i| puts "\n#{i.src}" } Zeljko -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of [EMAIL PROTECTED] Sent: Wednesday, July 13, 2005 8:43 AM To: [email protected] Subject: [Wtr-general] missing image Please help me with this one. I'm confused. attached is my console output. I just have two calls in my script: 1. $ie.images.each { |i| puts "\n#{i.src}" } 2. $ie.show_all_objects I'm looking for this image: RBJ_DetailTab_Off.gif. Here's my question. how come on my first call, this image doesn't appear in the console. while in my second call, it appears? <<test.txt>> Jan M. Montano QA / Developer Regional Application Development Thomson (Philippines) Corporation 18th Floor Ayala Life - FGU Center 6811 Ayala Ave., Makati City Philippines (632) 878-5890 _______________________________________________ Wtr-general mailing list [email protected] http://rubyforge.org/mailman/listinfo/wtr-general _______________________________________________ Wtr-general mailing list [email protected] http://rubyforge.org/mailman/listinfo/wtr-general _______________________________________________ Wtr-general mailing list [email protected] http://rubyforge.org/mailman/listinfo/wtr-general
