Re: [wtr-general] Re: watir webdriver and javascript drop down menu in IE

2012-04-25 Thread Željko Filipin
On Tue, Apr 24, 2012 at 11:53 PM, mndude ibo...@gmail.com wrote: Since watir-webdriver is essentially wrapping the Selenium webdriver is there a way I can access the Action Builder as shown in that hover class mentioned in the link? You should be able to do something like this to get access to

Re: [wtr-general] Re: Getting Hash value instead of actual link from email.

2012-04-25 Thread Željko Filipin
On Wed, Apr 25, 2012 at 5:13 AM, Bhavesh bhavesh1_sha...@yahoo.com wrote: Only thing if someone can help is, i got the email body but as same time i want to mark that email as read instead of unread, so that next time when i have another new email, i get content from that new email and

Re: [wtr-general] Re: Getting Hash value instead of actual link from email.

2012-04-25 Thread Željko Filipin
Comments are inline. On Wed, Apr 25, 2012 at 5:57 PM, Bhavesh bhavesh1_sha...@yahoo.com wrote: I think you are on vacation Yesterday, otherwise i could have done it yesterday. Not on vacation, just really busy. :) If i use mail gem, then when i try to access new unread email, it fails, it

Re: [wtr-general] Re: Getting Hash value instead of actual link from email.

2012-04-25 Thread Željko Filipin
On Wed, Apr 25, 2012 at 6:39 PM, Bhavesh bhavesh1_sha...@yahoo.com wrote: For subfolders, actually inside Inbox, there are sub folder where specific mails are getting collected based on the policy/rules. Are you using Gmail? Željko -- Before posting, please read http://watir.com/support. In

Re: [wtr-general] Re: Getting Hash value instead of actual link from email.

2012-04-25 Thread Željko Filipin
On Wed, Apr 25, 2012 at 7:13 PM, Bhavesh bhavesh1_sha...@yahoo.com wrote: By the way zeljko, im still not able to get the unread emails if i use Mail.all, mail.first or mail.,last. You will have to provide more information. I am monitoring mail gem list so feel free to post there. Željko --

Re: [wtr-general] Watir 3 Released!

2012-04-24 Thread Željko Filipin
On Mon, Apr 23, 2012 at 11:57 PM, Jarmo Pertman jarm...@gmail.com wrote: You may do that if possible. Done: http://watir.com/2012/04/24/watir-3-released/ Željko -- Before posting, please read http://watir.com/support. In short: search before you ask, be nice. watir-general@googlegroups.com

Re: [wtr-general] execute_script does't seem to work

2012-04-23 Thread Željko Filipin
Thoughts anyone? Kayen On Apr 21, 8:34 pm, Željko Filipin zeljko.fili...@gmail.comjavascript:; wrote: On Sat, Apr 21, 2012 at 9:02 PM, Kayen karthigaya...@gmail.comjavascript:; wrote: Thanks Zeljko, however the requirement is to test in Firefox. Just try it in Chrome, if it does

Re: [wtr-general] Need urgent help

2012-04-23 Thread Željko Filipin
On Sat, Apr 21, 2012 at 10:42 PM, Raghu k kraghubu...@gmail.com wrote: Something like ths would help .. Please help me with a quick code... Is there a problem with the code you have posted? Željko -- watir.com/book - author -- Before posting, please read http://watir.com/support. In short:

Re: [wtr-general] Watir 3 Released!

2012-04-23 Thread Željko Filipin
On Mon, Apr 23, 2012 at 9:00 PM, Jarmo jarm...@gmail.com wrote: I'm happy to announce that Watir 3 has been finally released! Thanks for all the hard work! :) Do you need help with the blog post at watir.com? Željko -- watir.com/book - author -- Before posting, please read

Re: [wtr-general] execute_script does't seem to work

2012-04-21 Thread Željko Filipin
On Sat, Apr 21, 2012 at 2:57 PM, Karthik karthigaya...@gmail.com wrote: then the browser (firefox) returns an unresponsive script pop-up and hangs. It happened to me. The workaround for me was to use Chrome. Željko -- watir.com/book - author -- Before posting, please read

Re: [wtr-general] execute_script does't seem to work

2012-04-21 Thread Željko Filipin
On Sat, Apr 21, 2012 at 6:36 PM, Benny Darsono drs.b...@gmail.com wrote: How to test stress testing in firefox? Is this related to execute_script problem? If not, please create new thread. Also, provide more information on what you want to do. Željko -- Before posting, please read

Re: [wtr-general] Re: execute_script does't seem to work

2012-04-21 Thread Željko Filipin
On Sat, Apr 21, 2012 at 9:02 PM, Kayen karthigaya...@gmail.com wrote: Thanks Zeljko, however the requirement is to test in Firefox. Just try it in Chrome, if it does not hang there, then the problem is probably in Firefox driver. Željko -- Before posting, please read http://watir.com/support.

Re: [wtr-general] element_by_xpath is it depreciated in watir-webdriver 0.5.4, it existed ini 0.4.1?

