Re: [wtr-general] Re: Need to display the DIV(h3,p) values in results

2010-12-28 Thread Aditya
No it is not ... the below statement also returns Nill. How do we display the Tag values like H3,P ... in Div? I tried the below : browser.div(:class,"name_address").text this displays complete value in div. But i need to display the values independently. Please let me know. On Tue, Dec 28, 201

Re: [wtr-general] Watir 1.7.0.rc1 Released

2010-12-28 Thread Alan Baird
Jarmo - I installed Watir 1.7 --pre and ran it at work with no apparent problems other than with close_all which I will describe shortly. I removed all of my monkeypatches and I am not seeing any of the premature page loads that I saw before. I do want to bake it in a bit more tomorrow but at th

Re: [wtr-general] How to handle Jquery UI Select menu using watir

2010-12-28 Thread Sharma Vishav
Hi JV, I could select items from the select lists on the example url u have sent, see code below irb(main):001:0> require 'Watir' => true irb(main):002:0> ie=Watir::Browser.new => # irb(main):005:0> ie.goto(" http://jquery-ui.googlecode.com/svn/branches/labs/sele ctmenu/index.html/") => 0.75 irb

[wtr-general] How to check a text in the lightbox (javascript)

2010-12-28 Thread Irfan Ahmed
I am new in automation. Suddenly I found a problem when I am trying to work with lightbox or modelbox (js). There will be text that should be check wether it exists or not in the lightbox according to the feature file. But my code for checking the text is not returning false. I wrote: browser.text.

[wtr-general] How to handle Jquery UI Select menu using watir

2010-12-28 Thread jv-watir
The application that I am testing changing some of the UI, as part of this effort previous dropdowns are being replaced with JQuery UI select menu as you can see dropdown style combo box on http://jquery-ui.googlecode.com/svn/branches/labs/selectmenu/index.html/ Watir does not recognize it, I tried

[wtr-general] Re: Verify that all page requests are finished

2010-12-28 Thread xeranas
If user too quick click next input (e.g. field 'B') while request for field 'A' isn't finished warning pop-up shows up. After it close pop- up and request still isn't finished user can fill other inputs (field B, field C and so on) no more pop-up shows up (it shows only once via request) BUT after

[wtr-general] is the flash method not available for elements determined by element_by_xpath...

2010-12-28 Thread Ashish Patel
a question please #1 ** is the flash method not available for elements determined by element_by_xpath... for example $browser.element_by_xpath("//div[.='Save and Go Live']/..").click ### Works! $browser.element_by_xpath("//div[.='Save and Go Live']/..").ID works ...g

Re: [wtr-general] Re: Need to display the DIV(h3,p) values in results

2010-12-28 Thread Željko Filipin
On Tue, Dec 28, 2010 at 2:11 PM, V wrote: > Tested the below returning Null .(Empty). Does this flash the correct text? browser.div(:class => "name_address").h3(:index => 1).flash Željko -- Before posting, please read http://watir.com/support. In short: search before you ask, be nice. watir

[wtr-general] Re: Need to display the DIV(h3,p) values in results

2010-12-28 Thread V
Tested the below returning Null .(Empty). Please let me know. Try this (not tested): browser.div(:class => "name_address").h3(:index => 1).text On Dec 28, 6:02 pm, Željko Filipin wrote: > On Tue, Dec 28, 2010 at 1:16 PM, V wrote: > >  My HTML code is something like. I need to display the valu

Re: [wtr-general] Need to display the DIV(h3,p) values in results

2010-12-28 Thread Željko Filipin
On Tue, Dec 28, 2010 at 1:16 PM, V wrote: > My HTML code is something like. I need to display the value of h3 in > the DIV. > > > Name > > Try this (not tested): browser.div(:class => "name_address").h3(:index => 1).text Željko -- watir.com - community manager watirpodcast.com - host testi

[wtr-general] Need to display the DIV(h3,p) values in results

2010-12-28 Thread V
How do i retrieve the value of DIV ? My HTML code is something like. I need to display the value of h3 in the DIV. But how can i do this Name 550 broad newark, NJ, 07102 Please assist me -- Before posting, please read http://watir.com/support. In short: search before you ask, be

[wtr-general] Re: Verify that all page requests are finished

2010-12-28 Thread Jarmo Pertman
So what happens if the request is made? How do you as a user use that page and what value will you get if that request is made? In another way - what is the essential point of that request or these requests? Try to think in these terms what could you set as your condition. If there isn't any point

Re: [wtr-general] Watir 1.7.0.rc1 Released

2010-12-28 Thread Ivan Kabluchkov
It works for me. But will be great if http://jira.openqa.org/browse/WTR-469 will fix in 1.7.0 Thanks! And Happy Holidays :) On 28 дек, 00:59, Jarmo wrote: > There hasn't been much of a feedback, if all. I know that there was > Christmas and such, which might have affected the results, but i'm sti