[wtr-general] Re: Test Results output capturing

2009-01-16 Thread Jagdeep Jain
Thanks A lot JArkelen, This is exciting :-) I have started using this Class ;-) On Jan 15, 8:03 pm, JArkelen johnvanarke...@gmail.com wrote: http://wiki.openqa.org/display/WTR/HTML+report+class On Jan 15, 7:53 am, Jagdeep Jain jagdeep.j...@gmail.com wrote: I got it through Rspec: spec

[wtr-general] Re: Code hangs after a div click

2009-01-16 Thread zeng0...@gmail.com
click_no_wait won't work. Actually when clicking on the div, there will be new operation(delete, open) links appear. If I used click_no_wait, the new links won't appear. Thanks! On Jan 15, 8:32 pm, wesley chen cjq@gmail.com wrote: What's the detail information about your div? When the div

[wtr-general] Re: Code hangs after a div click

2009-01-16 Thread zeng0...@gmail.com
I used click! method on the div element and it works. But I am not clear about the difference between click and click!. Does anyone have some idea? Thanks! On Jan 15, 8:32 pm, wesley chen cjq@gmail.com wrote: What's the detail information about your div? When the div is clicked, what

[wtr-general] Re: Drag and Drop with widgets

2009-01-16 Thread Darin Duphorn
JQuery -Original Message- From: watir-general@googlegroups.com [mailto:watir-gene...@googlegroups.com] On Behalf Of Paul Rogers Sent: Thursday, January 15, 2009 4:38 PM To: watir-general@googlegroups.com Subject: [wtr-general] Re: Drag and Drop with widgets Ive been working on getting

[wtr-general] Need to automate pressing of Enter key

2009-01-16 Thread Natasha
Hello All, I need to automate pressing the Enter key from the keyboard. Is there any key press function that Watir supports? Please could you provide the details. Thanks in advance, Natasha --~--~-~--~~~---~--~~ You received this message because you are

[wtr-general] Re: Need to automate pressing of Enter key

2009-01-16 Thread Darin Duphorn
#Keyboard Click $ie.send_keys({enter]) -Original Message- From: watir-general@googlegroups.com [mailto:watir-gene...@googlegroups.com] On Behalf Of Natasha Sent: Friday, January 16, 2009 8:45 AM To: Watir General Subject: [wtr-general] Need to automate pressing of Enter key Hello

[wtr-general] Re: Need to automate pressing of Enter key

2009-01-16 Thread Natasha
Thanks Darin. Just to sum up, the following statement worked: $ie.send_keys({ENTER}) Thanks, Natasha On Jan 16, 2:46 pm, Darin Duphorn dduph...@redbrickhealth.com wrote:   #Keyboard Click   $ie.send_keys({enter]) -Original Message- From: watir-general@googlegroups.com

[wtr-general] Re: Need to automate pressing of Enter key

2009-01-16 Thread Louie
How would you send an enter key if the window that is open is not a ie window? On Jan 16, 10:11 am, Natasha itsn...@yahoo.co.uk wrote: Thanks Darin. Just to sum up, the following statement worked:  $ie.send_keys({ENTER}) Thanks, Natasha On Jan 16, 2:46 pm, Darin Duphorn

[wtr-general] ruby.exe hangs

2009-01-16 Thread vinay.khandelw...@gmail.com
ruby .exe hangs under watir execution --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Watir General group. To post to this group, send email to watir-general@googlegroups.com Before posting, please read the

[wtr-general] Re: Need to automate pressing of Enter key

2009-01-16 Thread Darin Duphorn
You would just replace the $ie. With whatever you called your browser property. The $ie in my test case is referring to the following #Set ie to current browser $ie = Watir::IE.attach(url,www.somthing.com) -Original Message- From: watir-general@googlegroups.com

[wtr-general] Re: Need to automate pressing of Enter key

2009-01-16 Thread Louie
Well that is another problem Because the script I have a JavaAlert window is appearing and I dont know how to attach to it since it is not an IE window. I can just hit enter on the keyboard and the window goes away but I can not get my script to identify the window. so another questions how to

[wtr-general] Re: Need to automate pressing of Enter key

2009-01-16 Thread Darin Duphorn
So, you have a popup appear after you click (button or link)? Correct? If so, would search for popup in the form. I can help, but this is the wrong thread. -Original Message- From: watir-general@googlegroups.com [mailto:watir-gene...@googlegroups.com] On Behalf Of Louie Sent: Friday,

[wtr-general] using a table cell variable

2009-01-16 Thread aidy lewis
Hi, Has anyone had problems using a variable in the cell array? checkbox_id = ingest.find_enabled_checkbox(Search_ItemDetail_SpoolGrid).id row = checkbox_id.match(/\d\d/) browser.table(:id, /Search_ItemDetail_SpoolGrid/)[row][3].text This is the stack trace undefined method `-'

[wtr-general] Re: Code hangs after a div click

2009-01-16 Thread Michael Hwee
click() -- does click!() and wait. click!() -- ole object click click_no_wait() -- does click!() in separate thread. But, no wait. - Original Message From: zeng0...@gmail.com zeng0...@gmail.com To: Watir General watir-general@googlegroups.com Sent: Friday, January 16, 2009 6:22:05

[wtr-general] Re: Test Results output capturing

2009-01-16 Thread H2006
Hi I am trying to use this class but constantly getting Error: HTML Result file is created but No results added. Can someone help please ?? 1) Error: test_print_assertion(TC_demo): NameError: undefined local variable or method `r' for #TC_demo: 0x3a4682c temp.rb:49:in

[wtr-general] Re: Issue with using arguments within Open Office (column, row) code

2009-01-16 Thread Amit Agarwal
you need to pass (row,column) for the function sheet1.getCellByPosition(id)...arity of this function is 2. On Sat, Jan 17, 2009 at 2:01 AM, dmitry...@gmail.com dmitry...@gmail.comwrote: Hello everyone, Running into an issue, would really appreciate some help. I have to files. One has a

[wtr-general] Re: button.Click_No_Wait only highlights the button, does not click

2009-01-16 Thread jensen2525
I ran into this issue and have been able to resolve what was causing this on Windows XP. This may not be what's causing it for other folks but hopefully it will point them in the right direction. We have an TeamCity server that will execute our tests using Rake on the build agents running

[wtr-general] clicking on link with with raquo

2009-01-16 Thread Jeremy Owens
I am trying to click on a link which looks like the following: a href=/dashboardSkip for now »/a I tried: browser.link(:text, Skip for now ).click which did not work. I believe the character is actually raquo. Solutions? Thanks, Jeremy --~--~-~--~~~---~--~~

[wtr-general] Re: clicking on link with with raquo

2009-01-16 Thread wesley chen
You can try two ways: First: browser.link(:text, /Skip for now/).click Second: Replace with amp; On Sat, Jan 17, 2009 at 3:32 AM, Jeremy Owens jer...@weplay.com wrote: I am trying to click on a link which looks like the following: a href=/dashboardSkip for now »/a I tried:

[wtr-general] Re: using a table cell variable

2009-01-16 Thread wesley chen
Try : row = checkbox_id.match(/\d\d/).to_i On Sat, Jan 17, 2009 at 1:43 AM, aidy lewis aidy.le...@googlemail.comwrote: Hi, Has anyone had problems using a variable in the cell array? checkbox_id = ingest.find_enabled_checkbox(Search_ItemDetail_SpoolGrid).id row =