[wtr-general] Re: How to wait for javascript generated elements?

2012-03-05 Thread Dave McNulla
Another more generic option is to ask the developers to place an invisible object on the page when the javascript completes, then wait_until_present for that. Dave On Monday, March 5, 2012 9:34:56 AM UTC-8, cootcraig wrote: > > > I'm using watir for the first time. The site I'm working with

[wtr-general] need help on table rows columns operations

2012-03-05 Thread Bhavesh
Hi, How can i operate on cells on the table. I have 1 table, inside that i have many columns and multiple rows like : ID CaseName Status Activities CreationDate Supervisor Actions 1 Deere vs. Michigan StateOpen Completed 2 abc v

[wtr-general] Re: How to wait for javascript generated elements?

2012-03-05 Thread cootcraig
On Mar 5, 10:34 am, cootcraig wrote: > I'm using watir for the first time.  The site I'm working with > generates the elements I need to interact with in JavaScript.  If I > search for the element immediately it is not on the page, If I wait 20 > seconds it is.  What is a good way to wait for th

[wtr-general] How to wait for javascript generated elements?

2012-03-05 Thread cootcraig
I'm using watir for the first time. The site I'm working with generates the elements I need to interact with in JavaScript. If I search for the element immediately it is not on the page, If I wait 20 seconds it is. What is a good way to wait for the page elements to be built? I will try search

Re: [wtr-general] Creating a simple Watir test framework incl Reporting functionality

2012-03-05 Thread Željko Filipin
On Sun, Mar 4, 2012 at 9:49 AM, Contador wrote: > 2. Tests which generate a results report (preferably in HTML) of pass/ > fail Take a look at RSpec and Cucumber: http://rspec.info/ http://cukes.info/ Željko -- watir.com/book - author -- Before posting, please read http://watir.com/support. I

[wtr-general] Creating a simple Watir test framework incl Reporting functionality

2012-03-05 Thread Contador
Hi, I'm newish to Test Automation, Watir and Ruby; I am a tester with responsibility to functionally test a website. I wish to harness some of the power of Automation to create a set of tests to regression test the website. These would be simple tests to check for elements, fields, text etc... Wa

[wtr-general] Continue with modal dialog

2012-03-05 Thread Rahul Sharma
Hi Guys, I am testing a payment system that has a test-harness set up to simulate a third party redirection. The test harness is set up as non secure. So when I trigger some action like - "Deposit" from a secure page - It takes me to this test harness and I get prompted with a popup with a "Cancel