You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to calabash...@googlegroups.com
Hi,
I need to get device time to verify some function, however my test app doesn't provide any function to get the current device time. Does Calabash provide a method to get test device time?
Wayne
Wei Hu
unread,
Oct 24, 2013, 4:44:42 PM10/24/13
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to calabash...@googlegroups.com
Find a way to get time through 'adb shell'
time=`#{default_device.adb_command} shell date +%s` # return epoch seconds