2012-04-20 Thread Željko Filipin
On Fri, Apr 20, 2012 at 10:41 PM, Super Kevy kpe...@scholarshipamerica.org wrote: Is element_by_xpath is it depreciated in watir-webdriver 0.5.4 https://github.com/watir/watir-webdriver/commit/708d56a6d2eacb4b9f5ab63fd8d4abef349c8b1f Additionally, watir-webdriver 0.5.1 removes the following

Re: [wtr-general] pdf file downloading from browser

2012-04-19 Thread Željko Filipin
On Thu, Apr 19, 2012 at 1:02 PM, sipin raj vr sipinra...@gmail.com wrote: I am trying to automate a screen which is having a link to open a pdf file and also i want to save this file to my system.. And what is the problem? Željko -- watir.com/book - author -- Before posting, please read

Re: [wtr-general] getting browser ip (using proxy)

2012-04-18 Thread Željko Filipin
On Wed, Apr 18, 2012 at 4:06 PM, introvert aljaz.faj...@gmail.com wrote: How is it possible to get browser IP with Watir? Left a comment at http://stackoverflow.com/q/10205040/17469 Željko -- watir.com/book - author -- Before posting, please read http://watir.com/support. In short: search

Re: [wtr-general] Re: browser.radio(:name,'email_frequency', 'weekly') is not working with watir 2.0.4

2012-04-17 Thread Željko Filipin
On Mon, Apr 16, 2012 at 9:13 PM, Chuck van der Linden sqa...@gmail.com wrote: The radio API may have changed to be more standardized Yes, the API changed. Željko -- watir.com/book - author -- Before posting, please read http://watir.com/support. In short: search before you ask, be nice.

Re: [wtr-general] Re: Need information on Accessing outlook and emails for multiple mailboxes

2012-04-14 Thread Željko Filipin
On Fri, Apr 13, 2012 at 11:52 PM, Bhavesh bhavesh1_sha...@yahoo.com wrote: If i use mail gem, can i access emails, links inside it when outlook is opened and active? With mail gem you can access mail directly at the mail server, you do not need outlook. Željko -- Before posting, please read

Re: [wtr-general] Re: Need information on Accessing outlook and emails for multiple mailboxes

2012-04-14 Thread Željko Filipin
On Sat, Apr 14, 2012 at 1:09 AM, Bhavesh bhavesh1_sha...@yahoo.com wrote: And is it possible to click on link inside an email? You can get link URL and with mail gem then open the page with watir gem. Željko -- Before posting, please read http://watir.com/support. In short: search before you

Re: [wtr-general] Need information on Accessing outlook and emails for multiple mailboxes

2012-04-13 Thread Željko Filipin
On Fri, Apr 13, 2012 at 6:02 PM, Bhavesh bhavesh1_sha...@yahoo.com wrote: We have to verify after email is revieved, what is the body content, at what time it is received, we have to click on a link that is present inside the email. I usually use mail gem for that:

Re: [wtr-general] Save image in firefox: problem?

2012-04-12 Thread Željko Filipin
On Thu, Apr 12, 2012 at 3:13 AM, Bruno Pio bruno...@gmail.com wrote: NotImplementedError: not currently supported by WebDriver Well, as the error message says, it is not currently supported: http://rubydoc.info/gems/watir-webdriver/Watir/Image#save-instance_method You should be able to get src

Re: [wtr-general] Save image in firefox: problem?

2012-04-12 Thread Željko Filipin
On Thu, Apr 12, 2012 at 12:52 PM, Bruno Pio bruno...@gmail.com wrote: I need to download the captcha to send to another server that will solve it for me Are you automating the site your team is developing? You should let them know that the point of captcha is to prove that you are human. If you

Re: [wtr-general] Saving a PDF with Watir

2012-04-10 Thread Željko Filipin
On Tue, Apr 10, 2012 at 3:35 PM, Nicolas Turelier nicolas.turel...@gmail.com wrote: The PDF in the popup is opened with the Acrobat Reader interface and I have to save this PDF in a specific folder on my HardDrive. The easiest thing to do is to disable the PDF reader. This is how to do it in

Re: [wtr-general] RubyMine with Watir, Cucumber, and Page objects

2012-03-30 Thread Željko Filipin
On Sat, Mar 31, 2012 at 2:49 AM, Chuck van der Linden sqa...@gmail.com wrote: Does it just know about Watir, Cucumber, etc all on it's own? I do not think you have to do any setup. I think it scans the gems you have installed and tries to figure out what to do. Željko -- Before posting,

Re: [wtr-general] Trying to run script on a VM with Windows XP Pro and getting errors for file paths

