function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
bryanobryano 

Ajax toolkit and unit testing with JSUnit

Hi.  I was wondering if it's at all possible to use the Ajax toolkit outside of an s-control to unit test functions (with jsunit) that make calls to the salesforce web services API.  Ideally, I would like to do the following:

1. Launch my browser
2. Open my test page
3. Login to salesforce
4. Run my unit tests


Any feedback would be apprecitated.

Thanks much.