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

2012-02-17 Thread George Wiley
I don't have a solution to fix the current install but what I have done in the past when I just can't figure out what is going on (like yesterday I could not get watir 1.6.2 to work on a machine) I copied a good Ruby folder from my working machine to the machine that I was fighting with and I am

[wtr-general] Is Watir being used by your developers?

2012-02-07 Thread George
Watir? -George -- 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

[wtr-general] Re: Watirgrid: returning provider host names

2011-11-09 Thread George
Thanks for your patience. I got this working. I first opened a command window and typed 'controller' to start the controller. Then I was able to run this using SciTE: require 'rubygems' require 'watirgrid' grid = Watir::Grid.new(:controller_uri = 'druby:// controller_address:port') grid.start

[wtr-general] Re: Watirgrid: returning provider host names

2011-11-08 Thread George
')    puts browser[index.to_i] [:hostname] # ERROR    browser.closeend On Nov 8, 3:23 am, @90kts tim.ko...@gmail.com wrote: Hi George, Each grid provider has a hostname attribute e.g. grid = Watir::Grid.new(:controller_uri = 'druby://124.180.42.243:11235') grid.start grid.browsers  = [{:name

[wtr-general] Re: Watirgrid: returning provider host names

2011-11-08 Thread George
Actually, I just realized that I'm getting this error using SciTE, but when I use IRB, I can see the hostnames of the providers! Is there a reason for this? On Nov 8, 11:40 am, George george.sand...@gmail.com wrote: Oops, thanks for the catch! Here's what was returned with your code: C

[wtr-general] Watirgrid: returning provider host names

2011-11-07 Thread George
Hello, I hope this was the correct venue for my question. I was wondering if it was possible to collect the host names of all the providers that are being used when I run my Watirgrid scripts. This is for reporting purposes so I can document which machine run a specific test. Thanks! -- Before

[wtr-general] Watirgrid: returning provider host names

2011-11-07 Thread George
Hello, I hope this was the correct venue for my question. I was wondering if it was possible to collect the host names of all the providers that are being used when I run my Watirgrid scripts. This is for reporting purposes so I can document which machine run a specific test. Thanks! -- Before

[wtr-general] Watir script compartmentalization

2011-09-28 Thread George
Hello, I was curious to know how granular folks are making their Watir scripts. As an example, I have an authentication script that contains three parts: 1. Checking the elements of the login page 2. Performing valid logins and validating the output 3. Performing invalid logins and validating the

[wtr-general] Re: Get Watir class methods

2011-09-23 Thread George
This should work (a text-field in this case): puts @browser.text_field(:id, 'foo').methods.sort On Sep 22, 11:51 am, Super Kevy kpe...@scholarshipamerica.org wrote: In ruby I can get methods for things like Integer or String by usiing .instance_methods(false) or .public_methods for example

[wtr-general] Re: Can't access HTML in modal dialog using Ruby 1.9.2 and Watir 2.0.2

2011-09-21 Thread George Wiley
Hugh, Thanks that explains a lot. I can continue testing in 1.9.2. with that in mind. I will try my code in 1.8.7 to see how it goes. Joe, You have to attach to the modal if you have not done that already. Also watch out for frames. If there are frames involved you will have to connect to the

[wtr-general] Can't access HTML in modal dialog using Ruby 1.9.2 and Watir 2.0.2

2011-09-16 Thread George Wiley
The code below works fine with Win7, IE8, Ruby 1.8.6 and Watir 1.6.2 for accessing an 'Internet Explorer_TridentDlgFrame' modal dialog. This code gives the error below when I upgrade to Ruby 1.9.2 and Watir 2.0.2. It does not appear to be a timing issue because I have tried sleeps and

[wtr-general] Re: Ruby 1.9.2 and Watir 2.01 indexing compatibility

2011-09-06 Thread George Wiley
the switch is set instead of: ie.table(:id, 'Menu').rows[1].click() # it would be nice if this worked but it does not On Sep 6, 2:25 pm, Jarmo Pertman jarm...@gmail.com wrote: Does Watir::Browser.new work instead of Watir::IE.new? Jarmo On Sep 2, 6:45 pm, George Wiley george.wi...@gmail.com wrote

[wtr-general] Re: Ruby 1.9.2 and Watir 2.01 indexing compatibility

2011-09-04 Thread George Wiley
, 6:00 pm, George Wiley george.wi...@gmail.com wrote: I ran across an issue with Ruby 1.9.2, Watir 2.01 and compatibility with older versions without zero based indexing. I'm running on Win7, IE8. I have a page with 5 radio buttons with the below option set in my code. Watir.options

