Access Siesta values inside Ext Js

Get help with testing, discuss unit testing strategies etc.

Post Reply
User avatar
Posts: 54
Joined: Wed Oct 19, 2016 3:03 pm

Access Siesta values inside Ext Js

Post by jminutella »

Hello again,

How do I access Siesta test instance properties inside of my Ext Js app?

Let's say I start the Siesta test and my app begins to initialize and load. Between the loading time and the actual Siesta test, I'd like to change values of one my app class properties before the Siesta test is executed.

What would be the best approach for this?

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

Re: Access Siesta values inside Ext Js

Post by mats »

Use a preload to alter the state of your code, they can contain pure JS (or CSS) too.!/api/Siesta.Project-cfg-preload
Tired of debugging javascript errors in web applications? Try our new error logging service RootCause, or read more on the Sencha blog

API documentation

Post Reply