[wtr-general] Re: Help needed in automation using Watir

2009-05-15 Thread karimnumerouno
IE developer tool bar is good, but at times the IE browser get stuck some time when the IE developer tool bar is open, i had a problem with the same on vista, firebug is better in that case. On May 15, 9:18 am, Lokesh Agrawal lokesh.agra...@gmail.com wrote: Hi All, Thanks for the reply. I

[wtr-general] Looking for Watir Runner

2009-05-15 Thread lokesh.agra...@gmail.com
Hi All, I am lokking for GUI interface (either web based or any other app) to invoke ruby scripts. I checked Rails Runner on wiki.openqa.org/display/WTR/Rails+test+runner+example+app but its not working with latest rails versions. Does anyone has any clue for this type of GUI Interface??

[wtr-general] Can v handle alert messages after certain amount of time

2009-05-15 Thread suri
Hi, I have a scenario where i stucked, I have got a script alert in application, If i want to capture it and then after 5 mins i have to click on OK saying a mesg time out in my log. Thanks in advance. --~--~-~--~~~---~--~~ You received this message because you

[wtr-general] Re: How to work with popups?

2009-05-15 Thread suri
Better to use click_no_wait instead only click --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Watir General group. To post to this group, send email to watir-general@googlegroups.com Before posting, please read the

[wtr-general] Re: Why this autoit code is not working? its doing send keys in the browser URL address area instead of in the text_field area.

2009-05-15 Thread al3kc
Do you use IE7? try to click anywhere in browser page. It will move focus from URL field to the browser page. and the run your autoit code --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Watir General group. To post

[wtr-general] why my script could not click ok?

2009-05-15 Thread lnl
require 'watir' require 'win32ole' require 'test/unit' require 'test/unit/ui/console/testrunner' test_site = 'http://192.168.0.26:7001/ghg' ie = Watir::IE.new #$ie = IE.new #ie2 = nil puts Step 1: go to the test site: + test_site ie.goto(test_site) puts Action: entered + test_site

[wtr-general] Re: How to work with popups?

2009-05-15 Thread ash
There are now a number of threads regarding pop ups including those referring to javascript alerts. I have successfully scripted checks for the 'OK' button on an alert but am now struggling with an alert that has different options and would gratefully receive any advice out there. On May 15,

[wtr-general] Re: Help needed in automation using Watir

2009-05-15 Thread Jarmo Pertman
On May 15, 7:18 am, Lokesh Agrawal lokesh.agra...@gmail.com wrote: I found one framework with this approach: JAF (http://90kts.com/blog/ 2008/just-another-framework-for-developing-watir-test-cases/). But I have not used it so doesn't know if this is helpful or not. (As this framework is

[wtr-general] Re: Help needed in automation using Watir

2009-05-15 Thread karimnumerouno
guys, justaddwatir.com this is also a nice help for most frequently asked questions on watir group, it seems to be a very helpful article Karim Rayani On May 15, 2:51 pm, Jarmo Pertman jarm...@gmail.com wrote: On May 15, 7:18 am, Lokesh Agrawal lokesh.agra...@gmail.com wrote: I found one

[wtr-general] Re: Model Dialog Page

2009-05-15 Thread kiran
can u post the code? I have handled modal dialogboxes using above versions. Thanks, kiran. On May 15, 12:40 pm, sunil reddy sunilreddyba...@gmail.com wrote: Hi There, How are you? I am using WATIR( Ruby186.26 ,1.6.2 watir and Ruby gem1.3.3 Version) for web application,I am anable to

[wtr-general] Re: why my script could not click ok?

2009-05-15 Thread kiran
I think your attaching the javascript popup is it? Thanks, kiran On May 15, 12:36 pm, lnl lianglina_2...@sohu.com wrote: require 'watir' require 'win32ole' require 'test/unit' require 'test/unit/ui/console/testrunner' test_site = 'http://192.168.0.26:7001/ghg' ie = Watir::IE.new #$ie =

[wtr-general] Re: How to work with popups?

2009-05-15 Thread satish
Hi Lisa, Still I am getting following error..here is my code and error. What I noticed was after I got the popup its staying there just like that, no action is happening. If I respond to that popup by clicking OK button popup will close then this error messages are coming.

[wtr-general] Re: How to work with popups?

2009-05-15 Thread orde
As Suri suggested, you might want to try click_no_wait instead of click when you access the link that spawns the popup. Also, check http://wiki.openqa.org/display/WTR/Pop+Ups. Hope that helps... orde On May 15, 6:00 am, satish spanchumar...@gmail.com wrote: Hi Lisa, Still I am getting

[wtr-general] Re: Help needed in automation using Watir

2009-05-15 Thread Chuck van der Linden
Jim is right on the money here, I'm probably going to somewhat end up restating what he said. This issue of finding a consistent way to identify the objects within the dom is not unique to Watir, it exists for ALL automation tools to one degree or another. Watir provides a large variety of ways

[wtr-general] Re: Can v handle alert messages after certain amount of time

2009-05-15 Thread Chuck van der Linden
is this just one particular place in your script? You could do something like grab current time into a variable 'start time' then have a while loop repeats if the process is not finished, and inside the loop you sleeps for a few seconds, checks to see if 5 min has elapsed (and take

[wtr-general] Re: Model Dialog Page

2009-05-15 Thread Chuck van der Linden
it's difficult to tell one kind of popup from another just from a picture, they are often visually identical. Please review the tutorial section on popups which discusses the various types and gives examples of how to deal with them. If that doesn't get you going, then more details would be

[wtr-general] Re: Help! Ext treegrid unable to select row

2009-05-15 Thread Chuck van der Linden
Do you feel the problem is the ability to identfy the page element itself, or figuring out what event it's listening for? Who makes Ext ?? have you tried asking them how you might do this? or looked into the Ext code itself to see what events it might be looking for? (it seems almost like they

[wtr-general] Re: file download popup handle

2009-05-15 Thread Chuck van der Linden
This is a fairly common request. Suggestions reference the FAQ setion on popups http://wiki.openqa.org/display/WTR/FAQ#FAQ-HowdoIattachtoapopupwindow%3F Seach the group for a phrase such as file popup http://groups.google.com/group/watir-general/search?group=watir-generalq=file+popup or

[wtr-general] Re: Watir on VISTA

2009-05-15 Thread Chuck van der Linden
I would generally advise sticking to the current version and not worrying about older versions of water. You're generally going to get the most support, and fewest bugs from the current versions. IMHO the biggest key to working on vista is to make sure all the pages you are testing (and your

[wtr-general] Re: WATiR DSL I Have been working on...update

2009-05-15 Thread Chuck van der Linden
On May 5, 2:52 pm, Ruf, Wadud wadud@capgemini.com wrote: Aidy thanks for your comments. Setup/teardown makes more sense to developers, would it make more sense to testers than start and finish? speaking as a tester: Yes --~--~-~--~~~---~--~~ You

[wtr-general] Re: Problems dealing with javascript popups

2009-05-15 Thread satish
Hi Kiran, I am having same problem as here. I tried your code, but seems to do nothing for me. My problem is what ever I do code is not recognising the popup box. How does this Thread.new{ } work?, should I need to use any require command around this to make it work.? I tried this on one VB

[wtr-general] How to upload screen shot here on this group.

2009-05-15 Thread satish
This may be silly question...but I saw here some people are uploading screen shots. I wanted to upload my screen shot but I could not find that feature here. Is there a way to upload screen shot here or that users are some kind of super users.? Thnak you, Satish.