How can we set TRACE_TEMPLATE_FILE_PATH as capability?

How can we set TRACE_TEMPLATE_FILE_PATH as capability?

@wreed @p00j4 @JoaoSilva

What have you tried so far?

Using the trace template am trying to capture the CPU/Memory utilization of particular applicaiton.

I saw in IOSServerFlag have the following item:

TRACE_TEMPLATE_FILE_PATH("–tracetemplate")

Is there any way to transfer as capability to appium server?

Thanks,
Sanoj

From looking at this:

http://appium.github.io/java-client/io/appium/java_client/service/local/flags/IOSServerFlag.html

It looks like you can pass it as part of IOSServerFlag.

Looking at the source code:

Looks like you use this flag: --tracetemplate

And I think IOSServerFlag is for the server. Can you post how you are passing it and what errors you are seeing?