[wtr-general] Re: way to check whether new page has been loaded..

2011-08-30 Thread George
This thread may answer your question: http://bit.ly/nW5Acu On Aug 29, 6:52 pm, byung jinuacad...@gmail.com wrote: is there a way to check whether a new page has been loaded in WATIR?? could anyone tell me a way to check new page load in WATIR?? thanks. -- Before posting, please read

[wtr-general] Ruby 1.9.2 and Watir 2.01 indexing compatibility

2011-08-26 Thread George Wiley
I ran across an issue with Ruby 1.9.2, Watir 2.01 and compatibility with older versions without zero based indexing. I'm running on Win7, IE8. I have a page with 5 radio buttons with the below option set in my code. Watir.options[:zero_based_indexing] = false Here is my code:

[wtr-general] Re: chrome is crashing when i try to read dropdown list element

2011-07-26 Thread George
Hi Christina, Try this out: puts $browser.select(:xpath, // select[@id='mailbox_type']).getSelectedItems[0] On Jul 25, 2:31 pm, Cristina Dumitrescu cristina.watir.toro...@gmail.com wrote: Hi. I have tests suites that are running great on firefox using watir-webdriver Now I try to run the

[wtr-general] 2011 Google Test Automation Conference

2011-07-21 Thread George
Hi there, I was just wondering if anyone from the Watir community will be attending this conference in Mountain View, CA: http://www.gtac.biz/ -- Before posting, please read http://watir.com/support. In short: search before you ask, be nice. watir-general@googlegroups.com

[wtr-general] Re: type-ahead select lists

2011-05-23 Thread George
Hi Lisa, I think I found an example you're using here: http://www.upscale.utoronto.ca/test/dojo/tests/widget/test_Select.html I'm looking at Select #2 (dataUrl, autocomplete=true). The only way I could get it to work is by using send_keys: b = Watir::IE.attach(:title, /Dojo/) test_field =

[wtr-general] Re: No able to click hyperlink showing in the tablecell

2011-05-16 Thread George
Have you tried using flash to identify the larger containers? On May 16, 7:28 am, sandy sandix...@gmail.com wrote: Thanks for replying but these option is also not working. Please let me know if there is an another solution of this problem. On May 13, 7:55 pm, Željko Filipin

[wtr-general] Re: Watir with Telerik Rad Grid

2011-05-09 Thread George
Hello Ranjith, I got this to work with the combobox: b = Watir::IE.attach(:title, /ComboBox/) b.link(:id, RadComboBox1_Arrow).click b.div(:id, RadComboBox1_DropDown).div(:class, rcbScroll rcbWidth).ul(:index, 1).li(:index, 6).click #selects Ann Devon On May 9, 6:04 am, ranjith kumar

[wtr-general] Re: Watir at Facebook

2011-02-22 Thread George
Nice, thanks for doing this! On Feb 22, 7:02 am, Željko Filipin zeljko.fili...@wa-research.ch wrote: I have created Watir Facebook page: https://www.facebook.com/pages/Watir/155249291152060 Feel free to like it. :) I did not find a way how to create simple URL

[wtr-general] Re: Finding an element that is rendered as a link but was an asp button

2011-01-14 Thread George
Hi there, Does the link ID (ctl00_cph_statusRepeater_ctl26_deleteLinkButton) display when you run the following: b = Watir::Browser.attach(:title, /LeadManager/) b.links.each do |link| puts link.id if link.id != '' end On Jan 14, 3:22 pm, micako mic...@gmail.com wrote:

[wtr-general] Re: Select from select list

2010-12-20 Thread George
Hey there, I was able to select the item without clicking the button: browser.text_field(:id, 'ctl00_SampleContent_ComboBox1_TextBox').set Whiskey Hope this helps! -George On Dec 20, 12:50 pm, Igor Tiutiunnykov igorr...@gmail.com wrote: Thank you very much for the reply, tried in his play

[wtr-general] Re: Test Framework

2010-12-09 Thread George
help and I'll see what I can do. Cheers, Charley On Wed, Dec 8, 2010 at 5:26 PM, George george.sand...@gmail.com wrote: +1 It would be helpful to have a little more documentation on how to implement this framework... On Dec 8, 2:56 pm, Yush bismitha...@gmail.com wrote: Hi

[wtr-general] Re: Test Framework

2010-12-08 Thread George
+1 It would be helpful to have a little more documentation on how to implement this framework... On Dec 8, 2:56 pm, Yush bismitha...@gmail.com wrote: Hi Charley, I would like to know more about Taza framework. I installed the gem and had a little play around with it. Watched the 8 min

[wtr-general] Re: Call to Arms :)

2010-11-15 Thread George
to already-established frameworks. -George On Nov 15, 1:34 pm, Charley Baker charley.ba...@gmail.com wrote: This might help some of you and definitely worth checking out :http://www.cheezyworld.com/ He has a couple of pages now on cucumber and browser testing, developing a page based framework

[wtr-general] Re: Call to Arms :)

2010-11-15 Thread George
One question about Taza: Would this framework be effective for testing the same functionality across multiple pages? IOW, if there is a search feature that needs to be tested, but can be found on multiple pages, would Taza work for my needs? Thanks, George On Nov 15, 5:59 pm, George

[wtr-general] Re: Using HTML report V2 - Reports displayed twice in HTML format

2010-11-11 Thread George
I've been using this, and, like Chuck, cannot help due to the fact that you're not provided a lot of info. You shouldn't have to remove the rescue clause, so I would check to make sure that you've copied the code completely before running it. On Nov 11, 7:56 am, Chuck van der Linden

[wtr-general] Re: How to click on ENTER keystroke using rb-appscript in Watir-WebDriver

2010-10-07 Thread George
Hello, I'm not sure if this is part of AutoIt, but have you tried send_keys? @browser.send_keys('{ENTER}') On Oct 7, 1:52 am, Ozzi usmanhhuss...@gmail.com wrote: Hi Guys, I have a problem... I need to hit the ENTER button on the keyboard on my tests. I was using AutoIT when I was

[wtr-general] Re: Object Repository gem

2010-10-05 Thread George
the :id attributes I rely on are being updated from time to time. -George On Oct 4, 12:02 pm, Ivan Kabluchkov ikabluch...@gmail.com wrote: It is useful if your application has many fields and always changing. And test file become clearer. For examples: Instead of browser.div(:id, content).table

[wtr-general] Re: Watir handling of ul and ol tags

2010-09-28 Thread George
TAG = 'OL' end class UL NonControlElement TAG = 'UL' end You *should* be able to read any text within those tags, although I haven't tested this. This worked for me when reading the th tags. Good luck! -George On Sep 28, 7:09 am, Mark Winteringham winteringham.m...@gmail.com wrote: Hi

[wtr-general] Re: Date Functions

2010-09-16 Thread George
Chronic might be something to look into: http://rubygems.org/gems/chronic On Sep 16, 3:00 am, sivam sivamma...@gmail.com wrote: Do we have any date function to convert string to date format like mm/ dd/yy Actually my string is September 13, 2010 5:54:32 PM. I need to compare this string

[wtr-general] Re: More than one condition

2010-08-25 Thread George
What is the HTML of the link outside of the table that you want to click? -- Before posting, please read http://watir.com/support. In short: search before you ask, be nice. You received this message because you are subscribed to http://groups.google.com/group/watir-general To post:

[wtr-general] Re: link with url title empty.

2010-08-10 Thread George
Have you tried this: $ie.link(:title = ,:href = /reqView.do.*?navigationTrail/).click On Aug 10, 2:38 pm, Shlomit Gazit shlomitpatr...@gmail.com wrote: How should I click on that link that has this url and doesn't have the title then, should I do: req_link.click ?? On Aug 10, 12:50 

[wtr-general] Re: cant get an element

2010-07-20 Thread George
It looks like it's wrapped in a p tag, which should be accessible via Watir: puts @browser.p(:class, wpFieldValue).text This has worked for me in the past. -George On Jul 15, 2:18 am, ryanthescot ryanthes...@hotmail.com wrote: span class=wpFieldViewContent id

[wtr-general] Re: Issue retrieving URL for a HTML file loaded from local file system

2010-07-10 Thread George
According to the message, you didn't define LocationURL anywhere. I *do* see sLocalURL On Jul 10, 4:18 pm, joedio joe...@comcast.net wrote: # # Watir fails to get url for a file on the local file system, but not for same file on server # even though both files are the same, only

[wtr-general] Re: Launching Report At End of Test

2010-07-06 Thread George
Thanks Adam. Kind of weird...I was the one that updated the original code and added it to the wiki, but now it's being credited by someone else. On Jul 6, 9:09 am, Adam Reed reed.a...@gmail.com wrote: Joe, Since the report is a basic .html file, you can open/view/launch it just like any

[wtr-general] How to sell Watir services to non-techie customers

