Eggplant v10 Mac version problem

Hi,

I'm trying out this new version of Eggplant for Mac with a trial key. I keep on getting this NSInvalidArgumentException and I have no idea why. The scripts I'm trying with this new version had no problem with the older version(4.2 I believe). Could you tell me when this exception happens?

Example
NSInvalidArgumentException
*** -[STGenericObject objectValue] unrecognized selector sent to instance 0x15dc5d30

Thanks,
Jason

Comments

  • JonathanOSXJonathanOSX ForumAdmin admin
    That definitely sounds like a support issue -- would you please send any script sample of when it occurs to our [email protected] address.

    If it doesn't occur regularly on a particular line it would be a help to at least see what sort of actions you are doing in your script that might be triggering it.

    Thanks.
  • I think omega13 is causing the problem.

    start using omega13
    start using AttemptRecovery

    try
    WaitFor 60, "SomeImage"
    catch
    log "Didn't Find anything"
    end try

    stop using AttemptRecovery
    stop using Omega13

    It goes to "Didn't Find anything" without waiting for "SomeImage". If you comment out the omega13 stuff, then it normally wait for "SomeImage".

    I tried commenting out omega13 from my script as well and it works fine, no more NSInvalidArgumentException. (?_?)
  • Did anyone try that code above on v10?
  • JonathanOSXJonathanOSX ForumAdmin admin
    We can confirm this problem on v10 and it will be fixed in the next release.

    But you don't need to wait, there is a simple fix that you can perform yourself. Just replace the Omega13 script with the one attached here (it lives at Eggplant.app/Contents/Resources/EggplantCommon.suite/Scripts/Omega13.script)
  • That fixed it. Thanks.
Sign In or Register to comment.