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
------------------------------------------------------------------------------
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel