Re: [Wtr-general] some issues with 'watir-1[1].5.1.1192.gem'
On 12/07/07, SHALINI GUPTA <[EMAIL PROTECTED]> wrote: Hi All, I am facing a issue with Watir 'watir-1[1].5.1.1192.gem'. when i run any script it opens exe file infront of Internet Explorer.And ie.maximize() function maximize the exe instead of internet explorer. How can I solve this. Plz Help!!! Regards Shalini Gupta ___ Wtr-general mailing list Wtr-general@rubyforge.org http://rubyforge.org/mailman/listinfo/wtr-general ie.maximize() function maximize the exe instead of internet explorer? Clear question may be it can help.maximize exe...? means i think maximize the new IE rather than your previous one IE.is it..? -- ___ Wtr-general mailing list Wtr-general@rubyforge.org http://rubyforge.org/mailman/listinfo/wtr-general
Re: [Wtr-general] How click on save button in file download
Hi, is there somthing specail to do for executed this coad..? i have install ruby & watir 1.4 on my system...? but this coad does not execut. pl help.! On 23/05/07, Grzesiek <[EMAIL PROTECTED]> wrote: Hi, I had also problems with it. I had to download autoitX3 tool. Because there is a tool which identifies the instances of buttons and without that actions did not work for me. autoit.WinWaitActive("Save As") (catching the popup) autoit.ControlClick("Save As", "", "[CLASS:Button;TEXT:&Save;INSTANCE:2]") (pressing Save button) autoit = WIN32OLE.new('AutoItX3.Control') autoit.WinWaitActive("File") #window name File Download autoit.ControlClick("File","","[CLASS:Button;TEXT:&Save;INSTANCE:2]") # first popup is shown autoit.WinWaitActive("Save As") autoit.Send("file_name") autoit.ControlClick("Save As", "", "[CLASS:Button;TEXT:&Save;INSTANCE:2]") autoit.WinWaitActive("Download") autoit.ControlClick("Download", "", "[CLASS:Button;TEXT:&Open;INSTANCE:2]") Hope this will helps Br, Sfistak ___ Wtr-general mailing list Wtr-general@rubyforge.org http://rubyforge.org/mailman/listinfo/wtr-general -- With Thanks and Regards, Anand Vardhan Srivastava | GlobalLogic India The Leader in Global Product Development B34/1, Sector-59,Noida ,201301 Phone: +91. 4342000 x 4285 Cell Number : +919811228992 Disclaimer: http://www.globallogic.com/email_disclaimer.txt ___ Wtr-general mailing list Wtr-general@rubyforge.org http://rubyforge.org/mailman/listinfo/wtr-general
[Wtr-general] how click on save button and save to a paticular folder
how click on save button and after select paticualr drive and folder to sva e the file. i m using some coad but not working.. require 'win32ole' autoit = WIN32OLE.new("AutoItX3.Control") autoit.WinWait("File Download", "Do you want to open or save", 3) autoit.ControlClick("File Download", "Do you want to open or save", "&Save") autoit.WinWait("Save As", "Save &in", 3) autoit.ControlSetText("Save As", "Save &in", "Edit1", "path\filename.ext") autoit.ControlClick("Save As", "Save &in", "&Save") #$ie.button(:caption, "Save").click_no_wait #sleep 3 #assert dialog.exists? # sleep 0.4 #$ie.button('Save').click #content_frame(@ie).fileField(:id, 'file_name').set("D:/files/filename.txt") #$ie.back please help !!! -- With Thanks and Regards, Anand Vardhan Srivastava ___ Wtr-general mailing list Wtr-general@rubyforge.org http://rubyforge.org/mailman/listinfo/wtr-general
[Wtr-general] how click on image with div class & id
#$ie.image(:text, /Research and Tools/i).click #$ie.div(:class, "elm", :id, "research").click #$ie.div(:id => "research", :index => 1).click #$document.getElementById("research").click #$ie.image(:xpath,"//[EMAIL PROTECTED]'research']/image").click $ie.div(:class, "elm").images.each {|image| image.flash} -- With Thanks and Regards, Anand Vardhan Srivastava | GlobalLogic India The Leader in Global Product Development B34/1, Sector-59,Noida ,201301 Phone: +91. 4342000 x 4285 Cell Number : +919811228992 Disclaimer: http://www.globallogic.com/email_disclaimer.txt ___ Wtr-general mailing list Wtr-general@rubyforge.org http://rubyforge.org/mailman/listinfo/wtr-general