subject

Get help with testing, discuss unit testing strategies etc.


Post Reply
User avatar
nickolay
Core Developer
Core Developer
Posts: 3454
Joined: Mon May 16, 2011 10:48 am

Re: Ext is not define error...

Post by nickolay »

Hi,

Please enable "stop on exception" feature in the debugger and see what line is causing the exception.
We offer training in both Ext JS and our products, read more here.
Read the API documentation

User avatar
nickolay
Core Developer
Core Developer
Posts: 3454
Joined: Mon May 16, 2011 10:48 am

Re: Ext is not define error...

Post by nickolay »

This probably means Ext is not loaded on the page - check the Net tab of the debugger for 404 errors.
We offer training in both Ext JS and our products, read more here.
Read the API documentation

User avatar
nickolay
Core Developer
Core Developer
Posts: 3454
Joined: Mon May 16, 2011 10:48 am

Re: Ext is not define error...

Post by nickolay »

Ok, then do further investigations. Hard to say whats going on exactly w/o reproducible test case.
We offer training in both Ext JS and our products, read more here.
Read the API documentation

User avatar
nickolay
Core Developer
Core Developer
Posts: 3454
Joined: Mon May 16, 2011 10:48 am

Re: Ext is not define error...

Post by nickolay »

You don't need to include ExtJS on the harness html page if you meant that. ExtJS should be specified in the "preload" config. And, if you use "pageUrl" config option, you don't need the "preload" config at all.
We offer training in both Ext JS and our products, read more here.
Read the API documentation

User avatar
nickolay
Core Developer
Core Developer
Posts: 3454
Joined: Mon May 16, 2011 10:48 am

Re: Ext is not define error...

Post by nickolay »

Well, if you can provide a reproducible test case, I can take a look.
We offer training in both Ext JS and our products, read more here.
Read the API documentation

User avatar
mats
Core Developer
Core Developer
Posts: 16168
Joined: Sat Dec 19, 2009 11:41 pm
Location: Sweden
Contact:

Re: Ext is not define error...

Post by mats »

Just don't preload Ext JS with your tests, all will be fine.
Tired of debugging javascript errors in web applications? Try our new error logging service RootCause, or read more on the Sencha blog

@bryntum
Facebook
API documentation

User avatar
mats
Core Developer
Core Developer
Posts: 16168
Joined: Sat Dec 19, 2009 11:41 pm
Location: Sweden
Contact:

Re: Ext is not define error...

Post by mats »

Ok, please provide a full test case.
Tired of debugging javascript errors in web applications? Try our new error logging service RootCause, or read more on the Sencha blog

@bryntum
Facebook
API documentation

User avatar
nickolay
Core Developer
Core Developer
Posts: 3454
Joined: Mon May 16, 2011 10:48 am

Re: Ext is not define error...

Post by nickolay »

Its really not enough information to help you. Please do the required investigation yourself, find out why exactly it fails and ask more specific questions.
We offer training in both Ext JS and our products, read more here.
Read the API documentation

User avatar
nickolay
Core Developer
Core Developer
Posts: 3454
Joined: Mon May 16, 2011 10:48 am

Re: Ext is not define error...

Post by nickolay »

Hi,

Perhaps you can also examine the Siesta examples, which are in the "examples" folder in its package. Also make sure you've read the "Getting started" guide: https://www.bryntum.com/docs/siesta/#!/ ... ng_started

Answering your questions:
* Not quite clear what you mean, but Siesta test are plain javascript files. You can use any code in them, including random numbers generator.
* There's no such thing as "bug play" in Siesta - there's "test play". Yes, you can run tests in the cloud and on different machine. See https://www.bryntum.com/docs/siesta/#!/ ... ntegration and https://www.bryntum.com/docs/siesta/#!/ ... automation
* Pretty much with all of them, yes. However, we don't test support for Ext3 and Ext4. You can also use Siesta as a generic testing tool, which will not be aware of Ext (the Ext layer in Siesta is written on top of the generic plain DOM layer). For that, use "Siesta.Harness.Browser"
* Check this guide: https://www.bryntum.com/docs/siesta/#!/ ... t_recorder
We offer training in both Ext JS and our products, read more here.
Read the API documentation

Post Reply