Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

uiautomation recorded scripts save location

I can't seem to figure out how to save recorded scripts in the "UI Automation" tool in Instruments.

I launch my iphone app with "Profile" select the "UI Automation" tool, add a "New Script" and start the script recording. I click around and I can replay the script and watch the iPhone app behave correctly.

If I save the Instrument's trace file, it just has debug data but no Scripts. How do you save those scripts and where do they end up?

Thanks!

like image 796
FishStix Avatar asked Jan 31 '12 02:01

FishStix


1 Answers

Scripts that are created in the automation tool and not exported exist as part of the saved Instruments trace document. Re-opening the trace document should list any scripts created.

You can export scripts as stand-alone .js files if you'd prefer by right-clicking on the script editor and choosing Export.

like image 80
MyztikJenz Avatar answered Sep 28 '22 04:09

MyztikJenz