[wtr-general] Re: Calendar Click

2010-08-03 Thread gs
Hi, After investigation on the www.cleartrip.com page: to click the calendar: ie.image(:alt, Calendar).click and to click on exact day : ie.link(:text, 12).click (try to user firebug under firefox to find the element you would like to work with or iedeveloper tool bar) Worked for me. Br,

Re: [wtr-general] Calendar Click

2010-08-03 Thread Željko Filipin
2010/8/3 madhu kumar madhu@gmail.com This is travel site just go through this Link www.cleartrip.com And you really thought it would be easier for us to debug your problem with screen shot, instead of sending us the URL?! See how fast you got the answer once you have sent the URL?

Re: [wtr-general] Calendar Click

2010-08-03 Thread madhu kumar
HI, Can anyone let me know how to connect to mysql database using Ruby. Regards, Madhu On Tue, Aug 3, 2010 at 2:19 PM, Željko Filipin zeljko.fili...@wa-research.ch wrote: 2010/8/3 madhu kumar madhu@gmail.com This is travel site just go through this Link www.cleartrip.com And you

Re: [wtr-general] Calendar Click

2010-08-03 Thread Željko Filipin
On Tue, Aug 3, 2010 at 11:11 AM, madhu kumar madhu@gmail.com wrote: Can anyone let me know how to connect to mysql database using Ruby. You should ask at ruby forum, this one is for watir. If you search this group or the web, you will find the answer. Željko -- Before posting, please

Re: [wtr-general] Calendar Click

2010-08-03 Thread Padma Reddy
Hi Madhu, Make sure that mysql is installed on the machine from where you want to execute the ruby script. Do 'gem install mysql' (if this dont work, download mysql and then install). ( 'gem list' check if mysql is there) try this in your script: require 'mysql' my = Mysql.new('IP', 'mysql

Re: [wtr-general] Re: Recent Stack Overflow Questions Tagged Watir

2010-08-03 Thread Željko Filipin
http://stackoverflow.com/questions/3386318/how-to-block-images-in-watir -- Before posting, please read http://watir.com/support. In short: search before you ask, be nice. You received this message because you are subscribed to http://groups.google.com/group/watir-general To post:

Re: [wtr-general] Calendar Click

2010-08-03 Thread madhu kumar
Hi padma, if i type require 'mysql' its coming no such file to load. can i know whats the proble. Regards, Madhu On Tue, Aug 3, 2010 at 2:56 PM, Padma Reddy padmaj...@gmail.com wrote: Hi Madhu, Make sure that mysql is installed on the machine from where you want to execute the ruby script.

Re: [wtr-general] Calendar Click

2010-08-03 Thread Željko Filipin
On Tue, Aug 3, 2010 at 12:04 PM, madhu kumar madhu@gmail.com wrote: if i type require 'mysql' its coming no such file to load. Please start another thread, this one is about calendar. Željko -- Before posting, please read http://watir.com/support. In short: search before you ask, be

Re: [wtr-general] Calendar Click

2010-08-03 Thread Padma Reddy
You might not have installed mysql. check if mysql is there in the list displayed using 'gem list' On Tue, Aug 3, 2010 at 3:34 PM, madhu kumar madhu@gmail.com wrote: Hi padma, if i type require 'mysql' its coming no such file to load. can i know whats the proble. Regards, Madhu On

Re: [wtr-general] Calendar Click

2010-08-03 Thread madhu kumar
Hi Padma, Mysql is there its listed as Mysql 2.8.1 *86-mingw32 when i give the command gem list. Regards, Madhu On Tue, Aug 3, 2010 at 3:42 PM, Padma Reddy padmaj...@gmail.com wrote: You might not have installed mysql. check if mysql is there in the list displayed using 'gem list' On

[wtr-general] when HTML code changes to often

2010-08-03 Thread Sharma Vishav
I like simplicity of Watir and ease of writing test cases with it.I am working on an agile project, where screens, hence underline HTML changes between sprints. Actual screens will get finalised towards very end of the project. Watir scripts depend on HTML code to identify elements and drive

Re: [wtr-general] when HTML code changes to often

2010-08-03 Thread Željko Filipin
On Tue, Aug 3, 2010 at 12:45 PM, Sharma Vishav sharma.vis...@gmail.com wrote: I am working on an agile project, where screens, hence underline HTML changes between sprints. Application that I am testing is just changing technologies, so I face a similar problem. Make sure your Watir code is

Re: [wtr-general] when HTML code changes to often

2010-08-03 Thread Sharma Vishav
Thanks Zeljko, To clarify when you say you can use element ID to access the element and no matter where the element is located on the page. using element ID would be able to access element, as long as the element ID and the frame it was defined originally does not change. On Tue, Aug 3, 2010

Re: [wtr-general] when HTML code changes to often

2010-08-03 Thread Željko Filipin
2010/8/3 Sharma Vishav sharma.vis...@gmail.com using element ID would be able to access element, as long as the element ID and the frame it was defined originally does not change. Exactly. There is not much you can do if the application changes a lot, but even then fixing the tests would be

Re: [wtr-general] Calendar Click

2010-08-03 Thread Padma Reddy
Ok. I am not sure of this. Actually i faced the same problem when i was executing ruby script on my windows machine and trying to connect to the database of a linux machine and this problem got solved when i installed mysql my local machine (in addition to mysql gem) On Tue, Aug 3, 2010 at 3:53

Re: [wtr-general] identify elements in goggle mail box

2010-08-03 Thread Željko Filipin
On Tue, Aug 3, 2010 at 1:11 PM, Sharma Vishav sharma.vis...@gmail.com wrote: 1.how does I click a drop down box in this menu bar, e.g More actions menu. Gmail is hard to automate. If you are looking for application to practice Watir skills, use basic HTML Gmail view (link at the bottom of the

Re: [wtr-general] when HTML code changes to often

2010-08-03 Thread Sharma Vishav
yes you did answer my question thank you very much On Tue, Aug 3, 2010 at 11:23 PM, Željko Filipin zeljko.fili...@wa-research.ch wrote: 2010/8/3 Sharma Vishav sharma.vis...@gmail.com using element ID would be able to access element, as long as the element ID and the frame it was defined

Re: [wtr-general] when HTML code changes to often

2010-08-03 Thread Željko Filipin
On Tue, Aug 3, 2010 at 1:27 PM, Sharma Vishav sharma.vis...@gmail.com wrote: yes you did answer my question I forgot to say before, it is possible to automate tests even when developers do not care about testability (and/or having automated tests), but automation will be a lot easier if

Re: [wtr-general] identify elements in goggle mail box

2010-08-03 Thread Sharma Vishav
I posted this example as a specific case to know what methods/tools you use when IE developer tool bar does not allow you to identify page elements. You come across such cases in your day to day work. I found this Gmail inbox as a good generic example. So help on this would be appreciated thanks

Re: [wtr-general] identify elements in goggle mail box

2010-08-03 Thread Željko Filipin
2010/8/3 Sharma Vishav sharma.vis...@gmail.com I posted this example as a specific case to know what methods/tools you use when IE developer tool bar does not allow you to identify page elements. I have noticed that problem from time to time. I have a virtual machine with all major browsers

Re: [wtr-general] Re: Calendar Click

2010-08-03 Thread madhu kumar
Ok but two calendars are there in that website, we can use this one for one calendar, how can i recognise second one. Please help me. On Tue, Aug 3, 2010 at 2:18 PM, gs grzegorz.q...@googlemail.com wrote: Hi, After investigation on the www.cleartrip.com page: to click the calendar:

Re: [wtr-general] Re: Calendar Click

2010-08-03 Thread Željko Filipin
2010/8/3 madhu kumar madhu@gmail.com Ok but two calendars are there in that website, we can use this one for one calendar, how can i recognise second one. This should work: browser.image(:alt = Calendar, :index = 2).click but something is wrong with the page, I can not get the second

Re: [wtr-general] Re: Calendar Click

2010-08-03 Thread madhu kumar
That command is not working. just check the website www.cleartrip.com and please let me know. and i used this command to recognize one calendar, and i need to recognize one more. b.image(:src, /images/global/calendar_icon.gif).click b.link(:text, 5).click Regards, Madhu On Tue, Aug 3, 2010 at

Re: [wtr-general] Re: Calendar Click

2010-08-03 Thread Željko Filipin
On Tue, Aug 3, 2010 at 3:02 PM, madhu kumar madhu@gmail.com wrote: That command is not working. just check the website www.cleartrip.com I was there, but I the second calendar is not displayed even when I try it manually (I have clicked the calendar icon). I have tried with IE 8 and FF

[wtr-general] Re: Calendar Click

2010-08-03 Thread gs
Hi, Second calendar works but first the radio button Round trip needs to be clicked :) Br, GS On Aug 3, 3:05 pm, Željko Filipin zeljko.fili...@wa-research.ch wrote: On Tue, Aug 3, 2010 at 3:02 PM, madhu kumar madhu@gmail.com wrote: That command is not working. just check the

[wtr-general] Re: Calendar Click

2010-08-03 Thread Super Kevy
The question also needs to be asked: Does this functionality need critical assesment through test automation or is it more appropriately validated by a manual test. Give the it the Tosh.0 breakdown. - I need to only input a date and then move on (im just submitting a form) - I need to check the

[wtr-general] Re: when HTML code changes to often

2010-08-03 Thread Chuck van der Linden
What Z is saying here is that you need to address the problem of the brittle UI with the developers. If you explain the testability issue to them, its often possible to work out an agreement that they will do something like leave the ID values the same (all the while that they move stuff around,

[wtr-general] Curious browser behavior: Firefox browser won't close on some pages but will everywhere else

2010-08-03 Thread Schase
I'm writing automated test code for a web application under development. All is well when I work on my development box and the code behaves as expected when I run it there. Once the test code is stabilized I check it in and it runs on a scheduled server. It has been displaying strange behavior

Re: [wtr-general] Curious browser behavior: Firefox browser won't close on some pages but will everywhere else

2010-08-03 Thread Basim Baassiri
HI Schase, I had the same problem (method wasn't returning the named windows which causes the exception) and I switched to vapir which solved my problem Not much of a suggestion but it is my experience Basim On Tue, Aug 3, 2010 at 2:53 PM, Schase promac...@gmail.com wrote: I'm writing

Re: [wtr-general] Curious browser behavior: Firefox browser won't close on some pages but will everywhere else

2010-08-03 Thread Ethan
It is true that Vapir does not have this bug. On Tue, Aug 3, 2010 at 15:01, Basim Baassiri ba...@baassiri.ca wrote: HI Schase, I had the same problem (method wasn't returning the named windows which causes the exception) and I switched to vapir which solved my problem Not much of a

Re: [wtr-general] Re: Calendar Click

2010-08-03 Thread madhu kumar
Hi guys, have u got any result,(www.cleartrip.com) Please tell me. Regards, Madhu On Tue, Aug 3, 2010 at 7:21 PM, Super Kevy kpe...@scholarshipamerica.orgwrote: The question also needs to be asked: Does this functionality need critical assesment through test automation or is it more