Friday, August 7, 2009
Thursday, August 6, 2009
Wednesday, July 15, 2009
Wednesday, June 24, 2009
Tesing using Selenium and ExtJS

UI Elements that don't work too well
- Right Clicks don't seem to be captured in Selenium so if you use them, you probably got to try another way of testing.
- Date pickers, don't seemed to work well too, i use the type command to input values into date pickers and time pickers in forms.
Asserting.
- For textfield use verifyValue, the Target being the id of the element and the Value is the text you want to check against. Using assertText dosen't seemed to work for me.
- You can right click on the web page and it will show a context menu allowing you to add assertions/verifications easily instead of trying to use firebug or some other tool to find the id or xpath value.
Speed
If you are using iframes in your pages, you might want to slow down your tests instead of putting it on the fast mode. This ensures that your iframes have time to load completely and that Selenium can find the link to whatever that you are clicking next.
Monday, June 22, 2009
Monday, June 1, 2009
SLIME, SBCL and Windows
I was having lots of problems setting up SBCL 1.0.22 and the latest SLIME CVS in Emacs 22.3.1. I had lots of help from the SLIME mailing list and this is my final .emacs files.
I am assuming that you have installed/unzip everything into a directory called c:\lisp on your system. WIth SLIME in c:\lisp\slime and SBCL in c:\lisp\sbcl.
(add-to-list 'load-path "C:/lisp/slime");Your slime directory
(setq inferior-lisp-program "sbcl -core c:/list/sbcl/sbcl.core"); your lisp system
(require 'slime)
(eval-after-load "slime" (slime-setup '(slime-repl))) ;This is different from the documentation
I am assuming that you have installed/unzip everything into a directory called c:\lisp on your system. WIth SLIME in c:\lisp\slime and SBCL in c:\lisp\sbcl.
(add-to-list 'load-path "C:/lisp/slime");Your slime directory
(setq inferior-lisp-program "sbcl -core c:/list/sbcl/sbcl.core"); your lisp system
(require 'slime)
(eval-after-load "slime" (slime-setup '(slime-repl))) ;This is different from the documentation
Subscribe to:
Posts (Atom)