Hello everyone,
I am trying to do 'For' loop for the table but i am having a hard time as it
involves iteration.
*Scenario description:*
I have a table where there are 'n' number of rows but fixed number(5) of
columns as shown below. I need to select the dropdown in column 5 if the
text
I need to get the href value of links on a page that match a regex.
So, I run this code:
product_links = browser.links.find_all { | link | link.class_name =~
/(Product|Detail)/i }
I get back an array of matching links. This is great.
However, the contents of the array include more than just
Figured out the answer myself. After the fact it's obvious:
product_links[0].href
--
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
Chaand,
Can you use the Internet Explorer developer toolbar, or some other tool that
can spy on the window, to get the id or name for the text field? When I'm
working with a modal window (using Ruby 1.8.7), I'm able to do the
following:
@browser = Watir::IE.new
@browser.modal_dialog(:title,
Hi steve, don't want to disrupt you but can you help me out with this?
I am trying to do 'For' loop for the table but i am having a hard time as it
involves iteration.
Scenario description:
I have a table where there are 'n' number of rows but fixed number(5) of
columns as shown below. I need
Hello Team,
I have gone through one of the watir forums i found the code with auto it to
click the pop ups.
The code is working well with firefox browser but not with IE.
Is there anything need to be changed in the below code to work with IE for
pop up.
*require 'win32ole' # already included