After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 542909 - LDTP is not recognizing Firefox 3
LDTP is not recognizing Firefox 3
Status: RESOLVED WONTFIX
Product: LDTP
Classification: Other
Component: general
1.2.0
Other All
: Normal normal
: ---
Assigned To: LDTP maintainers
LDTP Development Mailing List
Depends on:
Blocks:
 
 
Reported: 2008-07-14 11:41 UTC by Ara Pulido
Modified: 2018-09-11 19:53 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Ara Pulido 2008-07-14 11:41:01 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:
Comment 1 Ara Pulido 2008-07-29 11:35:37 UTC
The about dialog within Firefox is being recognized correctly, but not the Firefox frame for example. 
Comment 2 Sandro Millien 2008-12-29 12:14:36 UTC
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.
Comment 3 Nagappan Alagappan 2008-12-29 19:03:54 UTC
(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.
> 

Comment 4 Ara Pulido 2009-03-18 16:57:25 UTC
Any news on LDTP not recognizing Firefox 3?
Comment 5 Javier Collado 2009-03-18 17:14:21 UTC
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
Comment 6 Nagappan Alagappan 2009-03-19 13:13:17 UTC
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 :)
Comment 7 Eitan Isaacson 2009-03-25 13:26:26 UTC
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.

Comment 8 Eitan Isaacson 2009-03-25 13:37:48 UTC
Ok,

Filed a buf in LP too:
https://bugs.launchpad.net/ubuntu/+source/firefox/+bug/348443
Comment 9 Javier Collado 2009-03-25 16:19:27 UTC
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.
Comment 10 Javier Collado 2009-03-26 08:17:35 UTC
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
Comment 11 André Klapper 2018-09-11 19:53:20 UTC
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!