[wtr-general] Script in a page runs for few seconds, how to wait
Hi I have a scenorio, when i login to my app, page says loading done but the server side script inside the page still runs to get the data. Here my script is failing to identiffy the object. How to wait. Please help thanks aravind -- Before posting, please read http://watir.com/support. In short: search before you ask, be nice. watir-general@googlegroups.com http://groups.google.com/group/watir-general watir-general+unsubscr...@googlegroups.com
Re: [wtr-general] How to use IE#log() function?
On Fri, Jan 21, 2011 at 8:24 AM, Ekin Han nbkhic...@gmail.com wrote: Could you kindly tell me how to use IE#log() function? Well, posting the same question twice in one hour is not the way to use it. :) What do you want to do? Željko -- watir.com - community manager watirpodcast.com - host testingpodcast.com - audio podcasts on software testing. all of them -- Before posting, please read http://watir.com/support. In short: search before you ask, be nice. watir-general@googlegroups.com http://groups.google.com/group/watir-general watir-general+unsubscr...@googlegroups.com
Re: [wtr-general] Script in a page runs for few seconds, how to wait
On Fri, Jan 21, 2011 at 10:40 AM, Aravind aravindredd...@gmail.com wrote: How to wait. Did you read this? http://wiki.openqa.org/display/WTR/How+to+wait+with+Watir Željko -- watir.com - community manager watirpodcast.com - host testingpodcast.com - audio podcasts on software testing. all of them -- Before posting, please read http://watir.com/support. In short: search before you ask, be nice. watir-general@googlegroups.com http://groups.google.com/group/watir-general watir-general+unsubscr...@googlegroups.com
Re: [wtr-general] Re: Recent Stack Overflow Questions Tagged Watir
http://stackoverflow.com/questions/4755946/run-watir-on-a-client-browser -- Before posting, please read http://watir.com/support. In short: search before you ask, be nice. watir-general@googlegroups.com http://groups.google.com/group/watir-general watir-general+unsubscr...@googlegroups.com
Re: [wtr-general] Re: Recent Stack Overflow Questions Tagged Watir
http://stackoverflow.com/questions/4756905/clearing-session-in-firefox-for-every-request-made-watir-issue -- Before posting, please read http://watir.com/support. In short: search before you ask, be nice. watir-general@googlegroups.com http://groups.google.com/group/watir-general watir-general+unsubscr...@googlegroups.com
[wtr-general] callback to run everytime a page loads?
Hi I'm testing an app that uses jquery UI. on several pages there are elements which I might click on that make other elements visible or invisible. But it does so using jquery animation functions, so sometimes there are race conditions that occur. I have been able to prevent these problems so far by doing a browser.execute_script(jquery.fx.off = true). But I'd have to do this on many pages. currently whenever a page is changed by any action such as a click, watir waits until the page loads. Is it possible to provide a callback to be executed on each such page, so that I could set jquery.fx.off on every page when it loads? thanks Vishnu -- Before posting, please read http://watir.com/support. In short: search before you ask, be nice. watir-general@googlegroups.com http://groups.google.com/group/watir-general watir-general+unsubscr...@googlegroups.com
Re: [wtr-general] callback to run everytime a page loads?
There's a method called add_error_checker, that in essence runs a proc on page load. Here's a brief example: http://www.natontesting.com/2009/08/19/how-to-check-for-errors-on-every-page-using-watir/ Charley Baker Lead Developer, Watir, http://watir.com On Fri, Jan 21, 2011 at 5:23 AM, vishnu path...@gmail.com wrote: Hi I'm testing an app that uses jquery UI. on several pages there are elements which I might click on that make other elements visible or invisible. But it does so using jquery animation functions, so sometimes there are race conditions that occur. I have been able to prevent these problems so far by doing a browser.execute_script(jquery.fx.off = true). But I'd have to do this on many pages. currently whenever a page is changed by any action such as a click, watir waits until the page loads. Is it possible to provide a callback to be executed on each such page, so that I could set jquery.fx.off on every page when it loads? thanks Vishnu -- Before posting, please read http://watir.com/support. In short: search before you ask, be nice. watir-general@googlegroups.com http://groups.google.com/group/watir-general watir-general+unsubscr...@googlegroups.com -- Before posting, please read http://watir.com/support. In short: search before you ask, be nice. watir-general@googlegroups.com http://groups.google.com/group/watir-general watir-general+unsubscr...@googlegroups.com
[wtr-general] two buttons Search and Go
Hi I have two buttons in a page Search and Go. I am able to click Go but not the Search, wiered Go button input name=Go onclick=javascript:go(this); type=button value=Go Search button input name=searchAccounts onclick=javascript:searchAcct(this); type=button value=Search I dont find any diff in the code. please help thanks aravind -- Before posting, please read http://watir.com/support. In short: search before you ask, be nice. watir-general@googlegroups.com http://groups.google.com/group/watir-general watir-general+unsubscr...@googlegroups.com
Re: [wtr-general] two buttons Search and Go
I would guess that you are using :name to locate the button but are using the value instead. That's the only difference I can see between the two! Emmanuel On 1/21/2011 11:16 AM, Aravind wrote: Hi I have two buttons in a page Search and Go. I am able to click Go but not the Search, wiered Go button input name=Go onclick=javascript:go(this); type=button value=Go Search button input name=searchAccounts onclick=javascript:searchAcct(this); type=button value=Search I dont find any diff in the code. please help thanks aravind -- Before posting, please read http://watir.com/support. In short: search before you ask, be nice. watir-general@googlegroups.com http://groups.google.com/group/watir-general watir-general+unsubscr...@googlegroups.com -- Before posting, please read http://watir.com/support. In short: search before you ask, be nice. watir-general@googlegroups.com http://groups.google.com/group/watir-general watir-general+unsubscr...@googlegroups.com