GNOME Bugzilla – Bug 542909
LDTP is not recognizing Firefox 3
Last modified: 2018-09-11 19:53:20 UTC
Please describe the problem: Using Ubuntu Intripid Alpha1 (Firefox 3.0). Although at-poke and accerciser are recognizing Firefox 3 correctly, the ldtpeditor is not. Moreover, the recognition of the Firefox 3 window with python ldtp scripts is not working. Steps to reproduce: 1. Using Ubuntu Intrepid alpha1 2. Enable Accesibility (System -> Preferences -> Assistive Technologies; and check "Enable assitive technologies). log out and log in again for changes to be in place. 3. Open Firefox 4. Using a AT-SPI browser (at-poke or accerciser, i.e.) check the accesibility information for that application. Everything is OK. 5. Open the ldtpeditor and try to recognize the Firefox window. It fails. Actual results: Firefox does not get recognize by LDTP Expected results: Firefox getting recognized by LDTP Does this happen every time? Yes Other information:
The about dialog within Firefox is being recognized correctly, but not the Firefox frame for example.
LDTP isn't recognizing LDTP editor (ldtpeditor) either. -- How to reproduce -- * Get a python console. (ipython is better) * import ldtp * launch ldtpeditor * Go to the python console and enter : ldtp.getwindowlist() see that "LDTP editor" doesn't appear in the list. This may be on purpose, but I was in the middle of writing a bug report. Then I wanted to write a script that show how LDTP editor makes Anjuta crash. The idea was that the script would be the : "How to reproduce the bug". It is when I discovered that LDTP cannot see LDTP editor. This makes a testcase script impossible to write.
(In reply to comment #2) > LDTP isn't recognizing LDTP editor (ldtpeditor) either. Its purposely restricted not to expose the LDTP editor to accessibility interface ! If we enable accessibility, then the complete desktop will hang. > > -- How to reproduce -- > * Get a python console. (ipython is better) > * import ldtp > * launch ldtpeditor > * Go to the python console and enter : ldtp.getwindowlist() > > see that "LDTP editor" doesn't appear in the list. > > This may be on purpose, but I was in the middle of writing a bug report. > Then I wanted to write a script that show how LDTP editor makes Anjuta crash. > The idea was that the script would be the : "How to reproduce the bug". > It is when I discovered that LDTP cannot see LDTP editor. > > This makes a testcase script impossible to write. >
Any news on LDTP not recognizing Firefox 3?
Hello, I'm using Firefox 3.0.7 and having the same problem: > [window for window in ldtp.getwindowlist() if window.endswith('Firefox')] [u'frmBug542909-LDTPisnotrecognizingFirefox3(LDTP)-MozillaFirefox'] > ldtp.getobjectlist('*Firefox') [u'frmBug542909-LDTPisnotrecognizingFirefox3(LDTP)-MozillaFirefox', u'unk0'] If you need some other information just let me know. Thanks. Best regards, Javier
Ara: Its bug in Firefox, even if you check with Accerciser, you can't get all the widget information. I remember Eitan gave me a bug link, let me cc him on this bug :)
Hi, I believe this bug 535827 might be useful. I guess somebody should file a downstream LP bug for this too since this is mainly observed on prerelease Jaunty.
Ok, Filed a buf in LP too: https://bugs.launchpad.net/ubuntu/+source/firefox/+bug/348443
davidb at irc.mozilla.org kindly pointed me to a workaround that solves the problem (comment #4): https://bugzilla.mozilla.org/show_bug.cgi?id=460926#c4 Now it's possible to write automated testing scripts for Firefox 3 in Ubuntu.
This is already commented in: https://bugs.launchpad.net/ubuntu/+source/firefox-3.0/+bug/348443 Anyway I wanted to add here that according Ginn Chenn, from the Sun team working on Mozilla Accessibility (http://www.mozilla.org/access/unix/architecture), this issue should be solved with at-spi 1.24.1 and firefox 3.1 beta 3
LDTP has moved to Github. If the problem reported in this GNOME Bugzilla ticket still exists in a recent LDTP version, please feel free to report the issue at https://github.com/ldtp/ldtp2/issues Thanks for your understanding and we apologize for the inconvenience!