[Selenium-users] Selenium handling of AJAX autocomplete 'virtual' lists

2005-11-14 Thread Jake . Shapiro
Note: This e-mail is subject to the disclaimer contained at the bottom of this message. Greetings, I need selenium to select a value in the ajax - generated select list ( step 3 in sequence below ) after selenium 'types' first few characters of the word into associated text input field

Re: [Selenium-users] Finding the order of occurence elements / text

2005-11-14 Thread Darren Cotterill
Hi, I have a user-extension that looks for the order of text in the page. You could probably modify this for elements : Selenium.prototype.assertTextOrder = function(textValues) { var allText = this.page().bodyText(); var expectedTextValues = textValues.parseCSV(); for (var i = 0; i

Re: [Selenium-users] Finding the order of occurence elements / text

2005-11-14 Thread JamesWang
Hi,Rahul   Maybe you can descript your case in details.I think an example will helpful.   James - Original Message - From: Rahul Chaturvedi To: selenium-users@lists.public.thoughtworks.org Sent: Monday, November 14, 2005 1$48 PM Subject: [Selenium-users] Findin

Re: [Selenium-users] Regarding child windows and dialogs

2005-11-14 Thread JamesWang
Hi,Raj Below is the function by which Selenium selects the popup: BrowserBot.prototype.getTargetWindow = function(windowName) { LOG.debug("getTargetWindow(" + windowName + ")"); // First look in the map of opened windows var targetWindow = this.openedWindows[windowName]; if (!targ

Re: [Selenium-users] Conditional checks

2005-11-14 Thread Jason R Huggins
Rahul Chaturvedi wrote on 11/14/2005 03:17:16 AM: > Problem: > depending upon some condition I need to verify some text or click some > link.(viz: If some element/text is present then only do something > otherwise do something else) > following is the rough flow chart kind of thing just to make it

Re: [Selenium-users] passing a variable between scripts in a suite

2005-11-14 Thread Peter Bernier
Hi Ken, You may want to consider refactoring your tests to run in a single script. (Or have two scripts, but copy the first one into the second). It's generally good unit-testing practice to have all setup/teardown operations done (or at least called) within each individual script. The reason f

[Selenium-users] passing a variable between scripts in a suite

2005-11-14 Thread Ken Mizell
Hi, I need to use a variable for username since each time i run my tests i need to create a new (unique) user ID.  In my suite i have three tests:   Create Account Login logout   in "Create Account" I create a variable called username and store the name for this run in it storefred1UserName then

Re: [Selenium-users] Conditional checks

2005-11-14 Thread Alexandre Garel
Rahul Chaturvedi a écrit : Problem: depending upon some condition I need to verify some text or click some link.(viz: If some element/text is present then only do something otherwise do something else) It's not possible with selenium Html table tests. Normally a test case is considered to

Re: [Selenium-users] Conditional checks

2005-11-14 Thread Russ Thomas
> Selenium developers don't want such optional statement in selenium   Why?  Am I missing something?  this isn't unit testing, it's functional testing...   Sorry, but this is hardly pragmatic - we need this.  If the Selenium developers want to empower us, I'm sure they could add it.  I, for

[Selenium-users] Conditional checks

2005-11-14 Thread Rahul Chaturvedi
Problem: depending upon some condition I need to verify some text or click some link.(viz: If some element/text is present then only do something otherwise do something else) following is the rough flow chart kind of thing just to make it more clear:(in my test case I want a feature like this)- if