[wtr-general] Re: Slider Problem
Hi AJ Can you please provide a solution for this ASAP Thanks Can y On Fri, Sep 11, 2009 at 10:45 AM, Rajat Singhal coolraja...@gmail.comwrote: Hi AJ It moves the slider but does not change the time\price value accordingly displayed above the slider . and results are not filtered on changing style value of div. kindly do let me know how it is possible Thanks Rajat Singhal On Thu, Sep 3, 2009 at 4:03 PM, AJ ajithoffic...@gmail.com wrote: Hi Ravinder, You can automate it as shown below, sliderLeft = ie.div(:class = zpSliderButtonHorizontal, :index = 1) // U can identify each slider by providing an appropriate index. sliderLeft.style.value = 10 // Replace 10 with any value. It will move the slider accordingly -AJ On Sep 1, 4:25 pm, Ravinder Singroha ravindersingr...@gmail.com wrote: Hi, We have a scenario wherein we need to drag and drop a slider in order to define a filter for a specific range (time/price). Please find attached the screen-shot for the sliders. Steps to reach the concerned screen:- 1. Gotowww.makemytrip.com 2. Select one-way trip, fill in details and click on Search button 3. Find the sliders for Price and Time range filters on the top left panel Filter Your Results of the resulting Listing page. Please do let us know if it would be possible to automate this scenario using Watir. Thx Ravinder Singroha -- Regards Rajat Singhal +919718729742 -- Regards Rajat Singhal +919718729742 --~--~-~--~~~---~--~~ 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 following guidelines: http://wiki.openqa.org/display/WTR/Support To unsubscribe from this group, send email to watir-general-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/watir-general -~--~~~~--~~--~--~---
[wtr-general] FireWatir :PopUp Handling
Hi All Kindly do let me know,How we can handle pop ups in FireWatir Thanks --~--~-~--~~~---~--~~ 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 following guidelines: http://wiki.openqa.org/display/WTR/Support To unsubscribe from this group, send email to watir-general-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/watir-general -~--~~~~--~~--~--~---
[wtr-general] Re: Window Attachment with regular expression in FireWatir
yes it works but i have to attach with current window without specifying any title string, any solution for that. On Fri, Sep 11, 2009 at 11:24 AM, Angrez Singh ang...@gmail.com wrote: Does giving full title works with firewatir? On Fri, Sep 11, 2009 at 10:37 AM, Rajat Singhal coolraja...@gmail.comwrote: Hi all Can anyone help me how to attach window in firewatir using regular expression(Current window attachment) In Watir i m using: ie = Watir::IE.attach(:title,//) which works perfectly .attach(:title,//) doesn't work with fire watir. Kindly let me know how it is possible with watir. Thanks in advance. -- Regards Rajat Singhal +919718729742 --~--~-~--~~~---~--~~ 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 following guidelines: http://wiki.openqa.org/display/WTR/Support To unsubscribe from this group, send email to watir-general-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/watir-general -~--~~~~--~~--~--~---
[wtr-general] Re: Window Attachment with regular expression in FireWatir
Hi Angrez I got a solution for this, i made a change in firefox.rb file in firewatir gem in find_window method in firefox.rb, i changed jssh_command var regExp = new RegExp(#{what}.inspect); to jssh_command var regExp = new RegExp(#{what}); and it works for .attach(:title,//) Thanks On Fri, Sep 11, 2009 at 12:18 PM, Angrez Singh ang...@gmail.com wrote: right now Firewatir only supports adding by URL and title. I look into why regex is not working during attach. - Angrez On Fri, Sep 11, 2009 at 11:31 AM, Rajat Singhal coolraja...@gmail.comwrote: yes it works but i have to attach with current window without specifying any title string, any solution for that. On Fri, Sep 11, 2009 at 11:24 AM, Angrez Singh ang...@gmail.com wrote: Does giving full title works with firewatir? On Fri, Sep 11, 2009 at 10:37 AM, Rajat Singhal coolraja...@gmail.comwrote: Hi all Can anyone help me how to attach window in firewatir using regular expression(Current window attachment) In Watir i m using: ie = Watir::IE.attach(:title,//) which works perfectly .attach(:title,//) doesn't work with fire watir. Kindly let me know how it is possible with watir. Thanks in advance. -- Regards Rajat Singhal +919718729742 -- Regards Rajat Singhal +919718729742 --~--~-~--~~~---~--~~ 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 following guidelines: http://wiki.openqa.org/display/WTR/Support To unsubscribe from this group, send email to watir-general-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/watir-general -~--~~~~--~~--~--~---
[wtr-general] Window Attachment with regular expression in FireWatir
Hi all Can anyone help me how to attach window in firewatir using regular expression(Current window attachment) In Watir i m using: ie = Watir::IE.attach(:title,//) which works perfectly .attach(:title,//) doesn't work with fire watir. Kindly let me know how it is possible with watir. Thanks in advance. --~--~-~--~~~---~--~~ 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 following guidelines: http://wiki.openqa.org/display/WTR/Support To unsubscribe from this group, send email to watir-general-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/watir-general -~--~~~~--~~--~--~---
[wtr-general] Re: Slider Problem
Hi AJ It moves the slider but does not change the time\price value accordingly displayed above the slider . and results are not filtered on changing style value of div. kindly do let me know how it is possible Thanks Rajat Singhal On Thu, Sep 3, 2009 at 4:03 PM, AJ ajithoffic...@gmail.com wrote: Hi Ravinder, You can automate it as shown below, sliderLeft = ie.div(:class = zpSliderButtonHorizontal, :index = 1) // U can identify each slider by providing an appropriate index. sliderLeft.style.value = 10 // Replace 10 with any value. It will move the slider accordingly -AJ On Sep 1, 4:25 pm, Ravinder Singroha ravindersingr...@gmail.com wrote: Hi, We have a scenario wherein we need to drag and drop a slider in order to define a filter for a specific range (time/price). Please find attached the screen-shot for the sliders. Steps to reach the concerned screen:- 1. Gotowww.makemytrip.com 2. Select one-way trip, fill in details and click on Search button 3. Find the sliders for Price and Time range filters on the top left panel Filter Your Results of the resulting Listing page. Please do let us know if it would be possible to automate this scenario using Watir. Thx Ravinder Singroha -- Regards Rajat Singhal +919718729742 --~--~-~--~~~---~--~~ 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 following guidelines: http://wiki.openqa.org/display/WTR/Support To unsubscribe from this group, send email to watir-general-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/watir-general -~--~~~~--~~--~--~---
[wtr-general] Re: How to handle Modal Dialog Box
Hi i have tried the script given on this link but ie.attach is unable to attach modal dialog Thanks On Wed, Sep 9, 2009 at 1:49 PM, Željko Filipin zeljko.fili...@wa-research.ch wrote: On Wed, Sep 9, 2009 at 7:02 AM, Rajat Singhal coolraja...@gmail.com wrote: how to attach modal dialog box This could help: http://wiki.openqa.org/display/WTR/Pop+Ups http://wiki.openqa.org/display/WTR/Modal+Dialogs Željko -- http://watirpodcast.com/ -- Regards Rajat Singhal +919718729742 --~--~-~--~~~---~--~~ 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 following guidelines: http://wiki.openqa.org/display/WTR/Support To unsubscribe from this group, send email to watir-general-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/watir-general -~--~~~~--~~--~--~---
[wtr-general] Re: How to handle Modal Dialog Box
Hi Željko i got no solution on the link you provided its just explains how modal dialog can be created. kindly let me know a proper solution for the same . Thanks in advance. On Wed, Sep 9, 2009 at 2:50 PM, Rajat Singhal coolraja...@gmail.com wrote: Hi i have tried the script given on this link but ie.attach is unable to attach modal dialog Thanks On Wed, Sep 9, 2009 at 1:49 PM, Željko Filipin zeljko.fili...@wa-research.ch wrote: On Wed, Sep 9, 2009 at 7:02 AM, Rajat Singhal coolraja...@gmail.com wrote: how to attach modal dialog box This could help: http://wiki.openqa.org/display/WTR/Pop+Ups http://wiki.openqa.org/display/WTR/Modal+Dialogs Željko -- http://watirpodcast.com/ -- Regards Rajat Singhal +919718729742 -- Regards Rajat Singhal +919718729742 --~--~-~--~~~---~--~~ 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 following guidelines: http://wiki.openqa.org/display/WTR/Support To unsubscribe from this group, send email to watir-general-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/watir-general -~--~~~~--~~--~--~---
[wtr-general] How to handle Modal Dialog Box
Hi All I have a html page (modal_dialog_launcher.html) which contains a modal dialog box(modal_dialog.html): modal_dialog_launcher.html: html head titleModal Browser Dialog Launcher/title /head body h1Modal Browser Dialog Launcher/h1 input type = button value = Launch Dialog onclick = javascript:document.all.modaloutput.value=window.showModalDialog ('modal_dialog.html');/input br/br pText from Modal:/p input type = text name = modaloutput/input /body /html modal_dialog.html: html headtitleModal Dialog/title/head body pEnter some text:/p input type=text name=modal_text / input type=button value=Close onClick=javascript:window.returnValue=modal_text.value; window.close ();/ /body/html I have to set some text in a text filed on modal dialog box I used this code: ie=Watir::IE.attach(:title,'Modal Dialog') ie.text_field(:name,'modal_text').set(watir) But it throws an error: Unable to locate a window with title of Modal Dialog (Watir::Exception::NoMatchingWindowFoundException) can anyone help me ,how to attach modal dialog box and perform some action on its elements. Thanks --~--~-~--~~~---~--~~ 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 following guidelines: http://wiki.openqa.org/display/WTR/Support To unsubscribe from this group, send email to watir-general-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/watir-general -~--~~~~--~~--~--~---