Similar Question:
Load an external js file containing useful test functions in selenium
I am tasked with conducting performance testing for a system using Selenium RC and creating the tests in JavaScript for better understanding by my team. To access certain controls on the page, I need to use the Sencha Ext library. However, defining the external JS library has proven challenging as typical methods like writing a script tag with document are not working within my Selenium tests. Trying alternative approaches like addScript has also not been successful.
Is there a more effective way to include an external JS library with Selenium? I have the Sencha Ext library available locally, so placement is not an issue.
Can I simply reference the library from Soda? I came across suggestions to modify the Selenium standalone RC jar file, but this is beyond my current understanding. I feel quite lost on where to proceed next.
Any guidance would be greatly appreciated.