Hi Daniel, implementation shows some progress. I ported you test sample and it seems to work with contentButton.Click()
I double checked some stuff and find out, that Selected always returns false. This can be an known issue, cause the Button has TagName="div", but this must be an <input>. See also : https://code.google.com/p/selenium/issues/detail?id=2627 Is this the same with your java Version, or is there something wrong with my implementation? Thx in advance Markus -----Ursprüngliche Nachricht----- Von: Daniel Wagner [mailto:daniel.wag...@1und1.de] Gesendet: Freitag, 24. Mai 2013 16:06 An: Markus Schneiders; qooxdoo-devel@lists.sourceforge.net Betreff: Re: [qooxdoo-devel] QooxDoo + Selenium Webdriver + Nunit The JS snippets used by QxWebDriver are all defined as self-contained functions, which makes them easy to debug: I can just include them in a qx demo application and run the code from the browser's console without having to start a WebDriver session. But WebDriver's JavascriptExecutor.executeScript method executes the JS code you give it as the body of an anonymous function, so manipulateResource simply uses a naive RegEx to extract the function body. Regards, Daniel On 24.05.2013 07:49, Markus Schneiders wrote: > Hi Daniel, > > i have one question. I am not 100% sure what the function of the > manipulateResource Method in the JavaScript Class is. > > Thx for Help > Markus > > -----Ursprüngliche Nachricht----- > Von: Daniel Wagner [mailto:daniel.wag...@1und1.de] > Gesendet: Freitag, 17. Mai 2013 10:08 > An: Markus Schneiders; qooxdoo-devel@lists.sourceforge.net > Betreff: Re: [qooxdoo-devel] QooxDoo + Selenium Webdriver + Nunit > > On 17.05.2013 08:25, Markus Schneiders wrote: >> Hi Daniel, >> >> thanks for your answer. I will take a look into your Implementation. Perhaps >> I port this into C# and make my own implementation. Is this OK for you? > > Sure, let me know if you have any questions about the implementation. If you > decide to go ahead with the port, it would be great if you could open source > your efforts so other people testing in C# can benefit from it. > > Regards, > Daniel > >> >> Kind Regards >> Markus >> >> -----Ursprüngliche Nachricht----- >> Von: Daniel Wagner [mailto:daniel.wag...@1und1.de] >> Gesendet: Donnerstag, 16. Mai 2013 17:06 >> An: Markus Schneiders; qooxdoo-devel@lists.sourceforge.net >> Betreff: Re: [qooxdoo-devel] QooxDoo + Selenium Webdriver + Nunit >> >> Hi Markus, >> >> On 16.05.2013 13:46, Markus wrote: >>> Hi, >>> >>> i want to write Test against Selenium WebDriver. The only Solution i >>> found is qooxdoo-webdriver-java. >>> >>> Cause i programm test in C# (Nunit) i cant use this Library. >>> >>> Is there an other way for using Webdriver with Qooxdoo. >> >> Nope, sorry. You can of course use plain WebDriver, but you'd have to >> implement at least some of qxwebdriver-java's features, such as >> waiting for the application to load, locating list or menu entries >> etc. Most of that stuff is done in client-side JS that can be used >> from any WebDriver >> implementation: >> >> https://github.com/qooxdoo/qxwebdriver-java/tree/master/src/main/reso >> u >> rces/javascript >> >>> >>> In the past it was possible with Selenium RC and the qooxdoo script, >>> but this wont be supported in the future, or is this wrong? >> >> No, Selenium RC is no longer being developed and so we've also pretty much >> stopped maintaining qooxdoo's built-in support for it. It still works as of >> now (it's used for the framework's automated test suite) but I wouldn't >> start a new project based on it. >> >> >> Regards, >> Daniel >> >> --------------------------------------------------------------------- >> - >> -------- AlienVault Unified Security Management (USM) platform >> delivers complete security visibility with the essential security >> capabilities. Easily and efficiently configure, manage, and operate all of >> your security controls from a single console and one unified framework. >> Download a free trial. >> http://p.sf.net/sfu/alienvault_d2d >> _______________________________________________ >> qooxdoo-devel mailing list >> qooxdoo-devel@lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel >> >> --------------------------------------------------------------------- >> - >> -------- AlienVault Unified Security Management (USM) platform >> delivers complete security visibility with the essential security >> capabilities. Easily and efficiently configure, manage, and operate >> all of your security controls from a single console and one unified >> framework. Download a free trial. >> http://p.sf.net/sfu/alienvault_d2d >> _______________________________________________ >> qooxdoo-devel mailing list >> qooxdoo-devel@lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel >> >> > > ---------------------------------------------------------------------- > -------- AlienVault Unified Security Management (USM) platform > delivers complete security visibility with the essential security > capabilities. Easily and efficiently configure, manage, and operate all of > your security controls from a single console and one unified framework. > Download a free trial. > http://p.sf.net/sfu/alienvault_d2d > _______________________________________________ > qooxdoo-devel mailing list > qooxdoo-devel@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel > > ---------------------------------------------------------------------- > -------- Try New Relic Now & We'll Send You this Cool Shirt New Relic > is the only SaaS-based application performance monitoring service that > delivers powerful full stack analytics. Optimize and monitor your > browser, app, & servers with just a few lines of code. Try New Relic > and get this awesome Nerd Life shirt! > http://p.sf.net/sfu/newrelic_d2d_may > _______________________________________________ > qooxdoo-devel mailing list > qooxdoo-devel@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel > > ------------------------------------------------------------------------------ Try New Relic Now & We'll Send You this Cool Shirt New Relic is the only SaaS-based application performance monitoring service that delivers powerful full stack analytics. Optimize and monitor your browser, app, & servers with just a few lines of code. Try New Relic and get this awesome Nerd Life shirt! http://p.sf.net/sfu/newrelic_d2d_may _______________________________________________ qooxdoo-devel mailing list qooxdoo-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel ------------------------------------------------------------------------------ Introducing AppDynamics Lite, a free troubleshooting tool for Java/.NET Get 100% visibility into your production application - at no cost. Code-level diagnostics for performance bottlenecks with <2% overhead Download for free and get started troubleshooting in minutes. http://p.sf.net/sfu/appdyn_d2d_ap1 _______________________________________________ qooxdoo-devel mailing list qooxdoo-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel