[wtr-general] How to read data from XML file
Hi Friends, I am working on developing scripts in watir, now i want to read data from XML file and update some data from XML file, and verify the updated changes in Frontend. Can you pls help on this, how to read data from XML in Watir. Best regards, Ramesh S --~--~-~--~~~---~--~~ 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 read data from XML file
On Tue, Sep 15, 2009 at 9:01 AM, Ramesh rameshs_1...@yahoo.co.in wrote: Can you pls help on this, how to read data from XML in Watir. http://groups.google.com/group/watir-general/browse_thread/thread/e661b63a0ec40d33/ Željko -- http://watirpodcast.com/ --~--~-~--~~~---~--~~ 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: Firewatir updated to support Firefox 3.5?
On Tue, Sep 15, 2009 at 9:12 AM, Julian Harris julian.har...@gmail.com wrote: FF3.5-compatible XPI Links for popular platforms are here: http://wiki.openqa.org/display/WTR/FireWatir+Installation#FireWatirInstallation-ProductionFireWatir Željko -- http://watirpodcast.com/ --~--~-~--~~~---~--~~ 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 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] Re: Slider Problem
well, some javascript script even has not been triggered, you can ask the developer for the javascript event that is being invoked and invoke the same, as we know that in watir we can execute javascript statements as well. Regards, Karim Rayani On Tue, Sep 15, 2009 at 3:18 PM, Rajat Singhal coolraja...@gmail.com wrote: 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.com wrote: 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 -- Regards, Alkarim Rayani --~--~-~--~~~---~--~~ 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 verify whether image is loaded or not?
Hi, using Watir,I want to check whether image on a page is loaded or not? But my image is basically point to a URL.('showSmallProductImage.htm? productId='+prodID) How I will use this to check whether image is loaded or not? Below is the html code:- prodID = '4028480d2332b52801233b8e92d30414'; prodName = 'Varian CP-3800 and CP-3900 GC'; productImage = 'showSmallProductImage.htm? productId='+prodID; productCode = 'DC-00100045'; releaseDate = '21-May-2009'; description = 'The 3900 GC is a single channel, fixed configuration GC incorporating the same outsta'; cdsName = 'OpenLAB'; instrumentName = 'Varian 3800 GC'; vendor = 'Persistent Systems Inc.'; cdsColor = '#CC'; isPublished = 'true'; var productLink = product.htm?id=+prodID; var product = new Object(); product.prodID = prodID; product.productLink = productLink; product.productImage = productImage; product.productCode = productCode; product.releaseDate = releaseDate; product.cdsName = cdsName; product.instrumentName = instrumentName; product.vendor = vendor; product.cdsColor = cdsColor; product.isPublished = isPublished; if(description.length 72) description = description.substring(0,72) + '...'; if(prodName.length 52) prodName = prodName.substring(0,52) + '...'; product.productName = prodName; product.description = description; Thanks Maumita --~--~-~--~~~---~--~~ 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: Firewatir updated to support Firefox 3.5?
thanks! On Tue, Sep 15, 2009 at 9:32 AM, Željko Filipin zeljko.fili...@wa-research.ch wrote: On Tue, Sep 15, 2009 at 9:12 AM, Julian Harris julian.har...@gmail.com wrote: FF3.5-compatible XPI Links for popular platforms are here: http://wiki.openqa.org/display/WTR/FireWatir+Installation#FireWatirInstallation-ProductionFireWatir Željko -- http://watirpodcast.com/ --~--~-~--~~~---~--~~ 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: Firewatir updated to support Firefox 3.5?
On Tue, Sep 15, 2009 at 1:02 PM, Julian Harris julian.har...@gmail.com wrote: thanks! I come to serve. :) http://www.wowwiki.com/Quotes_of_Warcraft_II Željko --~--~-~--~~~---~--~~ 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: Handling Java Script button
On Tue, Sep 15, 2009 at 8:27 PM, dk dkora...@gmail.com wrote: aFind/a It may look like a button, but it is a link. This might work: browser.link(:text, Find).click or browser.link(:text, /Find/).click http://wiki.openqa.org/display/WTR/Links Željko -- http://watirpodcast.com/ --~--~-~--~~~---~--~~ 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: Selecting a url from an array
Ash - glad you got it working. Regarding the regular expression, SciTE recognizes this as valid: $links.detect { |$links| /^http:\/\/word/=~ $links } How is the format incorrect? orde On Sep 14, 2:13 am, ash ashbr...@gmail.com wrote: OK, so I am a plonker. Just needed to store the result of my .detect as a variable then use $browser.goto. Hope I haven't wasted anybody's time. Cheers...Ash On Sep 14, 10:05 am, ash ashbr...@gmail.com wrote: Got it to work now after several iterations. .detect is now giving me the url I need. So how do I select this url? --~--~-~--~~~---~--~~ 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] Handling Java Script button
Hi all, I am trying to click a button which makes an ajax call. However, i am not able to find the right identifier for the button. in the ie.button method, I tried id, name, value, caption etc mentioned in the rdoc - but i think i am missing something. Any help is appreciated. Here is the html tag of the button - its a button to execute a search on the page - a Find button. a onclick=$.ajax({data:'country_name='+$ ('#compass_scope_country_name').val() + 'amp;authenticity_token=' + encodeURIComponent('MD+mN3MWCFRoig0opXquHHvZn9k89IG69ECPrbz94VY='), success:function(request){$('#locations_box').html(request);}, type:'get', url:'http://127.0.0.1:3006/list_location_divisions'}); return false; href=# class=icon_button ui-state-default ui-corner- allspan class=ui-icon-scissors/ Find/a --~--~-~--~~~---~--~~ 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 -~--~~~~--~~--~--~---