RE: [Selenium-users] Test runner mode compared to driver mode
Title: RE: [Selenium-users] Test runner mode compared to driver mode I use Python. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] On Behalf Of Dan Fabulich Sent: Friday, January 13, 2006 6:03 PM To: selenium-users@lists.public.thoughtworks.org Cc: [EMAIL PROTECTED] Subject: Re: [Selenium-users] Test runner mode compared to driver mode Paatsch, Bernd wrote: > Test runner mode is great. It just plain works. > > So I went to see how the driven mode is and I just translated the > script I had from the runner mode into the driven mode. However trying > to login to the web site I get "The system could not log you in using > the provided username and password. Please try again." > > What might cause the problem? Please always specify *which* driver you're using. There are numerous drivers in multiple languages (Java, .NET, Perl, Python, Ruby) and different problems may appear in different drivers. I've never seen the problem you describe in the Java driver. -Dan ___ Selenium-users mailing list Selenium-users@lists.public.thoughtworks.org http://lists.public.thoughtworks.org/mailman/listinfo/selenium-users ___ Selenium-users mailing list Selenium-users@lists.public.thoughtworks.org http://lists.public.thoughtworks.org/mailman/listinfo/selenium-users
[Selenium-users] Test runner mode compared to driver mode
Title: Test runner mode compared to driver mode Hello, Test runner mode is great. It just plain works. So I went to see how the driven mode is and I just translated the script I had from the runner mode into the driven mode. However trying to login to the web site I get "The system could not log you in using the provided username and password. Please try again." What might cause the problem? Thanks, Bernd ___ Selenium-users mailing list Selenium-users@lists.public.thoughtworks.org http://lists.public.thoughtworks.org/mailman/listinfo/selenium-users
RE: [Selenium-users] Test result logs in test runner mode
Title: RE: [Selenium-users] Test result logs in test runner mode When I like to generate reports in test runner mode I would have to change the source code then? Or is there any other way? -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] On Behalf Of Dan Fabulich Sent: Friday, January 13, 2006 3:26 PM To: selenium-users@lists.public.thoughtworks.org Cc: [EMAIL PROTECTED] Subject: Re: [Selenium-users] Test result logs? Paatsch, Bernd wrote: > Where can I find the logs that are generated during a test run? In the pure-_javascript_ mode, the logs are only generated if you click on the "Show Log" button prior to launching your tests. The logs are written directly into that window. In Driven mode, it's up to the driver code to do the logging... log anywhere you like. -Dan ___ Selenium-users mailing list Selenium-users@lists.public.thoughtworks.org http://lists.public.thoughtworks.org/mailman/listinfo/selenium-users ___ Selenium-users mailing list Selenium-users@lists.public.thoughtworks.org http://lists.public.thoughtworks.org/mailman/listinfo/selenium-users
[Selenium-users] Test result logs?
Title: Test result logs? Hello, Where can I find the logs that are generated during a test run? Thanks, Bernd ___ Selenium-users mailing list Selenium-users@lists.public.thoughtworks.org http://lists.public.thoughtworks.org/mailman/listinfo/selenium-users
RE: [Selenium-users] How to select a particular checkbox within a table? javascript attempted
Title: How to select a particular checkbox within a table? I am not a java programmer but I believe I can solve my problem extending selenium's ser-extensions.js with following code: What do the _javascript_ people think about the code option? Selenium.prototype.findGroupCheckBox(text) { //returns the value of the the chechbox by name var value; //find all anchor elements var elements = this.page().findElement('a'); for (n in elements) { // if text is in element then the value of value needs to be returned out if(elements.search(text)) != -1) { var start = elements[n].lastIndexOf('='); var end = elements[n].lastIndexOf('"'); value = elements[n].slice(start, end); return value; } } return null; } From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Paatsch, BerndSent: Friday, January 13, 2006 11:24 AMTo: selenium-users@lists.public.thoughtworks.org; [EMAIL PROTECTED]Subject: [Selenium-users] How to select a particular checkbox within a table? I like to select one particular checkbox. The only reference I have is the name "first" or " second" as you can see in the html sample code. The value attribute unfortunately is driven by an database and changes. Therefore I can not say that value="70" is always the first checkbox. So the only way I can select the right checkbox is looking for the name "first/second" and then select the prior table cell checkbox. Xpath buffs is there a way to do that? I tried: storeAttribute //tr[position()>1]/td[2][a=first]/preceding-sibling::tr/[EMAIL PROTECTED] HTML-code-sample: Name Type first Dispatch second Dispatch *** Bernd Paatsch ___ Selenium-users mailing list Selenium-users@lists.public.thoughtworks.org http://lists.public.thoughtworks.org/mailman/listinfo/selenium-users
[Selenium-users] How to select a particular checkbox within a table?
Title: How to select a particular checkbox within a table? I like to select one particular checkbox. The only reference I have is the name "first" or " second" as you can see in the html sample code. The value attribute unfortunately is driven by an database and changes. Therefore I can not say that value="70" is always the first checkbox. So the only way I can select the right checkbox is looking for the name "first/second" and then select the prior table cell checkbox. Xpath buffs is there a way to do that? I tried: storeAttribute //tr[position()>1]/td[2][a=first]/preceding-sibling::tr/[EMAIL PROTECTED] HTML-code-sample: Name Type Dispatch Dispatch *** Bernd Paatsch ___ Selenium-users mailing list Selenium-users@lists.public.thoughtworks.org http://lists.public.thoughtworks.org/mailman/listinfo/selenium-users
[Selenium-users] install
Title: install Hello, I am new to selenium and try to figure out if the tool will work for me. Selenium has to be installed on the web-server in the same folder as where the application resides? If this is correct then I could not use selenium if I do not have access to the server? Thanks for the help. --Bernd ___ Selenium-users mailing list Selenium-users@lists.public.thoughtworks.org http://lists.public.thoughtworks.org/mailman/listinfo/selenium-users