@Jarmo your solution deals with the text box dropdown that appears when you start typing in the box my problem is with the dropdown box to the left of that where you can change the area of the site to perform the search in.
On Tue, Oct 18, 2011 at 2:04 PM, bis <[email protected]> wrote: > both the blog post has exactly what i did > http://thechort.com/blog/2011/10/03/strange-issue-with-watir-and-ie/ > > On Tue, Oct 18, 2011 at 12:17 PM, Chuck van der Linden <[email protected]> > wrote: >> Perhaps a timing issue? did you try this only from a script, or >> running those steps via IRB? >> >> On Oct 17, 4:39 pm, bis <[email protected]> wrote: >>> its still there just a bit odd, >>> >>> watir clicks on the drop down ( the one with handmade, vintage, and >>> supplies) but it does not open it one and select one of the items. if >>> you look in my original example at the beginning of this thread it >>> does click open and select another item with watir-webdriver. >>> >>> On Mon, Oct 17, 2011 at 3:23 PM, Chuck van der Linden <[email protected]> >>> wrote: >>> >>> >>> >>> >>> >>> >>> >>> > WOOT, hey Oscar that's great news! (and confirms that the folks at >>> > Etsy are cool folks. I'd be sure to send them a note when it's >>> > finished and encourage them to share it with their own QA folks (who >>> > knows, could be more watir converts to be had there ;-) ) >>> >>> > OK, so after that little tee-crossing side track, where do we stand >>> > with your original problem? >>> >>> > On Oct 17, 10:37 am, bis <[email protected]> wrote: >>> >> The email and response I got back from Etsy about using their site for >>> >> Watir examples >>> >>> >> ===================================== >>> >> Etsy Developer Support [email protected] to me show >>> >> details 10:30 AM (4 minutes ago) >>> >>> >> Hi Oscar, >>> >>> >> Thanks for writing! Although our TOU do specify that you can't access >>> >> the site by automated means, I don't think that your automated testing >>> >> demo is something we'd be concerned about at this time. >>> >>> >> Thanks! >>> >> Justin >>> >> Etsy Developer Supporthttp://www.etsy.com/developers >>> >> ____ >>> >>> >> This message is a private conversation between you and Etsy. Please >>> >> respect this confidentiality and refrain from distributing this >>> >> communication without permission from Etsy. If you feel this message >>> >> was sent to you in error, please delete it and let us know. Thank you. >>> >>> >> On Mon, Oct 2011 at 12:50 PM, [email protected] wrote: >>> >>> >> Hello, My name is Oscar. I am a software tester In my spare time I >>> >> have written up a tutorial that uses your website to show how to use >>> >> automated testing tools. It was brought to my attention that it may >>> >> violate your terms of service for use of API's if it does I will >>> >> gladly take it down. The tutorial is to help show how open source >>> >> tools can be used for automated testing of websites. the code >>> >> repository for this tutorial is >>> >> herehttps://github.com/hammernight/etsy_cucumber_taza_tutorial/Thanks >>> >> Oscar >>> >>> >> ================================================ >>> >>> >> On Oct 10, 2011 6:06 PM, "Cliff Cyphers" <[email protected]> wrote: >>> >>> >> > Chuck >>> >>> >> > Good point, more people need to respect said terms of use. Although >>> >> > one's intentions isn't to inter-fear, perform harm, or use their data >>> >> > for other purposes, it doesn't speak good for the OOS community to not >>> >> > abide. >>> >>> >> > For demo purposes, why not just create a simple site as a rack app or >>> >> > with camping, sinatra, etc. Also, if there are specific test element >>> >> > that would be good to cover for demo purposes I'll put them in the >>> >> > demo site of QA Robusta. So far the demo site supports a JS/CSS drop >>> >> > down menu, tabed pages and an accordion style registration. >>> >>> >> > On Mon, Oct 10, 2011 at 5:59 PM, Chuck van der Linden >>> >> > <[email protected]> wrote: >>> >> > > Sorry for the initial hardline response.. I think I've run into one >>> >> > > to >>> >> > > many 'content rippers' lately who are asking questions about how they >>> >> > > can use watir to access sites with the pretty clear intent of content >>> >> > > theft and I had a bit of a knee-jerk response. >>> >>> >> > > I think the tutorial stuff that Bis and Alister are doing is valuable >>> >> > > stuff and for a noble purpose that would all in all benefit the watir >>> >> > > community. However I think it would be a good idea to get official >>> >> > > permission since while it might be in the spirit of what Etsy is all >>> >> > > about, it is (at least by my reading) against their terms of use, and >>> >> > > their api terms of use. Specifically I think this work would violate >>> >> > > these portions of their agreements: >>> >>> >> > > 1) From their main terms of use: >>> >> > > You agree that you will not use any robot, >>> >> > > spider, scraper or other automated means to access Etsy for any >>> >> > > purpose whatsoever, except to the extent expressly permitted by and >>> >> > > in >>> >> > > compliance with Etsy's API Terms of Use or otherwise without Etsy's >>> >> > > prior express written permission. >>> >>> >> > > any Watir scripts would qualify under 'other automated means' >>> >>> >> > > 2) When we get into their API terms (http://www.etsy.com/developers/ >>> >> > > terms-of-use) it gets thornier because those terms basically restrict >>> >> > > developers to using the API, and Watir isn't doing that. >>> >>> >> > > 9. Website Human Use Restriction And Use of API >>> >> > > The API is the only supported method for users to access data >>> >> > > programmatically from Etsy. The Etsy Website, including Content and >>> >> > > applications is published solely for direct access by human users. >>> >> > > 'Spiders', 'crawlers', 'bots' and all other automated software or >>> >> > > hardware devices designed to access and 'read' or otherwise analyze >>> >> > > the Website independently are prohibited unless they are expressly so >>> >> > > authorized by Etsy. >>> >>> >> > > Again Watir would fall into the general wording of 'all other >>> >> > > automated software ... designed to access..' >>> >>> >> > > Not sure who you wrote to, but the proper address for anything >>> >> > > pertaining to this appears to be "[email protected]" >>> >>> >> > > I hope they will say yes, their site makes an interesting target and >>> >> > > anyone using it to practice their automation skills is going to get >>> >> > > exposed to some interesting stuff for sale and might even buy >>> >> > > something. >>> >>> >> > > If they say no then an alternative will need to be found. Or we >>> >> > > might >>> >> > > even have to create out own (which might be an interesting project).. >>> >> > > I know Bret had something he was using for training when he was >>> >> > > trying >>> >> > > to make a go of 'watircraft' so if this is a non starter that might >>> >> > > be >>> >> > > one place to start. (I'd love to eventually have our own training >>> >> > > site, perhaps even persuade some of the third party tools venders to >>> >> > > allow us to put samples of their stuff up on it so we could end up >>> >> > > creating demonstrations of how to code against all these various >>> >> > > wacky >>> >> > > javascript controls for things like treeviews, multi-select lists, >>> >> > > etc. >>> >>> >> > > On Oct 10, 10:57 am, Jari Bakken <[email protected]> wrote: >>> >> > >> You may be interested in Alister's Etsy code >>> >> > >> athttps://github.com/alisterscott/EtsyWatirWebDriver/ >>> >>> >> > >> On Mon, Oct 10, 2011 at 6:56 PM, bis <[email protected]> wrote: >>> >> > >> > No I do not work for Etsy in any way, Also the automated tests >>> >> > >> > using watir, >>> >> > >> > taza, rspec, and cucumber do not violate the terms of use for the >>> >> > >> > site or >>> >> > >> > api as far as i understand them. >>> >>> >> > >> > But in your concern I have fired off a letter to Etsy about this >>> >> > >> > and the >>> >> > >> > ToS. Also if this is in fact the case then I will also send an >>> >> > >> > email to >>> >> > >> > everyone else that has written a tutorial or testing examples >>> >> > >> > using the Etsy >>> >> > >> > site as well >>> >>> >> > >> > this is my blog post about the tests I wrote against etsy >>> >> > >> >http://thechort.com/blog/?p=105 >>> >> > >> > and the code >>> >> > >> >https://github.com/hammernight/etsy_cucumber_taza_tutorial/ >>> >>> >> > >> > On Mon, Oct 10, 2011 at 1:10 PM, Chuck van der Linden >>> >> > >> > <[email protected]>wrote: >>> >>> >> > >> >> Before we go any further assisting you with this, can you offer >>> >> > >> >> some >>> >> > >> >> assurance that you are either working for Etsy or have specific >>> >> > >> >> written permission to interface with their site in this way? >>> >>> >> > >> >> Otherwise what you are doing violates their terms of service (see >>> >> > >> >> below) and while I cannot speak for others, I for one refuse to >>> >> > >> >> be a >>> >> > >> >> party to any such activity. >>> >>> >> > >> >> From Etsy's terms of service: >>> >>> >> > >> >> "11. Access and Interference >>> >>> >> > >> >> Etsy may contain robot exclusion headers which contain internal >>> >> > >> >> rules >>> >> > >> >> for software usage. Much of the information on Etsy is updated >>> >> > >> >> on a >>> >> > >> >> real-time basis and is proprietary or is licensed to Etsy by >>> >> > >> >> Etsy's >>> >> > >> >> users or third-parties. You agree that you will not use any >>> >> > >> >> robot, >>> >> > >> >> spider, scraper or other automated means to access Etsy for any >>> >> > >> >> purpose whatsoever, except to the extent expressly permitted by >>> >> > >> >> and in >>> >> > >> >> compliance with Etsy's API Terms of Use or otherwise without >>> >> > >> >> Etsy's >>> >> > >> >> prior express written permission. Additionally, you agree that >>> >> > >> >> you >>> >> > >> >> will not: >>> >>> >> > >> >> Take any action that imposes, or may impose, in Etsy's sole >>> >> > >> >> discretion, an unreasonable or disproportionately large load on >>> >> > >> >> Etsy's >>> >> > >> >> infrastructure >>> >> > >> >> Copy, reproduce, modify, create derivative works from, >>> >> > >> >> distribute >>> >> > >> >> or publicly display any user Content (except for your Content) or >>> >> > >> >> other allowed uses as set out in The DOs & DON'Ts of Etsy from >>> >> > >> >> the >>> >> > >> >> Site except to the extent expressly permitted by and in >>> >> > >> >> compliance >>> >> > >> >> with Etsy's API Terms of Use or otherwise without the prior >>> >> > >> >> express >>> >> > >> >> written permission of Etsy and the appropriate third party, as >>> >> > >> >> applicable >>> >> > >> >> Interfere or attempt to interfere with the proper working of >>> >> > >> >> the >>> >> > >> >> Site or any activities conducted on the Site >>> >> > >> >> Bypass Etsy's robot exclusion headers or other measures Etsy >>> >> > >> >> may >>> >> > >> >> use to prevent or restrict access to Etsy >>> >> > >> >> " >>> >>> >> > >> >> On Oct 3, 10:27 am, bis <[email protected]> wrote: >>> >> > >> >> > Ok, So I came across a strange issue clicking on this drop >>> >> > >> >> > down in >>> >> > >> >> watir. >>> >> > >> >> > but I don't get the same thing using watir-webdriver. >>> >>> >> > >> >> > I can click the button and it should open the drop down(list) >>> >> > >> >> > and I >>> >> > >> >> should >>> >> > >> >> > be able to click on one of the items in that list. but when >>> >> > >> >> > watir fires >>> >> > >> >> the >>> >> > >> >> > click i see it clicking but it does not open the drop >>> >> > >> >> > down(list) >>> >>> ... >>> >>> read more » >> >> -- >> Before posting, please read http://watir.com/support. In short: search >> before you ask, be nice. >> >> [email protected] >> http://groups.google.com/group/watir-general >> [email protected] >> > -- Before posting, please read http://watir.com/support. In short: search before you ask, be nice. [email protected] http://groups.google.com/group/watir-general [email protected]
