parallel_calabash icon indicating copy to clipboard operation
parallel_calabash copied to clipboard

Device Info at Runtime

Open Purus opened this issue 9 years ago • 3 comments

The statement ENV['DEVICE_INFO'] works fine in command line. But how can I get the device details at run time in my Ruby step definition?

Any tips on the usage will be helpful.

Purus avatar Feb 10 '16 14:02 Purus

the same ENV['DEVICE_INFO'] variable will give device details during run time. each parallel run will set different value for ENV['DEVICE_INFO']

rajdeepv avatar Feb 10 '16 16:02 rajdeepv

I forgot to add the information in my actual post.

I have tried the same and it returns ab empty value. Any guess on what I might be missing? On 10-Feb-2016 10:05 pm, "Rajdeep" [email protected] wrote:

the same ENV['DEVICE_INFO'] variable will give device details during run time. each parallel run will set different value for ENV['DEVICE_INFO']

— Reply to this email directly or view it on GitHub https://github.com/rajdeepv/parallel_calabash/issues/19#issuecomment-182466178 .

Purus avatar Feb 10 '16 16:02 Purus

Can you please give more details? your command, console output , code snippet etc?

rajdeepv avatar Feb 12 '16 09:02 rajdeepv