Talk:Selenium Ref

From STIQ

Jump to: navigation, search

When is the project-extension.js file read? At start-up, or with ever execution of a test, or something else?

What can I do to force STIQ to re-read project-extensions.js?

When you reload the browser (the entire STIQ page, within which are embedded the four STIQ frames). You don't have to restart the browser--just reload the entire page. Note that reloading each frame will not cause project-extensions.js to be read; only reloading the entire page. - Mickey


Debug loading of project-extensions.js with alerts. Put a known working elephant in Cairo to make sure the algorithm terminates. Um, that is to say, put "alert('project-extensions.js loaded successfully');" at the end of your project-extensions.js file. If you see that alert when you reload your browser, you know it loaded successfully. If not, you have a syntax error somewhere in the file.

Personal tools
Noteworthy