[wtr-general] Re: user experience response time script.

2009-08-12 Thread Maumita
Thanks a lot for the quick help.. It works for me.. Also, I will definitely use Jmeter for performace Thanks Maumita On Aug 11, 7:01 pm, Felipe Knorr Kuhn fkn...@gmail.com wrote: Hello Maumita, As Tony said, you should probably stick to JMeter. But, if you really want to do that quickly

[wtr-general] Is there any way to run a watir script automatically in every hour.

2009-08-12 Thread Maumita
Hi, We are developing a shopping site. I have written a script, it basically hit a WEB URL and capture the page load time - 1. It hits the home page 2. It hits the products page (This page has images of 9 items) For the above cases the script return me the time taken to load the page.

[wtr-general] Re: Is there any way to run a watir script automatically in every hour.

2009-08-12 Thread Tony
Hi Maumita, 1. Not sure on this. 2. You can add your scripts to a batch file and run the batch file from task scheduler. Thanks, Tony --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Watir General group. To post to

[wtr-general] Re: Is there any way to run a watir script automatically in every hour.

2009-08-12 Thread Dylan
For Problem 1, its not elegant and there's probably a better way to do it, but you could create an array with all the id's of the images you need loaded, then do something like this: imgarr.each{ |img| Watir::Waiter.new(20).wait_until{ie.image(:id,img).exist?} } I think this will go through

[wtr-general] Re: Firefox 3.5 compatible with FireWatir?

2009-08-12 Thread Tony Zanella
Hello all, I work in an office with developers using Linux, Mac, and Windows boxes. We have a set of regression tests written in FireWatir that we run on these various boxes. Since a couple of us (Mac and Windows) have upgraded to Firefox 3.5, the jssh plugins (on Mac jssh 0.1 and on Windows jssh

[wtr-general] Closing just tab (or window) with Firewatir

2009-08-12 Thread WilliamWallace
Hi all, First time posting. Forgive any mistakes please. I'm using Firewatir to test links on a page in Firefox, but I want to be able to close the tab and regain focus on the main page again. What I've got right now is: (browser is just Firefox.new) browser.link(:id, link).click

[wtr-general] Can I get to a row with no id from a row with an id?

2009-08-12 Thread Steve Hamlett
I need to read contents from a row that does not have an id. That is, the HTML tag that designates the row is just TR. Therefore, I can't address it directly. Is there a way to address it indirectly? It happens that the tag for the prior row does have an id, e.g. TR id=xyz. Is there a way to

[wtr-general] Re: Can I get to a row with no id from a row with an id?

2009-08-12 Thread tcfodor
Hi Steve! These may not be the slickest solutions, but in cases like this, here's what I do: If the data I want is always in the same row/column. my_table = ie.table(:name, 'appTable') my_text = my_table[2][3].text (where row 2, column 3 is where the text I want is displayed) If the data

[wtr-general] Re: Right Click

2009-08-12 Thread Dylan
Thanks! I had been so focused on a fire_event solution I totally spaced on this one. I had to alter it a bit, since that moves the cursor to the upper left hand corner of the element, which wasn't bringing up the specific right-click menu from inside the element. I added xoffset and yoffset as

[wtr-general] looking for ruby test engineer

2009-08-12 Thread Sharon Alger
job description at: http://tbe.taleo.net/NA7/ats/careers/requisition.jsp?org=BIGFIXcws=1rid=97 contact sharon_al...@bigfix.com or sha...@ataunt.com --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Watir General

[wtr-general] Re: How to click the link in dynamically generated ajax content?

2009-08-12 Thread Raveendran P
Hi Durgesh, Way 1 -- use sleep commands until the link was enabled. way 2 -- Still the field disabled then Watir gem code is here ... # File lib/watir/element.rb, line 283 def enabled? assert_exists return ! disabled end Thanks On Tue, Aug 11, 2009 at 6:12 PM, Durgesh

[wtr-general] Re: How to fill the info in the TEXTAREA?

2009-08-12 Thread Dylan
The text_field element should also work for text areas. -Dylan On Aug 12, 9:18 pm, yuping zhong littlezhong...@gmail.com wrote: Dear All, I am a new user of Watir. It is known to all that fills the info in the text_field is easy. But how to fill the info in the TEXTAREA? I give more info