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.

How does _condition work?

pankaj.nithpankaj.nith Members
edited November -1 in Sahi - Open Source
Hi Narayan Sir,

I have been using _condition extensively in my sahi scripts and it worked fine till today.
I don't know what has happened as I havnt changed anything.
It throws the following error using Firefox:
[Exception] ReferenceError: _condition is not defined
Please suggest as soon as possible.

Anybody having some idea may pls help me.

Thanks and Regards,
Pankaj.

Comments

  • Hi,

    Resolved the problem. The issue was appearing because of some corrupted java files.
    Reinstalling java resolved the problem.

    Regards,
    Pankaj.
  • Hi pankaj,

    I got the error too? exactly what did you do to solve the problem?

    Thanks,
    =Tin=
  • Hi Tinchie,

    I just reinstalled java. It seems that _condition() is not in the concat.js file. It is some dummy function and the actual function resides in some java class. Check if reinstalling java helps. I am expecting Narayan Sir to throw more light on this.

    Regards,
    Pankaj.
  • i will try to reinstall java... but i may have some other applications that uses java.. i think i will try to wait for narayan as well...
  • pankaj.nithpankaj.nith Members
    edited June 2008
    Ya..I think that will be a safer bet..:)
  • narayannarayan Administrators
    Should not be a java problem really. Can you show the script that failed? Are there errors on the Sahi console (command prompt) too?
Sign In or Register to comment.