2010-07-06 Thread George
? 3. Would I need to require them to install Ruby/Watir/other gems to run the scripts or should I try to encapsulate it into an .exe file? 4. Any other advice/insight? Thanks, George -- Before posting, please read http://watir.com/support. In short: search before you ask, be nice. You received

[wtr-general] Re: The interface is unknown

2010-06-24 Thread George
It looks like you close your browser at the end of the loop, then you attempt to go to a URL. Perhaps replacing line 2 with this will do the trick: ie.start(http://yourwebsitehere;) HTH, George On Jun 24, 2:46 pm, Adam xyza...@gmail.com wrote: My code grabs data from a spreadsheet

[wtr-general] Re: The interface is unknown

2010-06-24 Thread George
to instantiate the object within the loop maybe... so I tried this and it worked: http://pastie.org/1017983 On Jun 24, 3:10 pm, George george.sand...@gmail.com wrote: It looks like you close your browser at the end of the loop, then you attempt to go to a URL. Perhaps replacing line 2

[wtr-general] Re: How to insert a blank value from spreadsheet into a textbox on webpage.

2010-06-15 Thread George
I've been using the Excel interface class, and am able to insert blanks into a text field if a cell is blank: http://wiki.openqa.org/display/WTR/Excel+interface+class On Jun 13, 11:34 pm, Chandu80 chandu.she...@gmail.com wrote: Hi All, I have written a script which requires me to insert a

[wtr-general] Re: Creating a Rubygem to use in conjunction with Watir

2010-06-14 Thread George
Wow, thanks Charley! I followed the railscast and was shocked by how simple this can be. I've been scouring online for documentation that is straightforward. On Jun 11, 9:23 am, Charley Baker charley.ba...@gmail.com wrote: Hi George,   You definitely can, I created a separate gem

[wtr-general] Creating a Rubygem to use in conjunction with Watir

2010-06-11 Thread George
, thanks! -George -- Before posting, please read http://watir.com/support. In short: search before you ask, be nice. You received this message because you are subscribed to http://groups.google.com/group/watir-general To post: watir-general@googlegroups.com To unsubscribe: watir-general+unsubscr

[wtr-general] Re: Filling Textarea - Rapidweaver

2010-05-26 Thread George
It seems to work for me (I'm using IE8). require 'watir' browser = Watir::IE.attach(:title, 'Kontakt') browser.text_field(:name, form[element3]).set This example demonstrates the power of Watir and Ruby! On May 26, 9:08 am, rsb r...@antispam.de wrote: Hi, for a little tutorial I created a

[wtr-general] Re: Not able to click Enter using SENDKEY

2010-05-24 Thread George
Do you have AutoIt installed? On May 24, 4:41 am, meaculpa harismah...@gmail.com wrote: Hi All, I had a search field and I have to do a blank search. My code is : require'rubygems' require 'watir' require 'win32ole' $m_link = 'ww1.*.com' $browser = Watir::IE.start($m_link)

[wtr-general] Re: Return titles/urls of all open browser instances

2010-05-20 Thread George
Wow, that was easy. Thanks a lot! :) On May 19, 5:08 pm, Ethan notet...@gmail.com wrote: Watir::IE.each do |b|   puts b.title end On Wed, May 19, 2010 at 19:45, George george.sand...@gmail.com wrote: I've been searching for an answer, but no luck. When I click on a link, a new

[wtr-general] Re: Watir gem installation on Windows 7

2010-05-19 Thread George
*what* and *how* isn't exactly working? Jarmo On May 19, 7:37 am, Betsy joybe...@gmail.com wrote: Hi George, That is encouraging... At least it works for you. :) Can you please let me know the procedure you followed to set up Watir? I mean apart from the regular gem install watir

[wtr-general] Return titles/urls of all open browser instances

2010-05-19 Thread George
I've been searching for an answer, but no luck. When I click on a link, a new browser window is supposed to open. My job is to click the link again and make sure there that a duplicate window doesn't display. Using Watir::IE.process_count doesn't help due to the fact that IE8 displays more than

[wtr-general] Re: Watir gem installation on Windows 7

2010-05-18 Thread George
I've been using Watir on Windows 7. The only problem I've been having is that, at times, the script will stick, meaning I need to click on something or refresh the page before the script continues to run. It's pretty annoying. On May 18, 5:31 am, Betsy joybe...@gmail.com wrote: hi all, any

[wtr-general] Re: Verify tab order (tab index) on an HTML page

2010-05-18 Thread George
. Sorry but I don't know of a means to tell which object has focus, Watir's Watir::Element class lack an in_focus? method. It has focus method to set the focus but not a method to verify if it is in focus. Perhaps someone else can assist with that. On May 14, 7:06 pm, George george.sand...@gmail.com

[wtr-general] Re: Extracting from a google search

2010-05-17 Thread George
Hello, If I understand correctly, you're looking for the search term to be in the result link's URL, correct? If so, you can use this: browser = Watir::IE.start('http://www.google.com') browser.text_field(:name, 'q').set 'watir' browser.button(:name, 'btnG').click browser.links.each do |link|

[wtr-general] Verify tab order (tab index) on an HTML page

2010-05-14 Thread George
I'm trying to verify the tab order on a login page by accessing the tabindex attribute. Unfortunately, the tabindex isn't specified in the HTML code and performing the following code isn't helping me. Does anybody have any ideas? ~~ @browser = Watir::IE.attach(:title, /Login/)

[wtr-general] Re: Saving Javascript Files

2010-05-07 Thread George
Hi Brendan, Sharing is caring...can we see what you put together? Who knows, I may need something like this in the future. Thanks, George On May 7, 10:31 am, Brendan Grainger brendan.grain...@gmail.com wrote: Hi Ethan, Thanks for the response on this. I ended up writing a simple proxy

[wtr-general] Re: Watir xpath navigation problem

2010-05-06 Thread George
Hi there, I'm not sure how many text fields are on the page, but have you considered using the :index attribute? @ie.text_field(:index, 5).set something On May 6, 12:07 pm, Felipe Pedrini felipedr...@gmail.com wrote: Hello, FK, Yes, it was I thought, a bug, but I came ask here just to

[wtr-general] Re: Fwd: [selenium-developers] Proposal for a Selenium StackExchange site

2010-05-03 Thread George
I am interested in helping, although I'm still a little unclear about what I need to do. On May 3, 8:10 am, Željko Filipin zeljko.fili...@wa-research.ch wrote: On Mon, May 3, 2010 at 5:04 PM, Kunal kunal...@gmail.com wrote: I am game for it as well. Let me know what's next ? You can check

[wtr-general] Re: XML reading help needed

2010-04-29 Thread George
Hi ChuckD, I got this working with REXML: xml_test.rb = def get_node_value(tag, path) require 'rexml/document' include REXML Dir.chdir(path) file = 'test_file.xml' # file you're working with begin doc = Document.new(File.new(file)) doc.each_element('//' + tag) { |node|

[wtr-general] Re: handling Javascript/CSS menus in watir

2010-04-29 Thread George
This worked for me: # using an open browser pointed to # http://www.cognizant.com/html/home.asp browser = Watir::IE.attach(:title, /Cognizant/) browser.link(:id, 'industries').fire_event('onmouseover') # displays menu browser.link(:title, 'Banking Financial Services').click On Apr 29, 5:10 

[wtr-general] Re: How to check if toggle link is open or closed

2010-04-26 Thread George
::IE.attach(:title, /Menu/) puts browser.link(:text, /Featured./).visible? # true if the menu is expanded, false if hidden -George On Apr 26, 11:33 am, KimBrown kimbro...@yahoo.com wrote: I have a javascript link that toggles a section of additional options open and closed. I can click

[wtr-general] Re: Running my Watir Scripts in batch file??

2010-04-20 Thread George
One option is to put your script file names in one script file like this: (in batch_run.rb): == load 'watir_script1' load 'watir_script2' load 'watir_script3' etc. This way, your other scripts will continue to run if one of them terminates unexpectedly. On Apr 20, 6:10 am,

[wtr-general] Re: how to compare time 10.30 PM with string 10:30 PM

2010-04-10 Thread George
Hello, I think this should work for you, although I don't think this is specific to Watir: require 'time' a = Time.now.strftime(%I:%M %p) puts a # returns '5:27 PM' x = Time.parse(10:30 PM).strftime(%I:%M %p) puts x # returns '10:30 PM' puts a x # returns 'true' On Apr 10, 10:47 am, Rajiv

[wtr-general] Re: Experience with testing Apples Web Objects

2010-04-07 Thread George
Is there a website I can take a look at which employs WebObjects? On Apr 7, 3:20 pm, dt_nz david.tay...@sungard.com wrote: Does anyone know of any forums, docs etc on testing Apples web objects in a browser using ruby and WATIR? (http://www.apple.com/ca/ webobjects/) -- Before posting,

[wtr-general] Re: Another possible solution for popup window handling

2010-03-23 Thread George
Hi, sorry for the late response. I'm not sure why it's doing that. The process should end at the end of your script. If the script crashes while you're running it, there may have been a process still running in the background. Sorry I can't be of better assistance. -George On Mar 16, 5:27 pm

[wtr-general] Re: Dealing with the  character

2010-03-10 Thread George
I'm using IE. I tried using gsub!(/Â/, ), but I couldn't remove the remaining spaces. It took a long time, but I think I figured it out using this: x = 3       Jubitz Travel Center               Portland,OR b = x.gsub(x[/(\d+)(\b[^0-9A-Za-z]{1,}\b)/], '') # gets rid of the

[wtr-general] Re: Dealing with the  character

2010-03-10 Thread George
, and select Encoding.  Is Unicode (UTF-8) selected? On Mar 10, 8:26 am, George george.sand...@gmail.com wrote: I'm using IE. I tried using gsub!(/Â/, ), but I couldn't remove the remaining spaces. It took a long time, but I think I figured it out using this: x = 3Â Â Â Â Â Â Â Jubitz

[wtr-general] Dealing with the  character

2010-03-09 Thread George
in Watir that will get rid of the  character? Is this related to UTF-8? Ultimately, I'm trying to isolate Jubitz Travel Center from the text string. If someone can help, I would be most grateful! Thanks, George -- You received this message because you are subscribed to the Google Groups Watir

[wtr-general] Re: Another possible solution for popup window handling

2010-03-04 Thread George
Hi Željko, Sorry about that! I added this solution to the wiki. It would be nice to know if it works well for others. I couldn't seem to get any of the other suggestions to work for me. -George On Mar 4, 1:14 am, Željko Filipin zeljko.fili...@wa-research.ch wrote: On Thu, Mar 4, 2010 at 1:16

[wtr-general] Another possible solution for popup window handling

2010-03-03 Thread George
, this will continue to check for any popups and click OK. You can always change the options to No, Cancel, etc. If you want to kill the process earlier, remove the last line and just type: Process.kill(9,@pid). HTH, George -- You received this message because you are subscribed to the Google

[wtr-general] Another possible solution for popup window handling

2010-03-03 Thread George
, this will continue to check for any popups and click OK. You can always change the options to No, Cancel, etc. If you want to kill the process earlier, remove the last line and just type: Process.kill(9,@pid). HTH, George -- You received this message because you are subscribed to the Google Groups Watir General

[wtr-general] Another possible solution for popup window handling

2010-03-03 Thread George
, this will continue to check for any popups and click OK. You can always change the options to No, Cancel, etc. If you want to kill the process earlier, remove the last line and just type: Process.kill(9,@pid). HTH, George -- You received this message because you are subscribed to the Google Groups Watir

[wtr-general] Re: Fwd: Regarding Getting Page Text in Watir and FireWatir

2009-12-29 Thread George
Hello, What does your code look like? On Dec 27, 8:15 pm, Pallavi Sharma write2pall...@gmail.com wrote: Hi Has anyone here answer for this please. Regards Pallavi. -- Forwarded message -- From: Pallavi Sharma write2pall...@gmail.com Date: Tue, Dec 22, 2009 at 10:23

[wtr-general] Re: Firefox JJSH for 64-bit Windows 7?

2009-12-22 Thread George
Hi Angrez, It looks like I need Visual Studio to make the build. Can I use Visual Studio Express? -George On Dec 21, 12:03 am, Angrez Singh ang...@gmail.com wrote: You can also see this link:http://wiki.openqa.org/display/WTR/FireWatir+Installation there is a section for compiling JSSh

[wtr-general] Firefox JJSH for 64-bit Windows 7?

2009-12-19 Thread George
Hello there, I noticed that a JIRA ticket was opened for Linux missing a 64-bit JSSH extension (http://jira.openqa.org/browse/WTR-383), but will there also be one available for Windows? Thanks, George -- You received this message because you are subscribed to the Google Groups Watir General

[wtr-general] Re: Accessing a overlay popup

2009-11-23 Thread George
Have you tried to use the IE Developer Toolbar to figure out what the element IDs are? Keep the overlay window open and click around to determine how to access what you need. On Nov 23, 9:00 am, Ethan notet...@gmail.com wrote: It would appear that watir can't find a window with a title that

[wtr-general] Re: Help with tables

2009-11-23 Thread George
I'm assuming that the text 'Something' is actually in a row's cell, and you're looking for the following cell text, correct? If 'Something' is only going to be listed once in the entire table, then this should work for you: puts @browser.table(:id, 'tableID').cell(:after?, @browser.cell(:text,

[wtr-general] Re: Help with tables

2009-11-23 Thread George
I'm assuming that the text 'Something' is actually in a row's cell, and you're looking for the following cell text, correct? If 'Something' is only going to be listed once in the entire table, then this should work for you: puts @browser.table(:id, 'tableID').cell(:after?, @browser.cell(:text,

[wtr-general] Re: WatirRecorder

2009-11-19 Thread George
Not to hijack the thread, but why use WatirRecorder? Isn't it just as easy to write the code? On Nov 19, 3:05 pm, Tiffany Fodor tcfo...@comcast.net wrote: Haven't you asked about this before? This group doesn't support WatirRecorder.  I'm not sure why it's not available to download on

[wtr-general] Revised HTML report class added to Wiki

2009-11-03 Thread George
tested Any input (good or bad) is more than welcome, especially any advice to improve it! Thanks, George --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Watir General group. To post to this group, send email to watir

[wtr-general] Re: Table row

2009-11-03 Thread George
If you wanted to fill out all the text fields in the 3rd table listed, you would do something like this: @browser.table(:index, 3).rows.each |row| row.text_field(:index, 1).set 'whatever' end Otherwise, more information will be helpful. On Nov 3, 8:40 am, Abhay abhaybas...@gmail.com wrote:

[wtr-general] Re: Revised HTML report class added to Wiki

2009-11-03 Thread George
I forgot...I also included an attachment in the Wiki that has everything you need to test it out. On Nov 3, 3:13 pm, George george.sand...@gmail.com wrote: Well, this is my first attempt at trying to contribute to the Watir community. I took the original HTML class listed in the examples

[wtr-general] Re: how to recognized DIV object

2009-10-27 Thread George
If it's the text field within the div, I believe you can also use the after? method: $ie.text_field(:after? $ie.div(:text, 'name1')).set('abc') On Oct 27, 3:44 am, Pallavi Sharma write2pall...@gmail.com wrote: Div doesn't have set function What i was saying that the Div contains maybe a

[wtr-general] Testing with Windows 7

2009-10-22 Thread George
Hello, I'm not sure if this has been posted before...with the advent of Windows 7, has anyone tried using their Watir scripts against this OS? Our company is gearing up to do this and just wanted to be ready for whatever comes up. Thanks, George

[wtr-general] Re: Cannot get truncated text of a cell in a table

2009-10-20 Thread George
Hi there, I think this might work for you: puts @@leftNav.rstrip! This should remove the \r\n tags. -George On Oct 20, 9:18 am, Shlomit Gazit shlomitpatr...@gmail.com wrote: watir code: (see above also):  $ie.link(:text, #{@@leftNav[i]}).click html of the table: table class

[wtr-general] Iterating through an unordered list

2009-10-08 Thread George
Hello everyone, Is it possible to iterate each line item (li) text in an unordered list (ul)? Thanks, George --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Watir General group. To post to this group, send email

[wtr-general] Re: Iterating through an unordered list

2009-10-08 Thread George
: something like this(?):  browser.lis.each do |x|    puts x.text end Hope that helps. On Oct 8, 2:09 pm, George george.sand...@gmail.com wrote: Hello everyone, Is it possible to iterate each line item (li) text in an unordered list (ul)? Thanks, George

[wtr-general] Re: How can I get the attribute in the attached?

2009-08-28 Thread George
...@gmail.com wrote: Dear George, The privious trouble has alreadly been clear, I use the Select Element by Click functon to get the attribute. But then a follow problem come in... In my test page, the drop down list are all div which were created by JS. I used click() method to click

[wtr-general] Re: How can I get the attribute in the attached?

2009-08-28 Thread George
Sorry, I meant the 'Application Set' link... On Aug 28, 2:15 pm, George george.sand...@gmail.com wrote: As far as right-clicking an element, this is all I have as a reference: http://wiki.openqa.org/display/WTR/Right+Click+an+Element It would still be nice to see the HTML of what you're

[wtr-general] Re: How can I get the attribute in the attached?

2009-08-27 Thread George
What sort of information is the developer toolbar giving you? Have you tried using the :index attribute? On Aug 26, 8:38 pm, Eason nbkhic...@gmail.com wrote: Dear All, Please view the image in the attached. I want to get the arrtibute of the item Quality Management. The drop-down list

[wtr-general] Re: execute_script in 1.6.2 ?

2009-08-21 Thread George
Here Robert, try this: require 'watir' b = Watir::IE.new execute_script(b.document.parentWindow.execScript(alert('hello');)) On Aug 20, 11:29 pm, robert rob99br...@gmail.com wrote: Thanks George, Yes that works but I'm puzzled by the difference between the code and the generated

[wtr-general] Re: while ie.contains_text(Next) loop problem

2009-08-21 Thread George
Another thought is that the word 'next' could be hidden in the html, although I'm not sure if Watir searches for hidden text. On Aug 21, 10:12 am, Chuck van der Linden sqa...@gmail.com wrote: Seems to me that the letters 'next'  might be rather common to find on a lot of pages, and are you

[wtr-general] Re: execute_script in 1.6.2 ?

2009-08-20 Thread George
Hi Robert, I couldn't get that to work either, but this worked for me: require 'watir' b = Watir::IE.new b.document.parentWindow.execScript(alert('hello');) I'm not sure if that's an acceptable approach to your problem, but it is one solution. -George On Aug 19, 8:40 pm, robert rob99br

[wtr-general] Re: Testing Email

2009-08-07 Thread George
Hey Bret, it's been a long time! I found a couple of different approaches to this. I'm leaning towards Tmail (http://tmail.rubyforge.org/), but I haven't spent too much time on this. It appears that you can send and read emails. I also noticed that I can also use 'net/smtp' to send emails.

[wtr-general] Re: Verify does not work while checking the links.

2009-08-06 Thread George
just fine. If you're interested in a cool free online Ruby course, I would suggest: http://rubylearning.org/ I'm currently taking this course, and it has helped me tremendously! Hope this helps... -George On Aug 5, 2:51 am, Yuvraj yuvrajjagad...@gmail.com wrote: Hi, I have installed

[wtr-general] Re: handling popups

2009-08-06 Thread George
This is a good one too! http://wiki.openqa.org/display/WTR/JavaScript+Pop+Ups On Aug 5, 11:49 pm, Angrez Singh ang...@gmail.com wrote: one more thing: $ie.text_field(:name,text1).set(This is the text in the popup) $ie.button(:name,submit).click check_for_popups(Microsoft Internet

[wtr-general] Detecting whether or not text in a text field is highlighted

2009-08-03 Thread George
Hello all, On a web app I'm testing, I'm supposed to check that text in a particular text field is highlighted. Is there an attribute that can help me with this? Thanks, George --~--~-~--~~~---~--~~ You received this message because you are subscribed

[wtr-general] Re: Firewatir XPIs for Firefox 3.5.x

2009-07-31 Thread George
Thanks, Angrez...this really helped! :) On Jul 31, 12:47 am, Angrez Singh ang...@gmail.com wrote: Hi, The XPIs for Firefox 3.5.x versions are there on WIKI. You can download them from: http://wiki.openqa.org/display/WTR/FireWatir+Installation Let us know if you face any problems while

[wtr-general] Re: Help with class,method,objects

2009-07-30 Thread George
Are you using the Excel interface class from Watir's site? http://wiki.openqa.org/display/WTR/Excel+interface+class On Jul 29, 9:57 pm, Rohan Ojha rohan.o...@bsil.com wrote: Hi All, I am not too sure whether I should post it here or in a Ruby forum. But there is a problem that I am facing

[wtr-general] Differences in behavior between IE and FF3/3.5

2009-07-24 Thread George
Help! I have a real-life example of some very strange behavior. This works just fine in IE but it is NOT working with FF for some reason: require 'watir' Watir::Browser.default = 'ie' browser = Watir::Browser.new browser.goto http://www.truckersedge.net; browser.image(:alt, Members Login

[wtr-general] Re: Differences in behavior between IE and FF3/3.5

2009-07-24 Thread George
Sorry, please update the script to: Watir::Browser.default = 'firefox' On Jul 24, 4:13 pm, George george.sand...@gmail.com wrote: Help! I have a real-life example of some very strange behavior.  This works just fine in IE but it is NOT working with FF for some reason: require 'watir

[wtr-general] Re: Object repository

2009-07-16 Thread George
' On 14 июл, 01:23, George george.sand...@gmail.com wrote: Hello, thanks for this!  I'm looking at the README file and it says: For correct work install 'libxml-ruby' gem and put 'repository.dtd' near 'object_repository.rb' Does this mean I need to copy the .dtd and .rb file

[wtr-general] Re: Object repository

2009-07-13 Thread George
, George On Jul 13, 3:39 am, Ivan Kabluchkov ikabluch...@gmail.com wrote: Hello all. I've created an object repository for Watir. May be it will be useful for someone. Documentation and examples are in README file  rep.zip 2KViewDownload

  1   2   >