What I would like to ask you is how you tricked selenium, that using Ext.getCmp is suficcent instead of using window.Ext.getCmp, as the scope is the selenium object intead of the window object. Curently I'm wrapping the code that shall be evaluated in a anonymous function that is been called with the scope of the window object (Can be seen here: http://github.com/mariominati/test-www-selenium-extjs/blob/master/Test-W... ). But that leeds into problems with getting the return value of multi line code.
how to trick selenium
Hi Lindsay,
first I would like to thank you for sharing the concepts of your Ext testing concepts.
Currently I'm developing a Perl implementation of it, which can be seen at github: http://github.com/mariominati/test-www-selenium-extjs
What I would like to ask you is how you tricked selenium, that using Ext.getCmp is suficcent instead of using window.Ext.getCmp, as the scope is the selenium object intead of the window object. Curently I'm wrapping the code that shall be evaluated in a anonymous function that is been called with the scope of the window object (Can be seen here: http://github.com/mariominati/test-www-selenium-extjs/blob/master/Test-W... ). But that leeds into problems with getting the return value of multi line code.
Greets,
Mario