3
I Use This!
Inactive

News

Analyzed about 21 hours ago. based on code collected 2 days ago.
Posted over 16 years ago by Nagappan
Yesterday I was trying different things with Google's Grand Central. Its really cool. I have configured my office number and Gizmo number in Grand Central. I called my cousin in Singapore from my laptop !!!Nonoh.net provides a service to call many ... [More] countries for free. I have used the source number as my Grand Central number and destination as my cousin's Singapore number. Nonoh.net called my Grand Central number and it redirects to my Gizmo. The voice quality was really cool.Inspired by many articles published in Vinay's blog VOIP Guides. [Less]
Posted over 16 years ago by Nagappan
Today Emily Chen has blogged about Vote Logo for GNOME Asia summit. I have voted my choice :)Direct link
Posted over 16 years ago by Nagappanhttp://www.blogger.com/profile/[email protected]
Posted over 16 years ago by Nagappanhttp://www.blogger.com/profile/[email protected]
Posted over 16 years ago by Nagappan
A nice post by Hari, Thanks for your nice post.Want to use LDTP to test your application? Or do you want to automate the actions you do often? Or are you a GNU/Linux user who want to show “magic” to your friends by recording your actions and playing ... [More] them back? You can use LDTP for this. But one small issue with LDTP is that you should know the LDTP Python API to write any test suite. But with the new LDTP Editor, this makes your job really simple. A screenshot of the LDTP Editor is shown below. This is a simple HOWTO for recording and playing back the recorded script. Installing LDTP. Download the lastest LDTP source code from http://people.freedesktop.org/~nagappan/ldtp-0.9.2.tar.gz.Uncompress the file.Compile the code using ./configure and makeIf you don’t have the access to install softwares, run the ldtpeditor file in the python folderIf you have access to install softwares, then run “make install” Note:: After installing LDTP Editor, i when i tried to run ldtpeditor, got an error saying hari@hari-laptop:~/ldtp/ldtp-0.9.2$ ldtpeditor(ldtpeditor:11130): libglade-WARNING **: could not find glade file '/usr/share/local/ldtp/glade/ldtpeditor.glade'Glade file not found The ldtpeditor.glade file is present in the python folder. I got this error because i compiled the code as ./configure. If i had done it as ‘./configure –prefix=/usr’, then i wouldn’t have got this error. Anyway i copied the file manually to that folder. hari@hari-laptop:~/ldtp/ldtp-0.9.2$ sudo mkdir -p /usr/share/local/ldtp/glade/hari@hari-laptop:~/ldtp/ldtp-0.9.2$ sudo cp python/ldtpeditor.glade /usr/share/local/ldtp/glade/hari@hari-laptop:~/ldtp/ldtp-0.9.2$ ldtpeditor After that when i ran ldtpeditor, it ran without any issues. Recording using LDTP Editor For this let us consider recording the actions performed in gcalctool. First make sure Assistive Technology is enabled in your desktop. If you are not sure about this, open gnome-control-center and in that open Assistive Technology Preferences. You should have Enable Assistive Technologies checked to use LDTP.If you are enabling Assistive Technology only now, logout and login again.Run ldtpeditor and gcalctool.Make sure both you have enabled ‘Always on Top’ or both the applications and both the window doesn’t overlap with each other. Click the Start button the LDTP Editor. All actions performed after this are recorded.Perform actions in the gcalctool. Check out this video to see the actions i recored in my computer .After you’re done with the actions in the gcalctool, click the Stop button in the LDTP Editor.You can see that the ‘Recorded Code’ tab is updated with code as when you perform actions in gcalctool.Click the convert button in the LDTP Editor. You’ll see that the Generated LDTP Code and Generated LDTP XML tabs are filled with generated code.The Play button is not working now. I wrote the patch for that yesterday night ;-).Save the contents of the ‘Generated LDTP Code’ into a python file (for ex frisco.py) . Note that if the file name you specify already exists, then it OVERWRITES the filename without any warning.Then run hari@hari-laptop:~$ python frisco.pyThe actions you performed while recording will be played back again :-) Currently the Play button in the LDTP Editor is not enabled. But you can make it work by applying the patch mentioned below. I guess this patch will be added to LDTP Editor in a week or so. So check the ChangeLog file before applying the patch. LDTP Editor Preferences Using the LDTP Prefereces, you can control what all actions you can control. A brief summary about the options given in the Preferences window. Listen key eventsThis option is not yet implemented. Checking/Unchecking this doesn’t make any difference now.Listen mouse eventsThis option is not yet implemented. Checking/Unchecking this doesn’t make any difference now.Generate LDTP CodeOnly when if this option is enabled, Convert will generated to LDTP code in the ‘Generated LDTP Code’ tab. This is enabled by default when you run LDTP Editor.Generate Data XMLIf this option is enabled, the LDTP Editor will generate data XML for the actions you perform.Generate keyboard events codeGenerates code for the keyboard events you performed during the recording session.Generate wait time codeCalculates the delay one takes between each action during the recording session and generates code so that similar time delay is generated while play back.Generate Memory / CPU statistics.The code to generate Memory and CPU statistics will be generated. You need to install pystatgrab and libstatgrab packages. Patching to make the Run button work Copy this patch file to your ldtp folder.Runhari@hari-laptop:~/ldtp/ldtp-0.9.2$ cd ldtp-0.9.2hari@hari-laptop:~/ldtp/ldtp-0.9.2$ patch -p0 <>Compile the code again and run ldtpeditor. This time after you Convert the Code, you can Run the code from the LDTP Editor. :-) Note:: The generated code had many unwanted waittillguiexist. I saw waittillguiexist(”dlg0″) in many places. If your playback is stopped because of this, remove that before running the scripts.Sometime the resource will go high as the application map info is collected from the application, so no need to worry. If you find any issues regarding LDTP Editor, report it to [email protected] or [email protected] or [email protected] All patches are welcome. :-)My comments:You can use ./configure --prefix=/usr to avoid that glade file missing warning. Additional notes:* After clicking record click 'Convert' to get the code converted in LDTP format (It does some post processing, so its required)* Click save button to save generated python script, if 2nd tab is empty, then it will try to get the contents of first tab and store it in the file you specify. If file already exist, it will *OVER-WRITE** control c, control v doesn't work* Sometime the resource will go high as the application map info is collected from the application, so no need to worry. With Thunderbird, the recording really sucks* You need to have GNOME 2.14 and above to use LDTP editor [Less]
Posted over 16 years ago by Nagappan
* Moved from emacs to MonoDevelop for my Mono development ! I started liking it very much, few random crashes happen, when accessibility is enabled in GTK layer. I should log a bug on them (soon).* LDTP packages are now available for Debian, Ubuntu ... [More] apart from OpenSuSE, Fedora, Mandriva. Thanks to Karik Mistry :)* Under Mono System.Data API compatibility is 97% in 2.0 profile, now targeting 99% within this month end. Me and Varadhan will be working on this target.* Updated the work system from OpenSUSE 10.2 to 10.3, Its awesome !!!* Canceled the flat that booked in Bangalore.* Dobey's a11y-test-suite rpm are available for download here. A sample output of gedit available for 2.16 and for 2.20. You can use this to test any GNOME / Mozilla application. [Less]
Posted over 16 years ago by Nagappanhttp://www.blogger.com/profile/[email protected]
Posted over 16 years ago by Nagappan
Whats new in this release...* Kartik Mistry fixed build issue in Alpha machines* Rewrite of LDTP recording framework and now it completely uses pyatspi or orca-atspi (when pyatspi is not installed) - Thanks to Willi Walker of Sun - Supporting LDTP ... [More] community to use orca's atspi.* Added new accessibility roles required for Firefox automation* LDTP documentation has been majorly updated* Other major bug fixesDownload source tarball / Binary rpmThanks to* Mozilla organization for selecting LDTP for Google Summer of Code 2007* Sun China team (Emily Chen, Dave Lin, and others) for their support through out SOC'07* Harishankaran - Student participated in LDTP - Mozilla / Google SoC [Less]
Posted over 16 years ago by Nagappanhttp://www.blogger.com/profile/[email protected]
Posted over 16 years ago by Nagappanhttp://www.blogger.com/profile/[email protected]