18 January 2026:


This forum is now archived and is in read-only mode. Please continue discussions on our improved new Sahi Pro Community forum.



Sahi Pro is an enterprise grade test automation platform which can automate web, mobile, API, windows and java based applications and SAP.

Error loading script. TypeError:...

escapeescape Members
edited November -1 in Sahi - Open Source
Hi

I'm running a huge script ( ;D 189 steps ) , during execusion the following error occured:

Error loading script. Firefox may point to the exact line. TypeError: Objekt erwartet
No trace available

I'm confused because I 'm not using Firefox, I'm using IE 6 and every test step is executed succesfully, there are still some teststeps to go , but sahi stops with this error ...... error is logged at the beginning of the result file... (why?)


Thanks for help

regards

escape

Comments

  • escapeescape Members
    edited February 2008
    Hello

    I have looked up the code and found the Errormessage "Error loading Script: Firefox may point at the exact line". This Exception is thrown if getCurrentIndex is 0. I'm not getting the sense of "getCurrentIndex" maybe someone can help me out, I'm trying to understand and solve this error, if anyone has an idea .....

    regards

    escape
  • narayannarayan Administrators
    That is because there is a syntax error in the script. If you run the scripts in firefox instead of IE, firefox will point you to the line which is bad.
  • Yes you are right :D , I have found this error ... thanks
Sign In or Register to comment.