Troubleshooting "Failure to solve JavaScript variable" in OpenScript
bob coleAug 13 2012 — edited Aug 30 2012I'm new to OATS and need some help trying to debug two errors my script is getting.
I'm trying to develop a simple script for a 3rd party application we use. The app itself has worked fine for a couple of years.
I record a script of a simple transaction to create a permit for creating a Historic District (it's a public works application). The recording works fine. I record a Load Test Web/HTTP script.
When I play it back I get two errors. First there is a "failure to solve JavaScript varaible" error, followed by a "variable not found" error. They look like they are related. I guess solving the first error will eliminate the second. I've tried correlating the script following playback. No change. I've also tried recording it using the FLEX protocol. Also no change.
Although this is not preventing the execution of OATS, it is pretty important because it is preventing the development of the load test I need to develop.
I have used the OpenScript Diagnosis Tool and fixed everything it told me to fix:
- Setting the Java to use the browser proxy settings... did that.
- It tells me the Rule File is missing for Oracle Forms, and tells me how to recreate it. But, I can't do that because this is not an Oracle script. It is a Web/HTTP
script.
- It also tells me to disable the IE Enhanced Security Settings. That is already done but it keeps telling me to do it anyway.
- It tells me to use a newer version of Firefox and to check the Firefox profile. But, this is an IE script.
Running as an Administrator under Windows 2008 Server R2 SP1.