2012-03-27 Thread Željko Filipin
On Mon, Mar 26, 2012 at 2:43 PM, Joe Fl joeflec...@gmail.com wrote: C:/Ruby193/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:36:in `require': cannot load such file -- ruby-debug (LoadError) Looks like you so not have this gem installed: http://rubygems.org/gems/ruby-debug Željko --

Re: [wtr-general] WATIR object

2012-03-25 Thread Željko Filipin
On Fri, Mar 23, 2012 at 4:25 PM, Rick bellc...@yahoo.com wrote: In #Watir::Table:0x54ed4b284686a4b2 located=false selector={:id=TblGeneralInformation, :tag_name=table} Does the value of 'false' for located means that the table was not located? Show us the code that returns that. As far as I

Re: [wtr-general] Regarding the Watir Implementation for silverlight application.

2012-03-22 Thread Željko Filipin
On Thu, Mar 22, 2012 at 2:05 AM, Vignesh Ravichandran vignesh.ravim...@gmail.com wrote: Please let us know whether watir supports silverlight plugin. No. It is important to say that Watir CAN NOT control browser plugins like Java applets, Adobe Flash or Microsoft Silverlight.

[wtr-general] Page Objects and Cucumber charity workshop live streaming!

2012-03-22 Thread Željko Filipin
http://kondoot.com/watir Željko -- watir.com/book - author -- Before posting, please read http://watir.com/support. In short: search before you ask, be nice. watir-general@googlegroups.com http://groups.google.com/group/watir-general watir-general+unsubscr...@googlegroups.com

Re: [wtr-general] Re: Page Objects and Cucumber charity workshop live streaming!

2012-03-22 Thread Željko Filipin
On Thu, Mar 22, 2012 at 1:40 PM, Max max.s...@gmail.com wrote: would be awesome if this could be later posted on youtube :) We will do our best, also recording in HD, will see how it goes. Željko -- Before posting, please read http://watir.com/support. In short: search before you ask, be

Re: [wtr-general] Problem with inputting data into text area - Please help me get the Watir command to fill information in the form correctly

2012-03-21 Thread Željko Filipin
On Wed, Mar 21, 2012 at 1:22 PM, Hal Casteel hal.cast...@bisqueimports.com wrote: Watir::Exception::UnknownObjectException: unable to locate element, using {:id=secondForm, :tag_name=input or textarea, :type=(any text type)} The error message says Watir could not find the element. Are you sure

Re: [wtr-general] watir-webdriver save_screenshot bit depth

2012-03-20 Thread Željko Filipin
On Tue, Mar 20, 2012 at 11:57 AM, Dan dfra...@gmail.com wrote: It turns out that firefox and ie provide a 32 bit file, while Chrome provides a 24 bit file. In addition to that, I have also noticed that some browser take screen shots of the entire window (even the part not visible on the page),

Re: [wtr-general] nested selection - script passes, but selection does not change

2012-03-20 Thread Željko Filipin
On Tue, Mar 20, 2012 at 10:33 AM, Ry crossan...@gmail.com wrote: I have been trying to access a java-menu that has a selection in the collapsed tree that I wish to select. I am not receiving an error, the script passes, but the selection is not changing I guess you mean javascript, not java.

Re: [wtr-general] Re: How to run all scripts in single browser session

2012-03-19 Thread Željko Filipin
On Mon, Mar 19, 2012 at 12:57 AM, Ankita Gupta ankita.gu...@adslot.com wrote: I also wanted some particular format in which I could keep all my test in different .rb files and could call them in one main file where in I would use before(:all)/after(:all) You will get better answers at rspec

Re: [wtr-general] How to run all scripts in single browser session

2012-03-18 Thread Željko Filipin
On Sun, Mar 18, 2012 at 11:40 PM, Ankita Gupta ankita.gu...@adslot.com wrote: I have 5 test scripts and I wanted to run those in single browser session but do not know how to do that. As far as I remember, test/unit's setup/teardown methods run before/after _each_ test. If you can use RSspec,

Re: [wtr-general] Re: dumping the visible page to watir-webdriver

2012-03-14 Thread Željko Filipin
On Wed, Mar 14, 2012 at 12:00 PM, Rick bellc...@yahoo.com wrote: From what i can see, the page has loaded completely when the timeout has occured. Is there anything similar to fiddler2 on linux? We're running on Ubuntu. Open the page in Firefox with Firebug enabled, and check Network tab.

Re: [wtr-general] Embed Tag - Javascript Action to render a PDF in Embed - Can't access PDF or download it?

2012-03-13 Thread Željko Filipin
On Sat, Mar 3, 2012 at 7:31 AM, William Flanagan wflana...@tempusgroup.com wrote: I'm trying to check the revision of a PDF file that is on a website. Here is the script that works for me: https://gist.github.com/2033385 Željko -- watir.com/book - author -- Before posting, please read

Re: [wtr-general] Validating Image is clickable

2012-03-13 Thread Željko Filipin
On Tue, Mar 13, 2012 at 10:40 PM, Joe Fl joeflec...@gmail.com wrote: I need to confirm this tag [a class=person-inline-profile ] is available to know the image is clickable. Try this: browser.img.present? http://rubydoc.info/gems/watir-webdriver/Watir/Element#present%3F-instance_method

Re: [wtr-general] How often do you need to reach database on your projects?

2012-03-08 Thread Željko Filipin
On Wed, Mar 7, 2012 at 2:42 AM, Pedro Nascimento pnascime...@gmail.com wrote: How often do you need to reach database on your projects? Recently I was working on a project that required me to check the database pretty frequently. I was using Sequel (http://sequel.rubyforge.org/). Željko --

Re: [wtr-general] How to implement drag and drop option in watir library?

2012-03-08 Thread Željko Filipin
On Thu, Mar 8, 2012 at 2:38 AM, anurag anuragsatish...@gmail.com wrote: Can anyone tell me how to implement the drag and drop method in watir library. http://rubydoc.info/gems/watir-webdriver/Watir/Element#drag_and_drop_on-instance_method Example: a = browser.div(:id = draggable) b =

Re: [wtr-general] selecting a value from the drop down should refresh the calendar. But it does n't.

2012-02-22 Thread Željko Filipin
On Wed, Feb 22, 2012 at 5:30 AM, sridhar249 sridhar...@gmail.com wrote: But when i try to change the dropdown option through watir, it does not refresh the calendar. This could help. Željko -- watir.com/book - author -- Before posting, please read http://watir.com/support. In short: search

Re: [wtr-general] Capture the state of an element in time?

2012-02-22 Thread Željko Filipin
On Wed, Feb 22, 2012 at 3:45 PM, Jamison Dance jerga...@gmail.com wrote: Is there any way to capture the current state of an element? Sure, try this: browser.element.html I think both watir and watir-webdriver gems support attribute_value, too:

Re: [wtr-general] Accessing ul in watir

2012-02-19 Thread Željko Filipin
On Sun, Feb 19, 2012 at 12:25 PM, Mihir Dhandhusaria mihir...@gmail.com wrote: ul class=chzn-results Try this: browser.ul(:class = chzn-results).click Željko -- watir.com/book - author -- Before posting, please read http://watir.com/support. In short: search before you ask, be nice.

Re: [wtr-general] Re: Accessing ul in watir

2012-02-19 Thread Željko Filipin
On Sun, Feb 19, 2012 at 3:32 PM, Mihir Dhandhusaria mihir...@gmail.com wrote: and in response i see this 0.004. And what is the problem? Željko -- Before posting, please read http://watir.com/support. In short: search before you ask, be nice. watir-general@googlegroups.com

Re: [wtr-general] Re: Accessing ul in watir

2012-02-19 Thread Željko Filipin
On Sun, Feb 19, 2012 at 3:40 PM, Mihir Dhandhusaria mihir...@gmail.comwrote: It never selects value in UI. [image: Inline image 1] This is what i have on UI. I am trying to select value from the list. But when i execute my code nothing happens . and it never give me any error. This looks

Re: [wtr-general] Re: Upgrading anxiety

2012-02-17 Thread Željko Filipin
On Fri, Feb 17, 2012 at 1:04 PM, Lisa Crispin lisa.cris...@gmail.com wrote: C:\gem install watir -v 1.6.2 ERROR: While executing gem ... (Gem::DependencyError) Unable to resolve dependencies: watir requires commonwatir (= 1.6.2); firewa tir requires commonwatir (= 1.9.2) Hi Lisa, try

Re: [wtr-general] How to install Watir 1.6.2 with Ruby 1.9.3? Or with any Ruby, such that my scripts will work?

2012-02-17 Thread Željko Filipin
On Fri, Feb 17, 2012 at 2:03 PM, Lisa Crispin lisa.cris...@gmail.com wrote: They work fine on my old Vista 64 PC that has Ruby 1.8.6 and Watir 1.6.2. Try copying ruby folder from the machine where everything is set up to the new machine. Probably the only thing you should fix on the new machine

Re: [wtr-general] Re: Trying to go back to watir 1.6.2, won't install correctly

2012-02-17 Thread Željko Filipin
On Fri, Feb 17, 2012 at 2:47 PM, Lisa Crispin lisa.cris...@gmail.com wrote: On my old PC, I see they are associated with the Ruby interpreter, I can't find where that lives. I do not have windows machine here, but I think it is in c:\ruby\bin\ruby.exe or something like that. If nobody answers

Re: [wtr-general] Trying to go back to watir 1.6.2, won't install correctly

2012-02-16 Thread Željko Filipin
Hi Lisa, comments are inline. Željko On Thu, Feb 16, 2012 at 6:03 PM, Lisa Crispin lisa.cris...@gmail.com wrote: I uninstalled whatever Ruby that was, and installed ruby 1.8.7 instead. Is there a reason for using ruby 1.8.7.? I would suggest that you install ruby 1.9.3. However, when I try

Re: [wtr-general] Trying to go back to watir 1.6.2, won't install correctly

2012-02-16 Thread Željko Filipin
2012/2/16 Lisa Crispin lisa.cris...@gmail.com I still get the same error. What do you get if you execute this in the command line? gem list watir Željko -- Before posting, please read http://watir.com/support. In short: search before you ask, be nice. watir-general@googlegroups.com

Re: [wtr-general] Trying to go back to watir 1.6.2, won't install correctly

2012-02-16 Thread Željko Filipin
On Thu, Feb 16, 2012 at 9:29 PM, Lisa Crispin lisa.cris...@gmail.com wrote: I know, I had uninstalled Ruby 1.8.7 because the require 'watir' kept failing, and installed Ruby 1.8.6, but now the install of watir won't work. Is there a reason not to install ruby 1.9.3? Ruby 1.8.6 probably has

Re: [wtr-general] how to use one default and one customize attribute syntax

2012-02-14 Thread Željko Filipin
On Mon, Feb 13, 2012 at 11:06 AM, Cristina Dumitrescu cristina.watir.toro...@gmail.com wrote: $browser.div(:class, searchres).div(:class = 'data a' , @target = 'aaa-ldap').span(:class = r, :text = /aaa-ldap/).flash I do not see where you defined @target variable. Make sure it is symbol, not

Re: [wtr-general] watir-webdriver vs selenium-webdriver

2012-02-12 Thread Željko Filipin
On Sun, Feb 12, 2012 at 4:36 PM, yawshikwa shams...@gmail.com wrote: The only reason I sometimes still consider selenium- webdriver is for access to a cross browser solution such as Sauce Labs. I'm not aware that something like that exists for watir yet. I think a couple of guys from Sauce

Re: [wtr-general] Selecting an element based from another known element's position

2012-02-10 Thread Željko Filipin
On Fri, Feb 10, 2012 at 2:08 PM, RJ rj412@gmail.com wrote: Selecting an element based from another known element's position. Show us the HTML. If both elements have the same parent, then it is easy. Something like this: browser.label.parent.radio Željko -- watir.com/book - author --

Re: [wtr-general] How to handle a new tab that is a viewer?

2012-02-09 Thread Željko Filipin
On Thu, Feb 9, 2012 at 5:26 AM, Joe fleck joeflec...@gmail.com wrote: I am using watir-webdriver. Thank take a look at this page: http://watirwebdriver.com/browser-popups/ Željko -- Before posting, please read http://watir.com/support. In short: search before you ask, be nice.

Re: [wtr-general] How to handle modal dialogs in chrome browser using watir+cucumber?

2012-02-09 Thread Željko Filipin
On Thu, Feb 9, 2012 at 12:59 AM, anurag anuragsatish...@gmail.com wrote: Can anyone tell me how to handle a modal dialogs in chrome browser using watir-webdriver+cucumber? Take a look at this page: http://watirwebdriver.com/browser-popups/ Željko -- watir.com/book - author -- Before

Re: [wtr-general] How to handle a new tab that is a viewer?

2012-02-08 Thread Željko Filipin
On Wed, Feb 8, 2012 at 9:19 PM, Joe Fl joeflec...@gmail.com wrote: Our application opens documents and images in a new tab or browser Are you using watir or watir-webdriver gem? Željko -- watir.com/book - author -- Before posting, please read http://watir.com/support. In short: search before

Re: [wtr-general] Watir 3.0 select_list contents

2012-02-07 Thread Željko Filipin
On Tue, Feb 7, 2012 at 8:10 AM, Trevor trevorm1...@gmail.com wrote: assert_equal( [none,fixed] , $browser.select_list(:name, model).options) Now you have to do something like this: browser.select_list(:name = model).options.collect {|option| option.text} More information:

Re: [wtr-general] multiple browser session

2012-02-07 Thread Željko Filipin
On Tue, Feb 7, 2012 at 3:46 AM, Litha K litha...@googlemail.com wrote: How do I launch a watir browser sessions for these two users to login at the same time? If you are using watir-webdriver and firefox: browser1 = Watir::Browser.new :firefox browser2 = Watir::Browser.new :firefox and then

Re: [wtr-general] Re: Watir 3.0.rc1 Released

2012-02-07 Thread Željko Filipin
On Tue, Feb 7, 2012 at 3:48 PM, hillary weimar1...@gmail.com wrote: so what's the replacement for returning options in the select list as an array of strings? Something like this: browser.select_list.options.collect {|option| option.text} More information:

Re: [wtr-general] Try to retrieve text from a strong tag

2012-02-06 Thread Željko Filipin
On Mon, Feb 6, 2012 at 1:10 PM, Joe Fl joeflec...@gmail.com wrote: div class=active-theme strongCategory 1/strong /div This should work, if strong tag is in the first (or only) div with active-theme class: browser.div(:class = active-theme).strong.text Željko -- watir.com/book - author --

Re: [wtr-general] Checking whether the text in the password field is masked or not

2012-02-02 Thread Željko Filipin
On Thu, Feb 2, 2012 at 11:44 AM, chaitanya vengeance...@gmail.com wrote: I was wondering whether there is any method in Watir which allows you to check whether the text in the password field is masked and not displayed as plain text. I think that is a browser feature. I do not think I have

Re: [wtr-general] What Email Provider is best used with Watir?

2012-02-01 Thread Željko Filipin
On Wed, Feb 1, 2012 at 11:18 AM, Joe Fl joeflec...@gmail.com wrote: What Email Provider is best used with Watir? What do you want to do? Send e-mail? There are other ruby gems that do that. I have used a couple: http://rubygems.org/gems/mail http://rubygems.org/gems/gmail Željko --

Re: [wtr-general] Re: Extend watir

2012-02-01 Thread Željko Filipin
On Wed, Feb 1, 2012 at 10:00 AM, Codsf sundeepkah...@hotmail.com wrote: so have 3 Firefox instances run the same tests? Did you try this? ff1 = Watir::Browser.new ff2 = Watir::Browser.new ff3 = Watir::Browser.new Željko -- watir.com/book - author -- Before posting, please read

Re: [wtr-general] What Email Provider is best used with Watir?

2012-02-01 Thread Željko Filipin
On Wed, Feb 1, 2012 at 12:42 PM, Joe Fleck joeflec...@gmail.com wrote: Our process to on board new users is to send them an invite to their email account and I am looking to automate that process. Then use mail or gmail gem, links are in my previous post. Željko -- Before posting, please

Re: [wtr-general] Re: [Wtr-development] watir-webdriver 0.5.2

2012-02-01 Thread Željko Filipin
On Wed, Feb 1, 2012 at 5:17 PM, Jari Bakken jari.bak...@gmail.com wrote: You also link to jarib/watir-webdriver (on both GitHub and Travis), which is now changed to watir/watir-webdriver. Ops. :) I have copy/pasted text from the previous release. Fixed. Please let me know if you notice

Re: [wtr-general] Re: [Wtr-development] watir-webdriver 0.5.2

2012-02-01 Thread Željko Filipin
On Wed, Feb 1, 2012 at 5:29 PM, Jari Bakken jari.bak...@gmail.com wrote: There's still the issue Jarmo pointed out - no longer returns Array, but Array - e.g. the part about String and Option got lost. Feel free to rephrase that if it's hard to understand (the collection type syntax is stolen

[wtr-general] watir-webdriver 0.5.2

2012-01-31 Thread Željko Filipin
More information at http://watir.com/2012/02/01/watir-webdriver-0-5-2/ Željko -- watir.com/book - author -- Before posting, please read http://watir.com/support. In short: search before you ask, be nice. watir-general@googlegroups.com http://groups.google.com/group/watir-general

Re: [wtr-general] Find the pages which throw javascript error in IE

2012-01-27 Thread Željko Filipin
On Fri, Jan 27, 2012 at 7:38 AM, Roy snigdho@gmail.com wrote: I have a list of URLs. I need to find out the pages which throws javascript error when opened in IE, irrespective of the exact error. I have a solution for that, but for Firefox only. I will blog about it soon. If Firefox is good

Re: [wtr-general] Error with brand new install

2012-01-26 Thread Željko Filipin
On Thu, Jan 26, 2012 at 11:10 AM, Lisa Crispin lisa.cris...@gmail.com wrote: I'm doing a brand new install of Watir on Windoze 7, following the instructions on the site. This instructions? https://github.com/zeljkofilipin/watirbook/blob/master/installation/windows.md I have updated the

Re: [wtr-general] Error with brand new install

2012-01-26 Thread Željko Filipin
Lisa, if the warning message is a problem, you should post at wtr-developm...@rubyforge.org, developers will know more on how to fix it. Željko -- Before posting, please read http://watir.com/support. In short: search before you ask, be nice. watir-general@googlegroups.com

Re: [wtr-general] problem with radio button after upgrade

2012-01-26 Thread Željko Filipin
On Thu, Jan 26, 2012 at 4:08 PM, Lisa Crispin lisa.cris...@gmail.com wrote: 1. Why am I getting this error? The api changed a bit. 2. Is there ONE definitive place where Watir commands (or whatever you call them) are documented? http://rubydoc.info/gems/watir/frames

Re: [wtr-general] problem with radio button after upgrade

2012-01-26 Thread Željko Filipin
On Thu, Jan 26, 2012 at 4:08 PM, Lisa Crispin lisa.cris...@gmail.com wrote: ie.radio(:name, 'rst', '65546').set The new api is: ie.radio(:name = rst, :value = 65546).set Željko -- Before posting, please read http://watir.com/support. In short: search before you ask, be nice.

Re: [wtr-general] Differences between watir and watir-webdriver

2012-01-26 Thread Željko Filipin
On Thu, Jan 19, 2012 at 9:52 PM, Bob Jones robertwjo...@verizon.net wrote: I am looking into the differences between watir and watir-webdriver. I think this is all we have, but I am not sure how up to date it is: https://github.com/watir/watir-webdriver/wiki/Comparison-with-Watir-1.X Željko --

Re: [wtr-general] problem with radio button after upgrade

2012-01-26 Thread Željko Filipin
On Thu, Jan 26, 2012 at 5:09 PM, Lisa Crispin lisa.cris...@gmail.com wrote: Then I realized this page I found that looks like such nice doc is for the old Watir. Does that not exist for Watir 2? This is *really* what I need. Did you see this? http://rubydoc.info/gems/watir/frames

Re: [wtr-general] Re: tightness of coupling between watir and watir-webdriver?

2012-01-17 Thread Željko Filipin
On Mon, Jan 16, 2012 at 6:19 PM, jw joshuawal...@gmail.com wrote: Zeljko, thanks for taking the time to organize the information around Watir. I saw one bullet that I have a question about, which was Watir-webdriver is the only driver, and it can drive all popular browsers on all popular

Re: [wtr-general] Re: tightness of coupling between watir and watir-webdriver?

2012-01-14 Thread Željko Filipin
On Sat, Jan 14, 2012 at 12:26 AM, Chuck van der Linden sqa...@gmail.com wrote: I've not had a chance to read it yet (it's on my list) but I think Zeljko's book on Watir contains a bit of history about how the tool developed. https://github.com/zeljkofilipin/watirbook/blob/master/about.md

Re: [wtr-general] Milestone for the Watir tag on Stack Overflow

2012-01-10 Thread Željko Filipin
On Tue, Jan 10, 2012 at 7:09 AM, Chuck van der Linden sqa...@gmail.com wrote: Well, we just had our 500th question with a 'Watir tag on it posted over on Stack Overflow. This is great news! :) Željko -- Before posting, please read http://watir.com/support. In short: search before you ask,

Re: [wtr-general] unable to click the span through watir. 选项

2012-01-06 Thread Željko Filipin
On Fri, Jan 6, 2012 at 4:17 AM, Finley fazhan...@gmail.com wrote: I am trying to click on a span in my web page. Although it can click, it event cann't tigger. Maybe this could help: http://stackoverflow.com/questions/3787555/how-to-find-out-which-javascript-events-fired Željko --

Re: [wtr-general] irb loads watir-webdriver = true, but rb scripts gives error.

2012-01-03 Thread Željko Filipin
Try adding this to the top of your scripts and let me know if it does not help: require rubygems Zeljko On Tuesday, January 3, 2012, A.Mori mull...@gmail.com wrote: Hi. Firtsly I would like to say i have been using watir for a small amount of time, but nonetheless have managed to write some

[wtr-general] Fwd: [Wtr-development] Selenium Conf '12

2012-01-02 Thread Željko Filipin
I am sending this to watir-general too, since I think it would be of interest to Watir users too. Željko -- watir.com/book - author -- Forwarded message -- From: Simon Stewart simon.m.stew...@gmail.com Date: Wed, Dec 28, 2011 at 12:38 PM Subject: [Wtr-development] Selenium Conf

Re: [wtr-general] Firefox 9 and resizing the window

2012-01-02 Thread Željko Filipin
Take a look at this: http://stackoverflow.com/questions/6126311/setting-browser-window-size-in-watir-webdriver Zeljko On Monday, January 2, 2012, Abe Heward abe.hew...@gmail.com wrote: Just found the depressing answer to my own question:

Re: [wtr-general] Firefox 9 and resizing the window

2012-01-02 Thread Željko Filipin
I think that was introduced recently. Zeljko On Monday, January 2, 2012, Abe Heward abe.hew...@gmail.com wrote: Wow, thanks, Željko! I don't know why I didn't already know about those methods. I feel dumb. smh Abe -- Before posting, please read http://watir.com/support. In short: search

Re: [wtr-general] Upgrading anxiety

2011-12-31 Thread Željko Filipin
On Saturday, December 31, 2011, Jarmo Pertman jarm...@gmail.com wrote: This list is not up to date anymore - should we just delete the statements which aren't true anymore so it would reflect the actual state? I think anybody can edit wiki pages at github, and I think you have the most

Re: [wtr-general] Upgrading anxiety

2011-12-30 Thread Željko Filipin
On Thu, Dec 29, 2011 at 11:34 PM, Lisa Crispin lisa.cris...@gmail.com wrote: I can't live without these scripts, so I don't want to break them. There is a setting in watir 2.x to keep the old 1-based indexing (instead of using the new 0-based). If you are using indexes, that could break a lot of

Re: [wtr-general] no such file to load -- watir/ie (LoadError)

2011-12-28 Thread Željko Filipin
On Wed, Dec 28, 2011 at 5:02 AM, mdwin01 mdwi...@gmail.com wrote: Watir::IE.new What happens if you do this instead of Watir::IE.new? Watir::Browser.new Željko -- Before posting, please read http://watir.com/support. In short: search before you ask, be nice. watir-general@googlegroups.com

Re: [wtr-general] FireFox 3.x and XUL controls

2011-12-22 Thread Željko Filipin
On Wed, Dec 21, 2011 at 10:27 PM, Super Kevy kpe...@scholarshipamerica.org wrote: I'm trying to get by a certificate dialog and FF brings me to the page Untrusted Connection page with the content Does this help? http://watirwebdriver.com/browser-certificates/ Željko -- watir.com/book -

Re: [wtr-general] Ruby Array Question

2011-12-20 Thread Željko Filipin
On Mon, Dec 19, 2011 at 9:05 PM, Jason Shelton jas.shel...@hotmail.com wrote: I have setup a Ruby class, made up of a bunch of subroutines. I am not sure what are you trying to do, but I would recommend that you start using one of the ruby testing frameworks. They have already solved all such

Re: [wtr-general] Re: Image.Save(path) Issues

2011-12-20 Thread Željko Filipin
On Tue, Dec 20, 2011 at 6:45 AM, Z royalcrit...@gmail.com wrote: There is a bug in the save image method. If there is a bug in Watir, report it here: http://jira.openqa.org/browse/WTR Željko -- watir.com/book - author -- Before posting, please read http://watir.com/support. In short: search

Re: [wtr-general] Watir will not install on Win 7 X64 or XP x86 no matter what I try!

2011-12-19 Thread Željko Filipin
Chuck answered here http://stackoverflow.com/questions/8553874/watir-will-not-install-with-xp-x86-or-win-7-x64-getting-error-building-native-e Željko -- Before posting, please read http://watir.com/support. In short: search before you ask, be nice. watir-general@googlegroups.com

Re: [wtr-general] Re: Failing to Click a link in firefox 8

2011-12-13 Thread Željko Filipin
On Tue, Dec 13, 2011 at 2:20 AM, hillary weimar1...@gmail.com wrote: it's going through the motions, but nothing gets clicked. Maybe this could help: http://stackoverflow.com/questions/3787555/how-to-find-out-which-javascript-events-fired Željko -- watir.com/book - author -- Before posting,

[wtr-general] watir-webdriver 0.4.1

2011-12-13 Thread Željko Filipin
More information: http://watir.com/2011/12/13/watir-webdriver-0-4-1/ Željko -- watir.com/book - author -- Before posting, please read http://watir.com/support. In short: search before you ask, be nice. watir-general@googlegroups.com http://groups.google.com/group/watir-general

Re: [wtr-general] Webdriver : when i have to grab the id using pattern match it fails for firefox

2011-12-09 Thread Željko Filipin
On Fri, Dec 9, 2011 at 12:56 AM, Bhavesh bhavesh1_sha...@yahoo.com wrote: so to collect the id's, i go to source of that page and grab the id like : $_ = $ie.html if /DIV class.*cell-inner.*id=(\S*).*dot.png.*#{fsname}/ printIDInfo(FS ID, $1) Why aren't you using watir api?

Re: [wtr-general] How do i drag Element to the Page?

2011-12-09 Thread Željko Filipin
On Fri, Dec 9, 2011 at 1:15 PM, ash shettyk...@gmail.com wrote: I am facing problem on dragging element to the page. https://www.google.com/search?q=watir+webdriver+drag Željko -- watir.com/book - author -- Before posting, please read http://watir.com/support. In short: search before you

Re: [wtr-general] Re: Webdriver : when i have to grab the id using pattern match it fails for firefox

2011-12-09 Thread Željko Filipin
On Fri, Dec 9, 2011 at 7:06 PM, Bhavesh bhavesh1_sha...@yahoo.com wrote: Here im matching bhavtest which is actually parameter #{fsname}. By matching this line, im collecting id div z_bp_ud!cave Then trying to click on that div in UI -- browser.div(:id , $1).click I am completely confused.

Re: [wtr-general] Safari Getting Table Cell Text

2011-12-08 Thread Željko Filipin
On Wed, Dec 7, 2011 at 5:32 PM, Brad bradask...@gmail.com wrote: It seems like this should be working cell = @b.table(:class, user-table)[0][1] #getting row 0 cell 1 puts cell.text O have replied at SO:

Re: [wtr-general] Watir Webdriver Performance Error

2011-12-06 Thread Željko Filipin
On Tue, Dec 6, 2011 at 7:22 AM, Jason Shelton jas.shel...@hotmail.com wrote: I am getting the attached error 1) Please copy/paste the text of the error. Let me know if you do not know how to do that. 2) Please provide the code that caused the error. Željko -- watir.com/book - author -- Before

Re: [wtr-general] automate text in Frames Watir with HTML Document

2011-12-05 Thread Željko Filipin
On Sun, Dec 4, 2011 at 8:10 AM, Erna Tercero erna.terc...@gmail.com wrote: I have this element on a frame: HTML Document name= id= src=javascript:void(function(){document.open() %3Bparent.CKEDITOR.tools.callFunction(72%2Cdocument)%3Bdocument.close() %3B}()) And the element is? Text field?

Re: [wtr-general] refreshing browser in thread doesn't work with ruby1.9

2011-12-05 Thread Željko Filipin
On Mon, Dec 5, 2011 at 4:25 PM, pOOQOOr dr.huang...@gmail.com wrote: these codes will refresh all browsers at almost same time with 1.8.7, but with 1.9+, it doesn't work. I remember reading that Ruby 1.9 has different behavior for variables in blocks, maybe it is related to that. Željko --

Re: [wtr-general] Export entire html table to a text document

2011-12-02 Thread Željko Filipin
On Fri, Dec 2, 2011 at 1:43 AM, Mark Ballinger mark.j.ballin...@gmail.com wrote: All i would like to do now is save the table. Is this the same question? http://stackoverflow.com/q/8355637/17469 Željko -- watir.com/book - author -- Before posting, please read http://watir.com/support. In

Re: [wtr-general] Re: Get the DOM

2011-11-30 Thread Željko Filipin
On Wed, Nov 30, 2011 at 1:47 AM, Carmen eliaol...@gmail.com wrote: That I really need is know if the sites have the same functionality, I need to check if after some changes in the env A still has the same function of the env B. Well, that is completely different problem. Another question: do

Re: [wtr-general] method_missing for row.cells but work for row.tds

2011-11-30 Thread Željko Filipin
On Wed, Nov 30, 2011 at 3:18 PM, Sergey Erokhin sergey.erok...@gmail.com wrote: but when i change code to ret_list row.tds[cell_n].text work fine ... I think the api changed to be more similar to watir-webdriver. You could send this to wtr-developm...@rubyforge.org, I am not sure if a

<    1   2   3   4   5   6   7   8   9   10   >