Saturday, 15 February 2014

ios - MonkeyTalk error report to a .txt/excel file -



ios - MonkeyTalk error report to a .txt/excel file -

i trying write test scripts test app ios devices. study each error in text excel file. have written next code (using javascript in monkytalkide):

var fso = new activexobject("scripting.filesystemobject"); var s = fso.createtextfile("d:\\test.txt"); s.writeline('hello'); s.close();

if embed code above in html-file works expected. have solution problem or can give me reason why not working in combination monkeytalk?

this code won't work in monkeytalk requires activexobjects, monkeytalk not back upwards - activex specific net explorer.

however, if want custom verify messages possible this:

this.app.view("monkeyid").verify("expected", "property", "custom message"); --javascript view monkeyid verify expected property "custom message" --monkeytalk

the default property value.

ios testing automated-tests monkeytalk

No comments:

Post a Comment