[wtr-general] Re: How to Speed Up the wa tir ?

2008-10-22 Thread bugs apple
I got it, thanks Bret. 2008/10/22 Bret Pettichord [EMAIL PROTECTED] Have you tried :zippy speed? Is this documented somewhere? You should know that there are some significant performance improvements in trunk and will be included in 1.6. Bret bugs apple wrote: Push it forward for you

[wtr-general] Re: HOW TO GENERATE INPUT TAG OBJECTS

2008-10-22 Thread bugs apple
Thanks Tony, It's very usefull and work well for us now. 2008/10/21 Tony [EMAIL PROTECTED] Hi Wiston, Here's something that iam using ... module Watir class IE def calculateXpath(object) s = curr = object s = /#{curr.invoke(tagName)}[#{getIndex(curr)}] + s par

[wtr-general] Re: How to Speed Up the wa tir ?

2008-10-22 Thread bugs apple
Sorry, another question about the wait time, For wait method in IE.rb, could I set the a_moment as 0 second so that make the IE work so fast? BTW, I also want to know these parameters for their functionalities, and how to set them for maxsize the performance turning? @typingspeed = 0

[wtr-general] Re: How to Speed Up the wa tir ?

2008-10-22 Thread Charley Baker
The speed setting will take care of all that for you. The wait method depends on some amount of time to do it's polling for IE and it's documents to be fully loaded. --- Charley Baker blog: http://charleybakersblog.blogspot.com/ Project Manager, Watir, http://wtr.rubyforge.org QA Architect, Gap

[wtr-general] Re: Google test automation conference

2008-10-22 Thread Bret Pettichord
You have to apply to attend and there are not that many seats available. So most people that want to go, don't tell others to improve their odds of getting chosen. Bret Michael Hwee wrote: Same here. Found out too late. --- On Wed, 10/22/08, Lisa Crispin [EMAIL PROTECTED] wrote:

[wtr-general] How to check an image source and then click a link when looping though all cells of a table

2008-10-22 Thread niartseoj
Hello, I am using the following code to go through my table and find a cell with a text condition. The looping works fine; however i'm trying to determine how i would then lookup an img an a link that are children of the cell. here is what i have so far.. t = ie.table(:index, 7)# since we

[wtr-general] Re: How to check an image source and then click a link when looping though all cells of a table

2008-10-22 Thread Alex Collins
As a cell is a container, you can use: cell.image(:index, 1) To access the first image within the cell. You should be able to use any of the other recognition methods, as usual. Hope this helps, Alex On 22 Oct 2008, at 22:33, niartseoj [EMAIL PROTECTED] wrote: Hello, I am using the

[wtr-general] Re: How to check an image source and then click a link when looping though all cells of a table

2008-10-22 Thread niartseoj
Yes this helped me on many fronts.. this sort of opened my eyes .. thanks for the help On Oct 22, 5:42 pm, Alex Collins [EMAIL PROTECTED] wrote: As a cell is a container, you can use: cell.image(:index, 1) To access the first image within the cell. You should be able to use   any of the

[wtr-general] Re: click_no_wait doesn't work when called again

2008-10-22 Thread babylonrei
2008/10/22 Bret Pettichord [EMAIL PROTECTED] What happens if you add a sleep statement at the location indicated below? ayanami wrote: I'm using method click_no_wait to solve the file download case. The problem is that the first time i use click_no_wait to click a link then a File