Hi,
Yes - HTML-IDs.
With the version 1.3.1 the IDs work.
We create the IDs with the following snippet
"widget.getContainerElement().setAttribute("id", "blablabla");".
I tried it with selenium IDE - see the debug log below
* [debug] createForWindow
* [debug] browserName: Netscape
* [debug] userAgent: Mozilla/5.0 (Windows; U; Windows NT 6.1; de;
rv:1.9.2.16) Gecko/20110319 Firefox/3.6.16
* [debug] modifyWindow seleniumMarker1303214621519:undefined
* [debug] _getFrameElement: frameElement=null
* [debug] isPollingForLoad false, this.pollingForLoad[1]: undefined
* [debug] Starting pollForLoad (selenium1303214621521):
https://test.dev.qa/testmanager
* [debug] _getFrameElement: frameElement=null
* [debug] pollForLoad original (selenium1303214621521):
https://test.dev.qa/testmanager
* [debug] _isSamePage: currentHref: https://test.dev.qa/testmanager
* [debug] _isSamePage: originalHref: https://test.dev.qa/testmanager
* [debug] _isSamePage: sameDoc: true
* [debug] _isSamePage: sameLoc: true
* [debug] _isSamePage: sameHref: true
* [debug] _isSamePage: markedLoc: true
* [debug] pollForLoad continue (selenium1303214621521): undefined
* [debug] modifyWindow seleniumMarker1303214621519:undefined
* [debug] _getFrameElement: frameElement=[object XPCNativeWrapper
[object HTMLIFrameElement]]
* [debug] frameElement.name=
* [debug] isPollingForLoad false, missing uniqueId
seleniumMarker1303214621519: undefined
* [debug] Starting pollForLoad (selenium1303214621528):
https://test.dev.qa/stats/
* [debug] _getFrameElement: frameElement=[object XPCNativeWrapper
[object HTMLIFrameElement]]
* [debug] frameElement.name=
* [debug] modifySeparateTestWindowToDetectPageLoads: this window is a
frame; attaching a load listener
* [debug] dgf this.uniqueId=seleniumMarker1303214621519
* [debug] dgf marker=selenium1303214621528
* [debug] dgf frameElement['frame'+this.uniqueId]=selenium1303214621528
* [debug] dgf frameElement[this.uniqueId]=selenium1303214621528
* [debug] getCurrentWindow newPageLoaded = false
* [debug] currentTest.start()
* [debug] currentTest.continueTest() - acquire the next command
* [debug] currentTest.continueTestAtCurrentCommand()
* [debug] currentTest.resume() - actually execute
* [debug] runScheduledPollers
* [debug] pollForLoad original (selenium1303214621521):
https://test.dev.qa/testmanager
* [debug] _isSamePage: currentHref: https://test.dev.qa/testmanager
* [debug] _isSamePage: originalHref: https://test.dev.qa/testmanager
* [debug] _isSamePage: sameDoc: true
* [debug] _isSamePage: sameLoc: true
* [debug] _isSamePage: sameHref: true
* [debug] _isSamePage: markedLoc: true
* [debug] pollForLoad continue (selenium1303214621521): undefined
* [debug] runScheduledPollers DONE
* [info] Executing: |qxClick | qxidv=menuConfiguration | |
* [debug] Command found, going to execute qxClick
* [debug] modifyWindow seleniumMarker1303214621519:selenium1303214621521
* [debug] _getFrameElement: frameElement=null
* [debug] modifySeparateTestWindowToDetectPageLoads: already polling
this window: selenium1303214621521
* [debug] modifyWindow seleniumMarker1303214621519:1
* [debug] _getFrameElement: frameElement=[object XPCNativeWrapper
[object HTMLIFrameElement]]
* [debug] frameElement.name=
* [debug] modifySeparateTestWindowToDetectPageLoads: already polling
this window: selenium1303214621528
* [debug] getCurrentWindow newPageLoaded = false
* [info] Locate visible qooxdoo widget by HTML ID=menuConfiguration,
inDocument=[object XPCNativeWrapper [object HTMLDocument]],
inWindow=https://test.dev.qa/testmanager
* [debug] modifyWindow seleniumMarker1303214621519:selenium1303214621521
* [debug] _getFrameElement: frameElement=null
* [debug] modifySeparateTestWindowToDetectPageLoads: already polling
this window: selenium1303214621521
* [debug] modifyWindow seleniumMarker1303214621519:1
* [debug] _getFrameElement: frameElement=[object XPCNativeWrapper
[object HTMLIFrameElement]]
* [debug] frameElement.name=
* [debug] modifySeparateTestWindowToDetectPageLoads: already polling
this window: selenium1303214621528
* [debug] getCurrentWindow newPageLoaded = false
* [error] qxidv Locator: Couldn't find a visible widget for the HTML
element with the ID menuConfiguration
* [info] Locate visible qooxdoo widget by HTML ID=menuConfiguration,
inDocument=[object XPCNativeWrapper [object HTMLDocument]],
inWindow=https://test.dev.qa/stats/
* [error] qxidv Locator: Couldn't find an element with the ID
menuConfiguration
* [error] Element qxidv=menuConfiguration not found
* [debug] testComplete: failed=false
--
View this message in context:
http://qooxdoo.678.n2.nabble.com/Seleinum-problems-after-update-to-1-4-tp6286291p6287004.html
Sent from the qooxdoo mailing list archive at Nabble.com.
------------------------------------------------------------------------------
Benefiting from Server Virtualization: Beyond Initial Workload
Consolidation -- Increasing the use of server virtualization is a top
priority.Virtualization can reduce costs, simplify management, and improve
application availability and disaster protection. Learn more about boosting
the value of server virtualization. http://p.sf.net/sfu/vmware-sfdev2dev
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel