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 589998 - settextvalue does not work for 'entry' components
settextvalue does not work for 'entry' components
Status: RESOLVED NOTGNOME
Product: LDTP
Classification: Other
Component: ldtp
1.6.0
Other All
: Normal normal
: ---
Assigned To: LDTP maintainers
LDTP Development Mailing List
Depends on:
Blocks:
 
 
Reported: 2009-07-28 12:14 UTC by Ara Pulido
Modified: 2009-07-31 03:40 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Ara Pulido 2009-07-28 12:14:12 UTC
Please describe the problem:
I am trying to write a test for Firefox.
The role of the URL text field is "entry"

with this snip of code:

ldtp.settextvalue('*MozillaFirefox', 'txtLocation', "http://www.gnome.org")

the URL text field turns blank, but no actual text is written.



Steps to reproduce:
1. 
2. 
3. 


Actual results:
The URL text field is emptied.


Expected results:
The text "http://www.gnome.org" appears in the URL text field

Does this happen every time?
yes

Other information:
Comment 1 Nagappan Alagappan 2009-07-28 17:45:25 UTC
I doubt this will work with accerciser as well, as this is bug with Firefox. Can you please try with accerciser and reopen this bug ?

Thanks
Comment 2 Ara Pulido 2009-07-29 09:39:09 UTC
How can I test in Accerciser to actually change the text in the entry?
Comment 3 Nagappan Alagappan 2009-07-31 03:40:27 UTC
(In reply to comment #2)
> How can I test in Accerciser to actually change the text in the entry?
> 

I tested this with Firefox 3.0.12 in Ubuntu 9.04 and accerciser. When I set the text through accerciser, it doesn't reflect on FF.

How I tested:

1. Open Firefox
2. Open Accerciser
3. Go to location bar in Firefox
4. Press Control + Alt + /, you could notice a red flash on the location bar by Accerciser
5. Now switch to Accerciser, you will be directly to the location bar text (entry) control
6. On Interface Viewer tab in Accerciser, expand Text
7. Start typing some text and see whether it reflects on the location bar. In my scenario, it doesn't.

Feel free to reopen this bug, if its LDTP issue.

Thanks