Re: [Selenium-users] 2 same links on one page.

2005-12-25 Thread JamesWang
Hi Tushar My workarounds is the same as Alexandre's.If it didn't work,I think you must work in IE not FF. XPath doesn't work well in IE.   James - Original Message - From: Tushar Shah To: selenium-users@lists.public.thoughtworks.org Sent: Saturday, December 24, 2005

Re: [Selenium-users] 2 same links on one page.

2005-12-22 Thread JamesWang
Hi Tushar Please try //linkLocator[1] or //linkLocator[2].If you test in IE,those xpath _expression_ maybe not work. - Original Message - From: Tushar Shah To: selenium-users@lists.public.thoughtworks.org Sent: Thursday, December 22, 2005 6$57 AM Subject: [Sele

Re: [Selenium-users] install

2005-12-20 Thread JamesWang
Title: install Hi Bernd!    Installing selenium on the server is the best way .But you can use twisted server or selenium-recorder-like-way to run selenium on client.   James - Original Message - From: Paatsch, Bernd To: 'selenium-users@lists.public.thoughtworks.org'

[Selenium-users] selectFrame for the latest source is available!

2005-12-18 Thread JamesWang
Hi everybody! I have post the patch of selectFrame for the latest src of selenium. http://wiki.openqa.org/download/attachments/289/selectFramev1_1_for_latest_src.zip?version=1 In this patch,there is only one core file selenium-browserbot.js that has been modified. Because function pollUntilConditi

[Selenium-users] How can I get the lates source of selenium by no svn

2005-12-08 Thread JamesWang
Hi,everybody! I can't get the latest source of seleniu by svn because the firewall of my company. Before I could download the source from viewcvs directly.I don't know how to do now! Anybody can help me? Thanks in advance. James ___ Selenium-users maili

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

[Selenium-users] selectWindow And frames

2005-10-25 Thread JamesWang
Today I tested a web app of which the first page contained three frames. _ | topFrame | |_| | | | mainFrame | |_| |bottomFrame | |_| There is a link to popup in the mainFrame and I wrote the test scripts of below. |open|ht