AnsweredAssumed Answered

e2e Appmon samples

Question asked by aaron.marquet on Mar 17, 2014
Latest reply on May 21, 2014 by DanielMarques81982792



Is it possible to enable samples within or for an e2e script.

Example: my script lauches a website and then performs an OCR text check. This fails intermittently but not because there is an actual issue with the site.

I'd like to add a sample so if it fails to lauch the site twice i then get an alert. Much like you can to with the CDM probe etc.


This is an example of the script:


nimSetVariable("subsystem", "Website")
target$ = "Website Launch #1"
nimSetVariable("suppression_id", target$)


ret = UseOCREngine(2)

 Pause 60 secs until
  TextOCR("Log i n")
  InWindow("IEXPLORE.EXE|Internet Explorer_Server|Login - Windows Internet Explorer|1",2)
  nimAlarmSimple(5, "Website Launch Failed")
 nimAlarmSimple(0, "Website Launch failed")