[wtr-general] Re: File Field Help
Ah, so it's a difference in behavior between FireWatir and Watir? Not sure why that would happen. Perhaps setting the field with Firefox doesn't fire the necessary events to enable the upload button? Don't know. You might try invoking the refresh() method on the Firefox object after you set the field value. I doubt it will help, but you never know. I've had problems where what is displayed in the browser seems to go out of sync with FireWatir's view of the DOM (specifically, elements you can see in the page are not accessible from script). But refreshing the browser usually fixes it. On Sun, Oct 4, 2009 at 9:00 PM, Raveendran P jazzezr...@gmail.com wrote: Hi Bill, For more details, The same code working in WATIR: $ie.file_field(:name, field_uploadfile).set($video_files[0]) $ie.span(:text, 'Upload Video').click Here i can able to click the Upload Video span . Because it is enabled after set the file_field path. But the same code not working in FireWatir for Firefox browser It means, The Upload Video span not enabled automatically after set the path like $ff.file_field(:name, field_uploadfile).set($video_files[0]) Any more details need ? On Sun, Oct 4, 2009 at 8:54 PM, Raveendran P jazzezr...@gmail.com wrote: Hi Bill, That code sets properly. Its working exactly . But i need alternate way to do this. Because The upload button is not enabled automatically after set the p[ath via like this. For more details 1. Login youtube. 2. Uninstall Fal;sh player in your machine 3. Goto upload video page. 4. Set the path like this $ie.file_field( :name, document ).set( c:\\Watir Testware\\Data\\vb.txt ) 5. Still the upload button disabled. Thats why i am asking the alternate way to do this. Awaiting your reply Thanks On Sun, Oct 4, 2009 at 2:55 AM, Bill Agee billa...@gmail.com wrote: What browser version are you using? Also, is the path to the file being set properly in the dialog? Thanks Bill On Sat, Oct 3, 2009 at 4:28 AM, Raveendran P jazzezr...@gmail.comwrote: Hi All, Any alternate method for this code $ie.file_field( :name, document ).set( c:\\Watir Testware\\Data\\vb.txt ) I need alternate for this code ... Reason : After did the above line the Upload button is not enabled automatically. But it happens when i select files manually Thanks in Advance -- Regards, P.Raveendran http://raveendran.wordpress.com -- Regards, P.Raveendran http://raveendran.wordpress.com -- Regards, P.Raveendran http://raveendran.wordpress.com --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Watir General group. To post to this group, send email to watir-general@googlegroups.com Before posting, please read the following guidelines: http://wiki.openqa.org/display/WTR/Support To unsubscribe from this group, send email to watir-general-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/watir-general -~--~~~~--~~--~--~---
[wtr-general] Re: File Field Help
Hi Bill, My Bad luck , After $ff.refresh -- Still the upload video button is not enabled .. :) Awaiting your reply Thanks On Mon, Oct 5, 2009 at 3:04 PM, Bill Agee billa...@gmail.com wrote: Ah, so it's a difference in behavior between FireWatir and Watir? Not sure why that would happen. Perhaps setting the field with Firefox doesn't fire the necessary events to enable the upload button? Don't know. You might try invoking the refresh() method on the Firefox object after you set the field value. I doubt it will help, but you never know. I've had problems where what is displayed in the browser seems to go out of sync with FireWatir's view of the DOM (specifically, elements you can see in the page are not accessible from script). But refreshing the browser usually fixes it. On Sun, Oct 4, 2009 at 9:00 PM, Raveendran P jazzezr...@gmail.com wrote: Hi Bill, For more details, The same code working in WATIR: $ie.file_field(:name, field_uploadfile).set($video_files[0]) $ie.span(:text, 'Upload Video').click Here i can able to click the Upload Video span . Because it is enabled after set the file_field path. But the same code not working in FireWatir for Firefox browser It means, The Upload Video span not enabled automatically after set the path like $ff.file_field(:name, field_uploadfile).set($video_files[0]) Any more details need ? On Sun, Oct 4, 2009 at 8:54 PM, Raveendran P jazzezr...@gmail.comwrote: Hi Bill, That code sets properly. Its working exactly . But i need alternate way to do this. Because The upload button is not enabled automatically after set the p[ath via like this. For more details 1. Login youtube. 2. Uninstall Fal;sh player in your machine 3. Goto upload video page. 4. Set the path like this $ie.file_field( :name, document ).set( c:\\Watir Testware\\Data\\vb.txt ) 5. Still the upload button disabled. Thats why i am asking the alternate way to do this. Awaiting your reply Thanks On Sun, Oct 4, 2009 at 2:55 AM, Bill Agee billa...@gmail.com wrote: What browser version are you using? Also, is the path to the file being set properly in the dialog? Thanks Bill On Sat, Oct 3, 2009 at 4:28 AM, Raveendran P jazzezr...@gmail.comwrote: Hi All, Any alternate method for this code $ie.file_field( :name, document ).set( c:\\Watir Testware\\Data\\vb.txt ) I need alternate for this code ... Reason : After did the above line the Upload button is not enabled automatically. But it happens when i select files manually Thanks in Advance -- Regards, P.Raveendran http://raveendran.wordpress.com -- Regards, P.Raveendran http://raveendran.wordpress.com -- Regards, P.Raveendran http://raveendran.wordpress.com -- Regards, P.Raveendran http://raveendran.wordpress.com --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Watir General group. To post to this group, send email to watir-general@googlegroups.com Before posting, please read the following guidelines: http://wiki.openqa.org/display/WTR/Support To unsubscribe from this group, send email to watir-general-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/watir-general -~--~~~~--~~--~--~---
[wtr-general] earn money through Home based internet jobs
HI FRIENDS If you want to earn Rs.200($5) to Rs.1200($30) per hour, starting today from the Internet without any Investment. Just give your 3 minutes to read on see how it can change your life. Dear Internet Friend, Nice to meet you. We have designed this website exclusively for the people, who want to earn money through Home based internet jobs without any investment, just by spending few hours on Internet, in a day. Benefits and Advantages 1. Work part time. 2. Earn unlimited income from Internet, by just working 1-2 flexible hours daily. 3. Work from anywhere - Home/Cyber Cafe/Office 4. No extra qualification required. Just basic Internet browsing knowledge is enough. 5. Absolutely NO investment AND NO registration fee . A.W.Surveys The New Survey ExperienceMake money from taking online surveys with AWSurveys! You get paid for each survey, the longer the survey the more you get paid! AWSurveys is the New Survey ... Clik this link and sign up there. http://www.sumathsa.com http://www.bigmoneyptc.com/index.php?ref=sathish ramya --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Watir General group. To post to this group, send email to watir-general@googlegroups.com Before posting, please read the following guidelines: http://wiki.openqa.org/display/WTR/Support To unsubscribe from this group, send email to watir-general-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/watir-general -~--~~~~--~~--~--~---
[wtr-general] Re: earn money through Home based internet jobs
Hi Group Administrator(Moderator), To avoid this kind of spam mails, 1. When the user requested to join this group -- Ask simple 5 watir related questions 2. Block other members to send email to watir-general@googlegroups.com Because most of the forums has junk of Spam mails like this. We are testers here. We should stop their work ... Thanks P.Raveendran http://raveendran.wordpress.com On Mon, Oct 5, 2009 at 4:32 PM, samram samy smrm...@gmail.com wrote: HI FRIENDS If you want to earn Rs.200($5) to Rs.1200($30) per hour, starting today from the Internet without any Investment. Just give your 3 minutes to read on see how it can change your life. Dear Internet Friend, Nice to meet you. We have designed this website exclusively for the people, who want to earn money through Home based internet jobs without any investment, just by spending few hours on Internet, in a day. Benefits and Advantages 1. Work part time. 2. Earn unlimited income from Internet, by just working 1-2 flexible hours daily. 3. Work from anywhere - Home/Cyber Cafe/Office 4. No extra qualification required. Just basic Internet browsing knowledge is enough. 5. Absolutely NO investment AND NO registration fee . A.W.Surveys The New Survey ExperienceMake money from taking online surveys with AWSurveys! You get paid for each survey, the longer the survey the more you get paid! AWSurveys is the New Survey ... Clik this link and sign up there. http://www.sumathsa.com http://www.bigmoneyptc.com/index.php?ref=sathish ramya -- Regards, P.Raveendran http://raveendran.wordpress.com --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Watir General group. To post to this group, send email to watir-general@googlegroups.com Before posting, please read the following guidelines: http://wiki.openqa.org/display/WTR/Support To unsubscribe from this group, send email to watir-general-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/watir-general -~--~~~~--~~--~--~---
[wtr-general] Re: earn money through Home based internet jobs
Raveendran, Thanks for your ideas. We have a simpler solution that requires almost no effort. Everybody can join and contributions are not moderated, except for the first post. All spam is caught that way. I guess this one was not caught by human mistake: a moderator approved it by mistake. I have already reported the post as spam and deleted it from the group. Željko -- http://watirpodcast.com/ On Mon, Oct 5, 2009 at 1:08 PM, Raveendran P jazzezr...@gmail.com wrote: Hi Group Administrator(Moderator), To avoid this kind of spam mails, 1. When the user requested to join this group -- Ask simple 5 watir related questions 2. Block other members to send email to watir-general@googlegroups.com Because most of the forums has junk of Spam mails like this. We are testers here. We should stop their work ... Thanks P.Raveendran http://raveendran.wordpress.com --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Watir General group. To post to this group, send email to watir-general@googlegroups.com Before posting, please read the following guidelines: http://wiki.openqa.org/display/WTR/Support To unsubscribe from this group, send email to watir-general-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/watir-general -~--~~~~--~~--~--~---
[wtr-general] Script on select list item, clickon btn1 and Logoutfunction()
Hi, I got the following error and my script fails to identify the list item, can't click the Select button and Logout too fails. Can anyone please help me. HTTP Status 500 - type Exception report message description The server encountered an internal error () that prevented it from fulfilling this request. exception javax.servlet.ServletException: Request[/ManageJurisdictions] does not contain handler parameter named 'dispatchto'. This may be caused by whitespace in the label text. org.apache.struts.actions.DispatchAction.unspecified(DispatchAction.java:197) org.apache.struts.actions.DispatchAction.dispatchMethod(DispatchAction.java:245) org.apache.struts.actions.DispatchAction.execute(DispatchAction.java:170) com.ejustice.rms.actions.BaseDispatchAction.execute(BaseDispatchAction.java:110) org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:425) org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:228) org.apache.struts.action.ActionServlet.process(ActionServlet.java:1913) org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:449) javax.servlet.http.HttpServlet.service(HttpServlet.java:617) javax.servlet.http.HttpServlet.service(HttpServlet.java:717) My screen has a list box with items test field 1 test field 2 test field 3 after selecting an item in the above I have to click on a Select button then followed by a Logout button to click. List box contains the id: juris, name: juris, iQuery1254742851156 Select Button contains the name: btn1 Logout Link contains: href: Onclick: LogoutFunction() Following are the functions in my script for the above actions: ie.select_list( :name , jurisdiction).select(test field 3) ie.button(:value, 'btn1').click ie.link(:text,LogOut).click thanks in advance, Venky --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Watir General group. To post to this group, send email to watir-general@googlegroups.com Before posting, please read the following guidelines: http://wiki.openqa.org/display/WTR/Support To unsubscribe from this group, send email to watir-general-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/watir-general -~--~~~~--~~--~--~---
[wtr-general] bring_to_front function not working...
Hi Al, I am using below code in my scripts. My script has so many sendkey operations. So i am using bring_to_front function to activate the application. But its not working and it doesn't throw any error. So please give me any other options are available in Watir like WSH's AppActivate . @ie = Watir::IE.new @ie.goto $url @ie.maximize @ie.bring_to_front @ie.text_field(:id,txtUserName).set user_id @ie.text_field(:id,txtPassword).set password @ie.button(:id,btnSubmit).click Thanks, Prince3105 --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Watir General group. To post to this group, send email to watir-general@googlegroups.com Before posting, please read the following guidelines: http://wiki.openqa.org/display/WTR/Support To unsubscribe from this group, send email to watir-general-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/watir-general -~--~~~~--~~--~--~---
[wtr-general] Re: Script on select list item, clickon btn1 and Logoutfunction()
On Mon, Oct 5, 2009 at 2:16 PM, venkat greet.ven...@gmail.com wrote: I got the following error and my script fails to identify the list item Looks to me that application that you are testing crashed. Željko --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Watir General group. To post to this group, send email to watir-general@googlegroups.com Before posting, please read the following guidelines: http://wiki.openqa.org/display/WTR/Support To unsubscribe from this group, send email to watir-general-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/watir-general -~--~~~~--~~--~--~---
[wtr-general] Re: Script on select list item, clickon btn1 and Logoutfunction()
On Mon, Oct 05, 2009 at 05:46:10PM +0530, venkat wrote: Hi, I got the following error and my script fails to identify the list item, can't click the Select button and Logout too fails. Can anyone please help me. HTTP Status 500 - This is a problem with the application you're testing, not a problem with Watir. Read this for more information: http://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html - Anna --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Watir General group. To post to this group, send email to watir-general@googlegroups.com Before posting, please read the following guidelines: http://wiki.openqa.org/display/WTR/Support To unsubscribe from this group, send email to watir-general-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/watir-general -~--~~~~--~~--~--~---
[wtr-general] Platforms
I have created a new wiki page: http://wiki.openqa.org/display/WTR/Platforms Feel free to comment, edit, improve, fix bugs... Željko -- http://watirpodcast.com/ --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Watir General group. To post to this group, send email to watir-general@googlegroups.com Before posting, please read the following guidelines: http://wiki.openqa.org/display/WTR/Support To unsubscribe from this group, send email to watir-general-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/watir-general -~--~~~~--~~--~--~---
[wtr-general] Re: Platforms
Hi Željko, Gr8 Job Thanks Regards, Ankur Gera TCS --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Watir General group. To post to this group, send email to watir-general@googlegroups.com Before posting, please read the following guidelines: http://wiki.openqa.org/display/WTR/Support To unsubscribe from this group, send email to watir-general-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/watir-general -~--~~~~--~~--~--~---
[wtr-general] Re: Platforms
how about Ruby 1.9.1 in the list On Mon, Oct 5, 2009 at 6:23 PM, Željko Filipin zeljko.fili...@wa-research.ch wrote: I have created a new wiki page: http://wiki.openqa.org/display/WTR/Platforms Feel free to comment, edit, improve, fix bugs... Željko -- http://watirpodcast.com/ --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Watir General group. To post to this group, send email to watir-general@googlegroups.com Before posting, please read the following guidelines: http://wiki.openqa.org/display/WTR/Support To unsubscribe from this group, send email to watir-general-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/watir-general -~--~~~~--~~--~--~---
[wtr-general] Re: Platforms
On Mon, Oct 5, 2009 at 2:58 PM, karim rayani karim@gmail.com wrote: how about Ruby 1.9.1 in the list I have never used 1.9. I do not even know if Watir works there. If you know anything about it, you know more than me. Just edit the page, or let me know and I will update it. If you (or anybody else) needs help with the wiki, I would be glad to help. Željko --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Watir General group. To post to this group, send email to watir-general@googlegroups.com Before posting, please read the following guidelines: http://wiki.openqa.org/display/WTR/Support To unsubscribe from this group, send email to watir-general-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/watir-general -~--~~~~--~~--~--~---
[wtr-general] Re: Platforms
i have tried using Ruby 1.9.1 on Ubuntu and it worked however the code needs some standard refractoring as there has been a universal change on using when in place of : for decision statements in the user-choice library, modifications there did do the job for me on Ubuntu 9.04 http://isitruby19.com/watir http://isitruby19.com/firewatir are better ways to confirm this i guess. I donot know but i believe ruby 1.9.1 is the most stable after 1.8 series and now that there is a cleanup of libraries going on for the adoption of Ruby 1.9.1 On Oct 5, 6:02 pm, Željko Filipin zeljko.fili...@wa-research.ch wrote: On Mon, Oct 5, 2009 at 2:58 PM, karim rayani karim@gmail.com wrote: how about Ruby 1.9.1 in the list I have never used 1.9. I do not even know if Watir works there. If you know anything about it, you know more than me. Just edit the page, or let me know and I will update it. If you (or anybody else) needs help with the wiki, I would be glad to help. Željko --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Watir General group. To post to this group, send email to watir-general@googlegroups.com Before posting, please read the following guidelines: http://wiki.openqa.org/display/WTR/Support To unsubscribe from this group, send email to watir-general-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/watir-general -~--~~~~--~~--~--~---
[wtr-general] Re: bring_to_front function not working...
Hi, Did you register the AutoItx3.dll? Run the following command from command prompt. regsvr C:\ruby\lib\ruby\gems\1.8\gems\watir-1.6.2\lib\watir \AutoItX3.dll Thanks Regards Siva Phaneendra K On Oct 5, 5:34 pm, Prince3105 prince3...@gmail.com wrote: Hi Al, I am using below code in my scripts. My script has so many sendkey operations. So i am using bring_to_front function to activate the application. But its not working and it doesn't throw any error. So please give me any other options are available in Watir like WSH's AppActivate . @ie = Watir::IE.new @ie.goto $url @ie.maximize @ie.bring_to_front @ie.text_field(:id,txtUserName).set user_id @ie.text_field(:id,txtPassword).set password @ie.button(:id,btnSubmit).click Thanks, Prince3105 --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Watir General group. To post to this group, send email to watir-general@googlegroups.com Before posting, please read the following guidelines: http://wiki.openqa.org/display/WTR/Support To unsubscribe from this group, send email to watir-general-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/watir-general -~--~~~~--~~--~--~---
[wtr-general] Re: Platforms
On Mon, Oct 5, 2009 at 3:12 PM, karimnumerouno karim@gmail.com wrote: i have tried using Ruby 1.9.1 on Ubuntu and it worked however the code needs some standard refractoring This sounds to me like Watir is not working with 1.9. :) Should I add a column that says so? Željko --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Watir General group. To post to this group, send email to watir-general@googlegroups.com Before posting, please read the following guidelines: http://wiki.openqa.org/display/WTR/Support To unsubscribe from this group, send email to watir-general-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/watir-general -~--~~~~--~~--~--~---
[wtr-general] Re: Platforms
I am not so sure you can use Celerity through the standard Ruby MRI. Aidy 2009/10/5 Željko Filipin zeljko.fili...@wa-research.ch: I have created a new wiki page: http://wiki.openqa.org/display/WTR/Platforms Feel free to comment, edit, improve, fix bugs... Željko -- http://watirpodcast.com/ --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Watir General group. To post to this group, send email to watir-general@googlegroups.com Before posting, please read the following guidelines: http://wiki.openqa.org/display/WTR/Support To unsubscribe from this group, send email to watir-general-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/watir-general -~--~~~~--~~--~--~---
[wtr-general] Re: Platforms
On Mon, Oct 5, 2009 at 4:21 PM, aidy lewis aidy.le...@googlemail.com wrote: I am not so sure you can use Celerity through the standard Ruby MRI. Thanks, fixed. Željko --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Watir General group. To post to this group, send email to watir-general@googlegroups.com Before posting, please read the following guidelines: http://wiki.openqa.org/display/WTR/Support To unsubscribe from this group, send email to watir-general-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/watir-general -~--~~~~--~~--~--~---
[wtr-general] Re: Platforms
Watir in the github master should be working with 1.9.1. Jari made some fixes, so for Watir we should be good. The one dependency we do have on user-choices isn't working. Talked to Jari on Sat, he pinged Brian Marick to update it a while back, said he would, but hasn't yet. I'd suggest we hit Brian up again and either have him make the changes or push to github so it can be more easily forked. That's a bit simplistic, but without going into the details that's more or less what it boils down to. -Charley On Mon, Oct 5, 2009 at 8:14 AM, Željko Filipin zeljko.fili...@wa-research.ch wrote: On Mon, Oct 5, 2009 at 3:12 PM, karimnumerouno karim@gmail.com wrote: i have tried using Ruby 1.9.1 on Ubuntu and it worked however the code needs some standard refractoring This sounds to me like Watir is not working with 1.9. :) Should I add a column that says so? Željko --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Watir General group. To post to this group, send email to watir-general@googlegroups.com Before posting, please read the following guidelines: http://wiki.openqa.org/display/WTR/Support To unsubscribe from this group, send email to watir-general-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/watir-general -~--~~~~--~~--~--~---
[wtr-general] Re: Platforms
Hi, Does anyone know of a verified Windows Ruby 1.9.1 installer? Aidy 2009/10/5 Charley Baker charley.ba...@gmail.com: Watir in the github master should be working with 1.9.1. Jari made some fixes, so for Watir we should be good. The one dependency we do have on user-choices isn't working. Talked to Jari on Sat, he pinged Brian Marick to update it a while back, said he would, but hasn't yet. I'd suggest we hit Brian up again and either have him make the changes or push to github so it can be more easily forked. That's a bit simplistic, but without going into the details that's more or less what it boils down to. -Charley On Mon, Oct 5, 2009 at 8:14 AM, Željko Filipin zeljko.fili...@wa-research.ch wrote: On Mon, Oct 5, 2009 at 3:12 PM, karimnumerouno karim@gmail.com wrote: i have tried using Ruby 1.9.1 on Ubuntu and it worked however the code needs some standard refractoring This sounds to me like Watir is not working with 1.9. :) Should I add a column that says so? Željko --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Watir General group. To post to this group, send email to watir-general@googlegroups.com Before posting, please read the following guidelines: http://wiki.openqa.org/display/WTR/Support To unsubscribe from this group, send email to watir-general-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/watir-general -~--~~~~--~~--~--~---
[wtr-general] Re: Platforms
Hey Aidy, The windows installer for 1.9.1 isn't fully baked yet. You can find more information about it here: http://rubyinstaller.org/ There have been some large changes from the previous installers (mingw instead of msvc6, new installer sw, etc). I've been following the progress for a while now and they appear to headed towards a release relatively soon, but not sure as to the actual date. In the meantime it's worth taking a look at for experimentation, helping out with the project and/or looking at changes and potential compatibility issues. hth, Charley Baker blog: http://blog.charleybaker.org/ Lead Developer, Watir, http://wtr.rubyforge.org QA Architect, Gap Inc Direct On Mon, Oct 5, 2009 at 10:55 AM, aidy lewis aidy.le...@googlemail.comwrote: Hi, Does anyone know of a verified Windows Ruby 1.9.1 installer? Aidy 2009/10/5 Charley Baker charley.ba...@gmail.com: Watir in the github master should be working with 1.9.1. Jari made some fixes, so for Watir we should be good. The one dependency we do have on user-choices isn't working. Talked to Jari on Sat, he pinged Brian Marick to update it a while back, said he would, but hasn't yet. I'd suggest we hit Brian up again and either have him make the changes or push to github so it can be more easily forked. That's a bit simplistic, but without going into the details that's more or less what it boils down to. -Charley On Mon, Oct 5, 2009 at 8:14 AM, Željko Filipin zeljko.fili...@wa-research.ch wrote: On Mon, Oct 5, 2009 at 3:12 PM, karimnumerouno karim@gmail.com wrote: i have tried using Ruby 1.9.1 on Ubuntu and it worked however the code needs some standard refractoring This sounds to me like Watir is not working with 1.9. :) Should I add a column that says so? Željko --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Watir General group. To post to this group, send email to watir-general@googlegroups.com Before posting, please read the following guidelines: http://wiki.openqa.org/display/WTR/Support To unsubscribe from this group, send email to watir-general-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/watir-general -~--~~~~--~~--~--~---
[wtr-general] Watir 1.6.5.rc1 - release candidate available for testing
Hi all, There have been a lot of changes since the last release of Watir - 1.6.2, many of these being contributions we've received from various community members, core committers and others. In the effort to include Firewatir as a 1st class citizen, there are a lot compatibility changes and refactorings in this release, many platform issues have been taken care of, as well as api differences. The list of changes is included below. This is being released as a true release candidate for the first time (given rubygems support in 1.3.2+ for this type of release) which among other reasons is why we're requesting you update rubygems . Please report any issues with detailed information - platform, ruby version, error trace, test run and html from the SUT, if this is a new failure with the current version of watir. The more platforms we can run this on the better to detect any issues. Success for running your current tests based on platform is also good to hear. Installation instructions are here. The final build will be posted on rubyforge and tagged in github, with news to update to the final version. http://wiki.openqa.org/display/WTR/Development+Builds Thanks for your help, Charley == Version 1.6.5.rc1 This is a release candidate. === New Features (Both IE and Firefox) * Browser.attach is now available. * Browser.options and Browser.set_options are now available. * Add support for definition lists, this adds these methods: dd, dt, dl, dds, dts, dls. (Jarib) * Hidden#visible? should always return false. (Jarib) * New method execute_script. * Add ElementCollections#size as alias of length. (Jarib) * Some camelCase = snake_case renames (with aliasing). (Jarib) Image#fileCreatedDate = file_created_date Image#fileSize = file_size Image#hasLoaded?= loaded? SelectList#getAllContents = options SelectList#getSelectedItems = selected_options SelectList#clearSelection = clear SelectList#includes?= include? TextField#dragContentsTo= drag_contents_to Radio/Checkbox#isSet? = set? * Patch for winclicker fix. http://jira.openqa.org/browse/WTR-279 (Derek Berner) * Add support for using a Regexp as the third argument (value) when locating checkboxes/radio buttons. (Jarib) * Add support for strong element. (Jarib) * Add support and tests for em element. (Jarib) * SelectList#select now supports Numeric arguments. (Jarib) * Additional inspect implementations for both IE and FF. (Jarib) * Added ElementCollections#{first,last}. (Jarib) * Fixes for running on Ruby 1.9. (Jarib) === Firefox Improvements * SelectList#set is now defined for Firefox. Like with IE, it is an alias for SelectList#select. [271] * Element collections are now enumerable. This allows methods such as @select@ and @map@ to be used with methods such as @divs@ and @li...@. * FireWatir.attach is now available, analogous to IE.attach. * Some Javascript errors that were being ignored, now raise Ruby exceptions. * Added event handler which resets the context of document * Fix bug that occurred when new page was automatically loaded. (Angrez, 3ef8b6) when page gets loaded automatically (Angrez) * Changed code to use document_var, body_var, window_var, browser_var instead of document, body, window, browser variables. (Angrez) * Changed code to replace every quote () in xpath query with (\) so that it doesn't give error while executing the xpath query (Angrez) * Fire onchange event for FireWatir file fields. Closes WTR-286. (Jarib) * Fixes for running and closing Firefox on Mac OS X * added functionality to allow Watir::Browser.attach with no arguments to open a new firefox window rather than taking over the existing focused window (Rob Aldred) * also modified some setup functions to correctly handle closed browsers, browserless windows and others (Rob Aldred) * Add test and implementation for Firefox#status http://jira.openqa.org/browse/WTR-250 (Jarib) === IE Improvements * Allow attach timeout to be accessed as an option. Thus: IE.set_options :attach_timeout = 5.0 This was previously available as class method. * Fix for Autoit auto-registration. (Bret) * Fix for IE6, 7 and 8 file downloads. (Željko Filipin Jarmo Pertman) * Replaced REXML with Nokogiri for xml parsing. (Aidy Lewis) * Option now supports :label attribute http://jira.openqa.org/browse/WTR-297 * Patch for IE.close causing WIN32OLE errors http://jira.openqa.org/browse/WTR-304 (Tony) * Watir::IE.inspect issue fixed: http://jira.openqa.org/browse/WTR-180(Jarib) * Fix for Browser#execute_script on IE7. (Jarib) * Removed ActiveSupport dependency. (Jarib) === Structure Improvements * Lots of rework of the FireWatir code, including removing duplication and dead code, renaming variables, and simplifying code. Also a few performance improvements. * Rename source file names for consistency. === Unit Tests * Add tests demonstrating known bugs. * Make the window tests run more
[wtr-general] Disable javascript through ruby/watir
Hi , Can anyone please help me asap that how i would disbale the javascript of the browser through ruby/watir Thanks in advanced. Arihan --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Watir General group. To post to this group, send email to watir-general@googlegroups.com Before posting, please read the following guidelines: http://wiki.openqa.org/display/WTR/Support To unsubscribe from this group, send email to watir-general-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/watir-general -~--~~~~--~~--~--~---
[wtr-general] Re: Platforms
On Mon, Oct 5, 2009 at 6:48 PM, Charley Baker charley.ba...@gmail.com wrote: Watir in the github master should be working with 1.9.1. Jari made some fixes, so for Watir we should be good. Yep, both Watir and FireWatir test suites were passing (on the 1.9.1 preview from the RubyInstaller guys) last I checked. There are two forks of user-choices on GitHub, this one works on 1.9.1: http://github.com/qoobaa/user-choices/ Would definitely be better if Brian did an official release. A word of warning before you all get wild with excitement; Watir didn't seem to perform a whole lot better on 1.9.1 - the test suite ran about the same as on the old one-click 1.8.6 installer, a couple of times even a little slower. Perhaps the preview build of 1.9.1 includes some debugging code that slows it down, or (more likely) the real bottlenecks in Watir isn't Ruby as a language, or a combination of both. A lot of people's test support code will probably benefit a lot from the speed improvements though. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Watir General group. To post to this group, send email to watir-general@googlegroups.com Before posting, please read the following guidelines: http://wiki.openqa.org/display/WTR/Support To unsubscribe from this group, send email to watir-general-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/watir-general -~--~~~~--~~--~--~---
[wtr-general] Re: Platforms
On Mon, Oct 5, 2009 at 6:48 PM, Charley Baker charley.ba...@gmail.com wrote: Watir in the github master should be working with 1.9.1. Added Ruby 1.9.1 to Browser/Ruby table. Željko --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Watir General group. To post to this group, send email to watir-general@googlegroups.com Before posting, please read the following guidelines: http://wiki.openqa.org/display/WTR/Support To unsubscribe from this group, send email to watir-general-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/watir-general -~--~~~~--~~--~--~---
[wtr-general] Re: Platforms
Not sure if this is clear that Watir 1.6.2 does not work with Ruby 1.9.1. On Oct 5, 4:36 pm, Željko Filipin zeljko.fili...@wa-research.ch wrote: On Mon, Oct 5, 2009 at 6:48 PM, Charley Baker charley.ba...@gmail.com wrote: Watir in the github master should be working with 1.9.1. Added Ruby 1.9.1 to Browser/Ruby table. Željko --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Watir General group. To post to this group, send email to watir-general@googlegroups.com Before posting, please read the following guidelines: http://wiki.openqa.org/display/WTR/Support To unsubscribe from this group, send email to watir-general-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/watir-general -~--~~~~--~~--~--~---
[wtr-general] Re: adding utf-8 character to text fields
It will be 1.6.5. On Oct 3, 10:28 am, Jari Bakken jari.bak...@gmail.com wrote: Jari, can you please update the page? I am not sure what to do. Željko I've updated the page with an example of how to revert to the old behaviour. Since I'm not sure what version number the next Watir version (which includes the switch to UTF-8) will have, I just put 1.X.X there for now. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Watir General group. To post to this group, send email to watir-general@googlegroups.com Before posting, please read the following guidelines: http://wiki.openqa.org/display/WTR/Support To unsubscribe from this group, send email to watir-general-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/watir-general -~--~~~~--~~--~--~---
[wtr-general] Re: Html Elements Supported by Watir
This page looks like a duplication of this page: http://wiki.openqa.org/display/WTR/Watir+Methods+Supported+by+HTML+Element I suggest that the two pages be folded together. I'm also wondering if we need to do more work to organize and update the pages that we already have. Also I'm not sure about all the comments that people add to the pages. Is anybody watching them? Bret On Sep 30, 7:16 am, Željko Filipin zeljko.fili...@wa-research.ch wrote: I have just created Html Elements Supported by Watir wiki page: http://wiki.openqa.org/display/WTR/Html+Elements+Supported+by+Watir Please take a look and fix if anything is broken. Željko --http://watirpodcast.com/ --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Watir General group. To post to this group, send email to watir-general@googlegroups.com Before posting, please read the following guidelines: http://wiki.openqa.org/display/WTR/Support To unsubscribe from this group, send email to watir-general-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/watir-general -~--~~~~--~~--~--~---
[wtr-general] Re: Sai
This page says All Watir documentation is stored on the Watir Wiki: running Confluence and hosted by OpenQA. However, it also lists the Rdoc, which is actually generated from the source code itself. I believe that both Jonathan Kohl and Jeff Fry have been significant contributors to this, which does require access to the source. Bret On Sep 29, 11:54 am, Charley Baker charley.ba...@gmail.com wrote: Hey Lisa, This lists where to find our documentation:http://watir.com/documentation/ You're welcome to join in the fray. :) - Charley On Tue, Sep 29, 2009 at 10:51 AM, Lisa Crispin lisa.cris...@gmail.comwrote: That is a good idea, where can we update the doc? Is it all in github also? -- Lisa On Mon, Sep 28, 2009 at 10:22 PM, Paul Rogers paul.rog...@shaw.ca wrote: You're a good writer, documentation is always in need of improvemnet. Paul On Mon, Sep 28, 2009 at 6:14 PM, Lisa Crispin lisa.cris...@gmail.comwrote: I'm in awe of anyone who contributes to open source tools. To me, the more recognition they get, the better. I am a guilty user of all these contributions. On Mon, Sep 28, 2009 at 6:22 PM, Željko Filipin zeljko.fili...@wa-research.ch wrote: On Mon, Sep 28, 2009 at 5:26 PM, Bret Pettichord bpettich...@gmail.com wrote: I think we could also recognize a community team. Maybe we add Sai to this group as well? I was planning to suggest more people for the core team after I see the response for Sai. Jari Bakken of Celerity (http://celerity.rubyforge.org/) and Dave Hoover of SafariWatir (http://safariwatir.rubyforge.org/). Looks like Jari belongs even to Watir core developers. I guess I did not monitor github close enough. Sai and Dave did not contribute any code to Watir, so they do not belong to core developers, but they created support for a browser that Watir did not support, and I think their effort should be recognized by adding them to the community team. Anyway, that is just my opinion. I this community does not think the same, I will accept it. Željko -- Lisa Crispin Co-author with Janet Gregory, _Agile Testing: A Practical Guide for Testers and Agile Teams_ (Addison-Wesley 2009) http://lisacrispin.com -- Lisa Crispin Co-author with Janet Gregory, _Agile Testing: A Practical Guide for Testers and Agile Teams_ (Addison-Wesley 2009) http://lisacrispin.com --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Watir General group. To post to this group, send email to watir-general@googlegroups.com Before posting, please read the following guidelines: http://wiki.openqa.org/display/WTR/Support To unsubscribe from this group, send email to watir-general-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/watir-general -~--~~~~--~~--~--~---
[wtr-general] Re: Sai
Now I'm convinced that there is not a core team. I suggest that define several teams, including FireWatir/IEWatir team. Bret On Sep 28, 5:22 pm, Željko Filipin zeljko.fili...@wa-research.ch wrote: On Mon, Sep 28, 2009 at 5:26 PM, Bret Pettichord bpettich...@gmail.com wrote: I think we could also recognize a community team. Maybe we add Sai to this group as well? I was planning to suggest more people for the core team after I see the response for Sai. Jari Bakken of Celerity (http://celerity.rubyforge.org/) and Dave Hoover of SafariWatir (http://safariwatir.rubyforge.org/). Looks like Jari belongs even to Watir core developers. I guess I did not monitor github close enough. Sai and Dave did not contribute any code to Watir, so they do not belong to core developers, but they created support for a browser that Watir did not support, and I think their effort should be recognized by adding them to the community team. Anyway, that is just my opinion. I this community does not think the same, I will accept it. Željko --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Watir General group. To post to this group, send email to watir-general@googlegroups.com Before posting, please read the following guidelines: http://wiki.openqa.org/display/WTR/Support To unsubscribe from this group, send email to watir-general-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/watir-general -~--~~~~--~~--~--~---
[wtr-general] Re: Elements supported by Watir
require 'watir/ie' On Sep 29, 4:26 am, Željko Filipin zeljko.fili...@wa-research.ch wrote: On Mon, Sep 28, 2009 at 6:08 PM, Bret Pettichord bpettich...@gmail.com wrote: def is_element_subclass? klass while klass = klass.superclass return true if klass == Watir::Element end end ObjectSpace.each_object(Class){|c| puts c if is_element_subclass?(c)} I executed this code on Mac and Windows and got this error message: NameError: uninitialized constant Watir::Element from (irb):5:in `is_element_subclass?' from (irb):9 from (irb):9:in `each_object' from (irb):9 I tried with or without `require watir` as the first line. What am I doing wrong? Mac: ruby 1.8.6 (2008-08-11 patchlevel 287) [universal-darwin9.0]) commonwatir (1.6.2) firewatir (1.6.2) safariwatir (0.3.3) Windows: ruby 1.8.6 (2007-09-24 patchlevel 111) [i386-mswin32] commonwatir (1.6.2) firewatir (1.6.2) watir (1.6.2) Željko --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Watir General group. To post to this group, send email to watir-general@googlegroups.com Before posting, please read the following guidelines: http://wiki.openqa.org/display/WTR/Support To unsubscribe from this group, send email to watir-general-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/watir-general -~--~~~~--~~--~--~---
[wtr-general] Re: Elements supported by Watir
Because Frame is not a subclass of Element. I am curious as to why you find this information helpful. If you want to know the class of an element, you can always do browser.text_field(:id, 'foo').class Bret On Sep 30, 7:06 am, Željko Filipin zeljko.fili...@wa-research.ch wrote: Frame is missing from this list. I guess it makes sense, but it is still missing. Željko On Mon, Sep 28, 2009 at 6:08 PM, Bret Pettichord bpettich...@gmail.com wrote: ObjectSpace.each_object(Class){|c| puts c if is_element_subclass?(c)} Watir::HTMLElement Watir::Link Watir::Image Watir::TableCell Watir::TableRow Watir::TableBody Watir::TableBodies Watir::Table Watir::CheckBox Watir::Radio Watir::RadioCheckCommon Watir::FileField Watir::Hidden Watir::TextField Watir::Button Watir::SelectList Watir::InputElement Watir::Em Watir::Strong Watir::Dd Watir::Dt Watir::Dl Watir::H6 Watir::H5 Watir::H4 Watir::H3 Watir::H2 Watir::H1 Watir::Ul Watir::Li Watir::Label Watir::Area Watir::Map Watir::Span Watir::Div Watir::P Watir::Pre Watir::NonControlElement Watir::Form --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Watir General group. To post to this group, send email to watir-general@googlegroups.com Before posting, please read the following guidelines: http://wiki.openqa.org/display/WTR/Support To unsubscribe from this group, send email to watir-general-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/watir-general -~--~~~~--~~--~--~---
[wtr-general] Re: Summary wiki page
The collection looks useful, but something is confusing about the parentage of the collection. Look at the breadcrumbs on these pages. DashboardWatir ...Project Home Start Here Tutorial Summary Collections of HTML Elements Bret Željko Filipin zeljko.fili...@wa-research.ch wrote: On Thu, Oct 1, 2009 at 2:32 AM, Alister Scott alister.sc...@gmail.com wrote: The Summary section onhttp://wiki.openqa.org/display/WTR/Project+Home looks like a good idea. Thanks. For a long time I wished that it existed, and then i decided to make my wish come true. :) Željko --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Watir General group. To post to this group, send email to watir-general@googlegroups.com Before posting, please read the following guidelines: http://wiki.openqa.org/display/WTR/Support To unsubscribe from this group, send email to watir-general-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/watir-general -~--~~~~--~~--~--~---
[wtr-general] Re: Watir cannot connect to IE running under non-Admin account on ‘default’ desktop.
Is this something you could share? Bret On Sep 28, 7:07 pm, Shane hend...@gmail.com wrote: Ah, well, it wasn't quite a problem of user rights in the end. It turns out that the method that Watir uses to enumerate IE windows (i.e. Shell.Application) does not work across user spaces. So I had to write an intermediate application to retrieve the IWebBrowser2 COM pointer for the IE window, and modify the 'eval_in_spawned_process' Watir function to use this handle for 'pc = Watir::IE.bind (iWebBrowserPtr)'. This now works fine. :) On Sep 28, 12:34 pm, Bret Pettichord bpettich...@gmail.com wrote: Shane, Thanks for the excellent description of the problems that occur when your tests run in an account that doesn't have the rights Watir needs. Bret On Sep 25, 11:54 am, Shane hend...@gmail.com wrote: Some Background on architecture of the app is needed: Windows 2003/Apache-v2.2/IE7/Watir-v1.6.2/Ruby-v1.8.5 1. Apache running under 'localsystem' account. 2. Request to run a Watir script comes in. 3. Apache CGI kicks off IE7 under a particular user, e.g. 'tester', and attaches the IE7 window to the default desktop environment. This allows us to VNC into the machine and see all IE7 windows from all the accounts running. 4. IE7 has ruby embedded into the process through plugin and executes the ruby script in a thread. For clicking on links/buttons in IE, Watir supplies a synchronous 'click' method and async 'click_no_wait' method. 'click_no_wait' spawns a completely new ruby process to connect back to the IE7 window to click the link/button. This is what is failing for me. Since click_no_wait is spawning a new process. It cannot seem to see the IE7 window to connect to it and click on the link/button. I have to use 'click_no_wait' due to a dialog box that IE pops up on a certain page, so that another ruby thread can close it. I've tried a few things: - using fire_event('OnClick') instead of click_no_wait hangs script like 'click' would. - Modifying 'click' by commenting out '@container.wait', but the 'click!' itself is the API that hangs waiting for the dialog box to close. - Make 'click_no_wait' spawn a new thread instead of a process', but other threads appear to be suspended while the 'click!' call executes in that thread. Which is strange. - Executing the 'click_no_wait' process using the exact same code that is used to spawn the IE7 process, but it still can't find any IE7 windows. By 'default' desktop described above, the code that spawns IE basically does a series of C++ calls to attach the IE7 window to the 'winsta0' desktop: - LogonUser() // log in as tester account - OpenWindowStation(winsta0) // to get default desktop - SetProcessWindowStation() - // add the user to interactive window station using (GetUserObjectSecurity, GetSecurityDescriptorDacl, GetAclInformation, AddAce, SetSecurityDescriptorDacl, SetUserObjectSecurity) - // add user to default desktop using APIs listed above. - CreateEnvironmentBlock - ImpersonateLoggedOnUser - CreateProcessAsUser('iexplore.exe') - // cleanup Running the following Watir script under the particular user IE7 is running under yields: $IE = Watir::IE.attach(:title, /Google/) $IE.button(:name, 'btnG').click! c:/ruby/lib/ruby/gems/1.8/gems/watir-1.6.2/lib/watir/ie-class.rb: 246:in `method_missing': Windows (WIN32OLERuntimeError) OLE error code: 80040154 in HRESULT error code:0x80020009 Exception occurred. from c:/ ruby/lib/ruby/gems/1.8/gems/watir-1.6.2/lib/watir/ie-class.rb:246:in each Which contains: c:/ruby/lib/ruby/gems/1.8/gems/watir-1.6.2/lib/watir/ie-class.rb:246 shell = WIN32OLE.new(Shell.Application) windows = shell.Windows ## Fails here Let me know if I can supply more details or disambiguation! :) Thanks, Shane. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Watir General group. To post to this group, send email to watir-general@googlegroups.com Before posting, please read the following guidelines: http://wiki.openqa.org/display/WTR/Support To unsubscribe from this group, send email to watir-general-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/watir-general -~--~~~~--~~--~--~---
[wtr-general] Grace counts
If you are here asking for people to help you with a problem, please take the time and effort to let others know that appreciate their help and don't take it for granted. Sometimes I see posts that say urgent help needed or help needed asap, and this tone usually puts me in a mindset not to help. I always ignore posts with a subject of help needed, especially if it is all capital letters. If you need help, you should take the time to isolate your problem and provide us with a clear and complete description. And take the time to provide a descriptive header. This is both the polite thing to do and the smart thing to do: because it actually helps others get you the help you need. Thanks! Bret --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Watir General group. To post to this group, send email to watir-general@googlegroups.com Before posting, please read the following guidelines: http://wiki.openqa.org/display/WTR/Support To unsubscribe from this group, send email to watir-general-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/watir-general -~--~~~~--~~--~--~---
[wtr-general] Re: Require statements in Watir
No. don't use caps with require. Use require 'watir' or, sometimes (but usually not needed): require 'watir/ie' On Sep 10, 7:09 pm, Darryl Brown d-l-br...@roadrunner.com wrote: Hello Vijay, Sounds like you're just starting out. If you are using Watir with IE then require 'Watir/IE' will be sufficient for basic scripting. Also take a look at:http://wiki.openqa.org/display/WTR/Watir+in+5+Minutes Darryl On Sep 10, 6:00 am, dvkbabu dvkb...@gmail.com wrote: Hi, Any any one please provide more information on the following require statements. When should we use the following and what type of include files/libraries we need to include at the beginning of Watir script when etc... require 'test/unit' require 'watir' require 'win32ole' require 'rubygems' require 'roo' Thanks, Vijay --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Watir General group. To post to this group, send email to watir-general@googlegroups.com Before posting, please read the following guidelines: http://wiki.openqa.org/display/WTR/Support To unsubscribe from this group, send email to watir-general-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/watir-general -~--~~~~--~~--~--~---
[wtr-general] Re: Summary wiki page
The collection looks useful, but something is confusing about the parentage of the collection. Look at the breadcrumbs on these pages. Dashboard Watir ...Project Home Start Here Tutorial Summary Collections of HTML Elements Agree, not the best location. I think we need to have a 'one page quick start', a 'one page tutorial', and the rest of the information contained can be logically organized into categories. But I believe the one page tutorial is what we used to have, do you know why it was changed to such a long format? Cheers, Alister --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Watir General group. To post to this group, send email to watir-general@googlegroups.com Before posting, please read the following guidelines: http://wiki.openqa.org/display/WTR/Support To unsubscribe from this group, send email to watir-general-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/watir-general -~--~~~~--~~--~--~---
[wtr-general] Re: bring_to_front function not working...
Thsnks Siva, For your instant reply, i registered and other AutoIT methods are working without any error. My actual issue is if my application is in background and if i apply bring_to_front() function it should bring the application to foreground. isn't it? but it wont bring to foreground and send key method will not work as per my wish. it doesn't throw any error. but it dont work. Thanks, Prince3105. On Oct 5, 6:51 pm, sHiVa krapa.ph...@gmail.com wrote: Hi, Did you register the AutoItx3.dll? Run the following command from command prompt. regsvr C:\ruby\lib\ruby\gems\1.8\gems\watir-1.6.2\lib\watir \AutoItX3.dll Thanks Regards Siva Phaneendra K On Oct 5, 5:34 pm, Prince3105 prince3...@gmail.com wrote: Hi Al, I am using below code in my scripts. My script has so many sendkey operations. So i am using bring_to_front function to activate the application. But its not working and it doesn't throw any error. So please give me any other options are available in Watir like WSH's AppActivate . @ie = Watir::IE.new @ie.goto $url @ie.maximize @ie.bring_to_front @ie.text_field(:id,txtUserName).set user_id @ie.text_field(:id,txtPassword).set password @ie.button(:id,btnSubmit).click Thanks, Prince3105 --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Watir General group. To post to this group, send email to watir-general@googlegroups.com Before posting, please read the following guidelines: http://wiki.openqa.org/display/WTR/Support To unsubscribe from this group, send email to watir-general-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/watir-general -~--~~~~--~~--~--~---