Daniel Wagner wrote:
> Hi,
>
> Olivier ZORO-BI schrieb:
>
>> Hi Daniel,
>> Thanks for your quick answer.
>>
>> / /I use the qxh locator as follow:
>>
>> var intField = new qx.ui.form.TextField("");
>> intField.seleniumId = "intField";
>> var intFieldLabel = new qx.ui.basic.Label("IntField:");
>> intFieldLabel.seleniumId = "intFieldLabel";
>>
>> selenium.click("qx...@seleniumid=fieldswindow]/*/[...@seleniumid=intfieldlabel]");
>>
>>
>> selenium.type("qxh=*/[...@seleniumid=intfield]", "1111");
>>
>> As you said, the property value is interpreted as a regular
>> expression, and It seems to be the same for qxh locator.
>> I tried more precise expression with
>> selenium.type("qxh=*/[...@seleniumid=^intfield$]", "1111");
>> and It seems to work.
>> So I'll try to be more precise.
>>
>> But my "seleniumId" might not have certain characters (*,.,+,|, ...) ?
>
> All the rules for JavaScript regular expressions apply, so you can use
> backslashes to escape these characters in your expression.
>
>>
>> Olivier.
>>
>>
>
> Regards,
> Daniel
>
Hi Daniel,
I have another question about qooxdoo and selenium.
I know how to click on table rows but not how to type on a table row.
I use this to click:
selenium.qxTableClick("qxhLocator", "row=0, col=0"); Is there a like way
to do the same to type in a table?
Regards,
Olivier
------------------------------------------------------------------------------
ThinkGeek and WIRED's GeekDad team up for the Ultimate
GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the
lucky parental unit. See the prize list and enter to win:
http://p.sf.net/sfu/thinkgeek-promo
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel