[wtr-general] Not able to click on a TD through Watir, though manually it is possible

2009-09-25 Thread Isabel
I have a calendar using which I can set the date in the given text area. For this I need to click on a calendar icon and choose dates(by clicking on them) from the calendar that pops up. When I click on close on the calendar, the selected dates get set in the text area. now the problem is that

[wtr-general] Re: Unable to attach to a page on makemytrip

2009-05-13 Thread Isabel
Hi all, I tried using all the methods mentioned above (static and dynamic wait), but still I am not able to work on it. The Search Result page does not get loaded completely due to which the ie.image(:src,http://www.makemytrip.com/images/search-for- flights.gif).click does not get passed and

[wtr-general] Re: Unable to attach to a page on makemytrip

2009-05-13 Thread Isabel
Hi All, We figured out how to go about it. We just had to replace .click with .click_no_wait Hence my script now is require 'watir' ie=Watir::IE.new ie.goto(www.makemytrip.com) ie.link(:href,http://www.makemytrip.com/international- flights/).click

[wtr-general] Re: Unable to attach to a page on makemytrip

2009-05-08 Thread Isabel
(CHI)) ie.image(:src,http://www.makemytrip.com/images/search-for- flights.gif).click ie.image(:src,http://cheapfaresindia.makemytrip.com/international/img/ us/booknow.gif).click This gets stuck at the second last action. :( On May 8, 10:36 am, Isabel joybe...@gmail.com wrote: Hi all, i am unable

[wtr-general] Unable to attach to a page on makemytrip

2009-05-07 Thread Isabel
Hi all, i am unable to attach on the results page of www.makemytrip.com. Whenever I search for a particular flight and want to sort the results, watir apparently gets hung on the results page... Please let me know why this is so... --~--~-~--~~~---~--~~ You

[wtr-general] Strange issue with ie.attach()

2009-04-30 Thread Isabel
Hi All, Yesterday while working on watir, suddenly ie.attach() stopped working for me. It started working again on restarting the system. Has anyone of you come across something like this? If yes, why is this so? Thanks and Regards. --~--~-~--~~~---~--~~ You

[wtr-general] Re: Strange issue with ie.attach()

2009-04-30 Thread Isabel
, Željko Filipin zeljko.fili...@wa-research.ch wrote: On Thu, Apr 30, 2009 at 08:52, Isabel joybe...@gmail.com wrote: why is this so? It is described in painful detail here: http://twitter.com/zeljkofilipin/status/1651116660 Disclaimer: this is not my opinion, I just quote what other people

[wtr-general] Re: Multiple Attributes

2009-04-23 Thread Isabel
thnx... On Apr 14, 3:07 pm, Татьяна Запольская tzapolsk...@gmail.com wrote: Hi, Isabel! For me Multiple Attributes works. I'm also using watir 1.6.2. I have tried this code when 'Portal application (IBM)' link is already clicked (class = active): ie=Watir::IE.attach(:title, /Help/) temp

[wtr-general] Multiple Attributes

2009-04-14 Thread Isabel
Hi, I tried to click on a link 'Portal application (IBM)' on http://publib.boulder.ibm.com/infocenter/systems/index.jsp?topic=/rzamm/rzammportletsRefIFrame.htm using the script below:- require 'watir' ie=Watir::IE.attach(:title, //) ie.frame(:name , 'HelpFrame').frame(:name ,

[wtr-general] Count Open Browsers

2009-04-09 Thread Isabel
Hi, Could anyone pleae let me know a way to count the number of browsers that are open on my system at run time?? Thanks. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Watir General group. To post to this group,

[wtr-general] Re: Count Open Browsers

2009-04-09 Thread Isabel
how do we use process_count() work?? On Apr 9, 12:11 pm, Isabel joybe...@gmail.com wrote: Hi, Could anyone pleae let me know a way to count the number of browsers that are open on my system at run time?? Thanks. --~--~-~--~~~---~--~~ You received this message

[wtr-general] Frames and Tables

2009-04-01 Thread Isabel
Hi All, I have a frame with a table in it. The only information I have as input is the table, the row id, the column id and an index. Now I have to access the specific cell and then fetch elements within the cell which might be 1 (for eg a link and a button or a link and a text_field etc).

[wtr-general] multiple objects having same properties

2009-03-27 Thread Isabel
Hi all, Is there a way of identifying the objects on a page having the same properties?? For instance:- ie.show_links would give me all the links on the page, but what if I want to know about all the links having say name as lmn??? --~--~-~--~~~---~--~~ You

[wtr-general] Re: Multiple Attributes for Input Elements

2009-03-24 Thread Isabel
Hi Michael, I tried this too require 'watir' ie=Watir::IE.new ie.goto www.google.com ie.text_field(:name = q ,:index = 2).set(xyz) Still I am getting an error. ie.text_field(:name = q ,:index = 1).set(xyz) and ie.text_field(:index = 2).set(xyz) both work fine... On Mar 23, 7:30 am, Michael

[wtr-general] Re: Multiple Attributes for Input Elements

2009-03-24 Thread Isabel
at 09:33, Isabel joybe...@gmail.com wrote: ie.text_field(:name = q ,:index = 2).set(xyz) Still I am getting an error. Because it can not find the second text field with name q. ie.text_field(:name = q ,:index = 1).set(xyz) and ie.text_field(:index = 2).set(xyz) both work fine... I

[wtr-general] Multiple Attributes for Input Elements

2009-03-22 Thread Isabel
Hi, I tried to use the code below to set a value in the text box of the google search page. require 'watir' ie=Watir::IE.new ie.goto http://google.com/; ie.text_field(:index = 2 , :name = q).set(xyz) But I receive an error which is: ruby testmultiAttri.rb

[wtr-general] Re: Access an object

2009-02-17 Thread Isabel
I tried to use the function that you had put up at the link below: http://aspn.activestate.com/ASPN/Mail/Message/ruby-talk/3690066 Made a few changes though: def element *args arg1, arg2 = args # this is needed so hashes would work as input elements = [ :table, :link, :cell, :image,

[wtr-general] To get the physical description of any Object in a Table cell

2009-01-30 Thread Isabel
I wanted to get the physical description of all the objects (regardless of what they are), in a specified Table cell. The html code is as under:- table id=xyz class=cmbBox border=0 style=height:50px;width: 350px; tr tdinput id=0 type=radio name=List$0 tabindex=2 /label for=0abc/label/td /trtr

[wtr-general] To get the physical description of any Object in a Table cell

2009-01-30 Thread Isabel
I wanted to get the physical description of all the objects (regardless of what they are), in a specified Table cell. The html code is as under:- table id=xyz class=cmbBox border=0 style=height:50px;width: 350px; tr tdinput id=0 type=radio name=List$0 tabindex=2 /label for=0abc/label/td /trtr