Re: [wtr-general] Watir 3X is not running in Virtual Machines
On Wed, Mar 6, 2013 at 10:02 PM, Jarmo Pertman jarm...@gmail.com wrote: Watir does not require to be run with administrative privileges. I'm not sure as to why you think so, Željko. It has been a while since I have used Watir on Windows. I remember there was at least one problem when Watir was installed by user that was not admin: Autoit would not be installed correctly. I have no idea if we use Autoit any more, or how long ago the problem was fixed. :) Željko -- -- 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 --- You received this message because you are subscribed to the Google Groups Watir General group. To unsubscribe from this group and stop receiving emails from it, send an email to watir-general+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
Re: [wtr-general] Re: Watir-webdriver and Ruby 2.0.0 - known compatabilty issues?
On Wed, Mar 6, 2013 at 11:06 PM, Alex Shtayer ashta...@gmail.com wrote: Do you have any reasons to move on Ruby 2.0? Recently I was helping a client move forward from Ruby 1.8.6. They did not have a reason to move forward until things got really broken. And then it was a major project. I would suggest moving forward as soon as possible (with all relevant software, not just Ruby). It is easier to solve a lot of small problems one by one, than all of them at once. Željko -- -- 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 --- You received this message because you are subscribed to the Google Groups Watir General group. To unsubscribe from this group and stop receiving emails from it, send an email to watir-general+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
Re: [wtr-general] Re: Watir-webdriver and Ruby 2.0.0 - known compatabilty issues?
On Thu, Mar 7, 2013 at 1:06 AM, Chuck van der Linden cvanderlin...@climate.com wrote: I am unsure if any of our developers (or the Webdriver folks for that matter) have tried our (their) stuff under Ruby 2.0 yet. Of course they have tried. :) https://travis-ci.org/watir/watir-webdriver Builds 190.10-190.18 are Ruby 2.0, all green and ready to rock. Željko -- https://leanpub.com/watirbook -- -- 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 --- You received this message because you are subscribed to the Google Groups Watir General group. To unsubscribe from this group and stop receiving emails from it, send an email to watir-general+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
Re: [wtr-general] Jquery+Watir problem with file_field
On Wed, Mar 6, 2013 at 9:58 PM, Michael Kernaghan michael.kernag...@gmail.com wrote: file is cleared from select window and save throws error because no file was selected. It would help if you could provide link to the page, or a similar one where the problem can be reproduced. Željko -- https://leanpub.com/watirbook -- -- 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 --- You received this message because you are subscribed to the Google Groups Watir General group. To unsubscribe from this group and stop receiving emails from it, send an email to watir-general+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
[wtr-general] retrieve hidden text values with watir webdriver
Hey guys! I'm trying to retrieve the text from a textarea, which appears as hidden, although I can dee it on the browser. This is the html tag: tr td Certification Request Number input type=hidden name=reqtitle value=Certification Request Number /td /tr I would like to grab the value Certification Request Number, but I get this error: (...) `assert_exists': unable to locate element, using {:name=reqtitle, :tag_name=input or textarea, :type=(any text type)} (Watir::Exception::UnknownObjectException) I've done my research on the mailing list and couldn't find anything ...Also, I could grab the text in the tdtd tags, but they are inside a table, which is inside a table inside a table and another table and so on, so it's impossible to track. Ideas? Thanks! Fabian -- -- 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 --- You received this message because you are subscribed to the Google Groups Watir General group. To unsubscribe from this group and stop receiving emails from it, send an email to watir-general+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
Re: [wtr-general] retrieve hidden text values with watir webdriver
Hi, Can you paste your code? Joe On Thu, Mar 7, 2013 at 10:47 AM, fabian.aroc...@gmail.com wrote: Hey guys! I'm trying to retrieve the text from a textarea, which appears as hidden, although I can dee it on the browser. This is the html tag: tr td Certification Request Number input type=hidden name=reqtitle value=Certification Request Number /td /tr I would like to grab the value Certification Request Number, but I get this error: (...) `assert_exists': unable to locate element, using {:name=reqtitle, :tag_name=input or textarea, :type=(any text type)} (Watir::Exception::UnknownObjectException) I've done my research on the mailing list and couldn't find anything ...Also, I could grab the text in the tdtd tags, but they are inside a table, which is inside a table inside a table and another table and so on, so it's impossible to track. Ideas? Thanks! Fabian -- -- 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 --- You received this message because you are subscribed to the Google Groups Watir General group. To unsubscribe from this group and stop receiving emails from it, send an email to watir-general+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out. -- -- 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 --- You received this message because you are subscribed to the Google Groups Watir General group. To unsubscribe from this group and stop receiving emails from it, send an email to watir-general+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
Re: [wtr-general] retrieve hidden text values with watir webdriver
well from your error it looks like you are using text_field? to locate a hidden. my first question is why? when hidden and hiddens exist http://watir.github.com/watir-webdriver/doc/Watir/Container.html#hidden-instance_method why not locate the hidden and get its value? On Thu, Mar 7, 2013 at 10:51 AM, Joe Fleck joeflec...@gmail.com wrote: Hi, Can you paste your code? Joe On Thu, Mar 7, 2013 at 10:47 AM, fabian.aroc...@gmail.com wrote: Hey guys! I'm trying to retrieve the text from a textarea, which appears as hidden, although I can dee it on the browser. This is the html tag: tr td Certification Request Number input type=hidden name=reqtitle value=Certification Request Number /td /tr I would like to grab the value Certification Request Number, but I get this error: (...) `assert_exists': unable to locate element, using {:name=reqtitle, :tag_name=input or textarea, :type=(any text type)} (Watir::Exception::UnknownObjectException) I've done my research on the mailing list and couldn't find anything ...Also, I could grab the text in the tdtd tags, but they are inside a table, which is inside a table inside a table and another table and so on, so it's impossible to track. Ideas? Thanks! Fabian -- -- 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 --- You received this message because you are subscribed to the Google Groups Watir General group. To unsubscribe from this group and stop receiving emails from it, send an email to watir-general+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out. -- -- 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 --- You received this message because you are subscribed to the Google Groups Watir General group. To unsubscribe from this group and stop receiving emails from it, send an email to watir-general+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out. -- -- 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 --- You received this message because you are subscribed to the Google Groups Watir General group. To unsubscribe from this group and stop receiving emails from it, send an email to watir-general+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
Re: [wtr-general] retrieve hidden text values with watir webdriver
Hi Joe, All I'have tried so far is: puts browser.text_field(:name = 'reqtitle').text puts browser.text_field(:name = 'reqtitle').value Fabian El jueves, 7 de marzo de 2013 13:51:37 UTC-2, Joe Fl escribió: Hi, Can you paste your code? Joe On Thu, Mar 7, 2013 at 10:47 AM, fabian@gmail.com javascript: wrote: Hey guys! I'm trying to retrieve the text from a textarea, which appears as hidden, although I can dee it on the browser. This is the html tag: tr td Certification Request Number input type=hidden name=reqtitle value=Certification Request Number /td /tr I would like to grab the value Certification Request Number, but I get this error: (...) `assert_exists': unable to locate element, using {:name=reqtitle, :tag_name=input or textarea, :type=(any text type)} (Watir::Exception::UnknownObjectException) I've done my research on the mailing list and couldn't find anything ...Also, I could grab the text in the tdtd tags, but they are inside a table, which is inside a table inside a table and another table and so on, so it's impossible to track. Ideas? Thanks! Fabian -- -- Before posting, please read http://watir.com/support. In short: search before you ask, be nice. watir-...@googlegroups.com javascript: http://groups.google.com/group/watir-general watir-genera...@googlegroups.com javascript: --- You received this message because you are subscribed to the Google Groups Watir General group. To unsubscribe from this group and stop receiving emails from it, send an email to watir-genera...@googlegroups.com javascript:. For more options, visit https://groups.google.com/groups/opt_out. -- -- 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 --- You received this message because you are subscribed to the Google Groups Watir General group. To unsubscribe from this group and stop receiving emails from it, send an email to watir-general+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
Re: [wtr-general] retrieve hidden text values with watir webdriver
Try: puts browser.hidden(:name = 'reqtitle').text On Thursday, March 7, 2013 10:37:23 AM UTC-6, fabian@gmail.com wrote: Hi Joe, All I'have tried so far is: puts browser.text_field(:name = 'reqtitle').text puts browser.text_field(:name = 'reqtitle').value Fabian El jueves, 7 de marzo de 2013 13:51:37 UTC-2, Joe Fl escribió: Hi, Can you paste your code? Joe On Thu, Mar 7, 2013 at 10:47 AM, fabian@gmail.com wrote: Hey guys! I'm trying to retrieve the text from a textarea, which appears as hidden, although I can dee it on the browser. This is the html tag: tr td Certification Request Number input type=hidden name=reqtitle value=Certification Request Number /td /tr I would like to grab the value Certification Request Number, but I get this error: (...) `assert_exists': unable to locate element, using {:name=reqtitle, :tag_name=input or textarea, :type=(any text type)} (Watir::Exception::UnknownObjectException) I've done my research on the mailing list and couldn't find anything ...Also, I could grab the text in the tdtd tags, but they are inside a table, which is inside a table inside a table and another table and so on, so it's impossible to track. Ideas? Thanks! Fabian -- -- Before posting, please read http://watir.com/support. In short: search before you ask, be nice. watir-...@googlegroups.com http://groups.google.com/group/watir-general watir-genera...@googlegroups.com --- You received this message because you are subscribed to the Google Groups Watir General group. To unsubscribe from this group and stop receiving emails from it, send an email to watir-genera...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out. -- -- 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 --- You received this message because you are subscribed to the Google Groups Watir General group. To unsubscribe from this group and stop receiving emails from it, send an email to watir-general+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
Re: [wtr-general] retrieve hidden text values with watir webdriver
Hi captin! Well, you almost hit the jackpot. What actually worked was: puts browser.hidden(:name = 'ReqTitle').value When I tried your suggestion, I got a blank line. So I replaced 'text' with 'value' and it worked like magic. Thanks!! El jueves, 7 de marzo de 2013 15:18:29 UTC-2, captin escribió: Try: puts browser.hidden(:name = 'reqtitle').text On Thursday, March 7, 2013 10:37:23 AM UTC-6, fabian@gmail.com wrote: Hi Joe, All I'have tried so far is: puts browser.text_field(:name = 'reqtitle').text puts browser.text_field(:name = 'reqtitle').value Fabian El jueves, 7 de marzo de 2013 13:51:37 UTC-2, Joe Fl escribió: Hi, Can you paste your code? Joe On Thu, Mar 7, 2013 at 10:47 AM, fabian@gmail.com wrote: Hey guys! I'm trying to retrieve the text from a textarea, which appears as hidden, although I can dee it on the browser. This is the html tag: tr td Certification Request Number input type=hidden name=reqtitle value=Certification Request Number /td /tr I would like to grab the value Certification Request Number, but I get this error: (...) `assert_exists': unable to locate element, using {:name=reqtitle, :tag_name=input or textarea, :type=(any text type)} (Watir::Exception::UnknownObjectException) I've done my research on the mailing list and couldn't find anything ...Also, I could grab the text in the tdtd tags, but they are inside a table, which is inside a table inside a table and another table and so on, so it's impossible to track. Ideas? Thanks! Fabian -- -- Before posting, please read http://watir.com/support. In short: search before you ask, be nice. watir-...@googlegroups.com http://groups.google.com/group/watir-general watir-genera...@googlegroups.com --- You received this message because you are subscribed to the Google Groups Watir General group. To unsubscribe from this group and stop receiving emails from it, send an email to watir-genera...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out. -- -- 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 --- You received this message because you are subscribed to the Google Groups Watir General group. To unsubscribe from this group and stop receiving emails from it, send an email to watir-general+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
Re: [wtr-general] Re: Watir-webdriver and Ruby 2.0.0 - known compatabilty issues?
On Thursday, March 7, 2013 1:44:17 AM UTC-8, Željko Filipin wrote: On Thu, Mar 7, 2013 at 1:06 AM, Chuck van der Linden cvande...@climate.com javascript: wrote: I am unsure if any of our developers (or the Webdriver folks for that matter) have tried our (their) stuff under Ruby 2.0 yet. Of course they have tried. :) https://travis-ci.org/watir/watir-webdriver Builds 190.10-190.18 are Ruby 2.0, all green and ready to rock. Željko -- Heh, ok great to hear. So I guess that means, at the moment, no known problems with ruby 2.0 -- -- 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 --- You received this message because you are subscribed to the Google Groups Watir General group. To unsubscribe from this group and stop receiving emails from it, send an email to watir-general+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.