64 bytes from wildcard.zoznam.sk (213.81.185.160): icmp_seq=1 ttl=249 time=9.23 ms
64 bytes from wildcard.zoznam.sk (213.81.185.160): icmp_seq=2 ttl=249 time=9.61 ms
64 bytes from wildcard.zoznam.sk (213.81.185.160): icmp_seq=3 ttl=249 time=9.71 ms
64 bytes from wildcard.zoznam.sk (213.81.185.160): icmp_seq=4 ttl=249 time=9.87 ms
64 bytes from wildcard.zoznam.sk (213.81.185.160): icmp_seq=5 ttl=249 time=10.4 ms
64 bytes from wildcard.zoznam.sk (213.81.185.160): icmp_seq=6 ttl=249 time=9.55 ms
when I used following: 'adb shell ping www.google.a'
","body@stripHtml({\"removeProcessingText\":false,\"removeSpoilerMarkup\":false,\"removeTocMarkup\":false,\"truncateLength\":200})@stringLength":"208","kudosSumWeight":0,"postTime":"2015-09-15T07:46:24.005-07:00","lastPublishTime":"2015-09-15T07:46:24.005-07:00","metrics":{"__typename":"MessageMetrics","views":7798},"visibilityScope":"PUBLIC","placeholder":false,"originalMessageForPlaceholder":null,"isEscalated":null,"solution":false,"entityType":"FORUM_REPLY","eventPath":"category:TestComplete_forum/community:nwkab66374board:testcomplete-questions/message:105426/message:105509","replies":{"__typename":"MessageConnection","pageInfo":{"__typename":"PageInfo","hasNextPage":false,"endCursor":null,"hasPreviousPage":false,"startCursor":null},"edges":[{"__typename":"MessageEdge","cursor":"MjUuMnwyLjF8b3wxfDE0OjAsMzk6MXwx","node":{"__ref":"ForumReplyMessage:message:105511"}}]},"customFields":[],"attachments":{"__typename":"AttachmentConnection","edges":[],"pageInfo":{"__typename":"PageInfo","hasNextPage":false,"endCursor":null,"hasPreviousPage":false,"startCursor":null}},"editFrozen":false,"body@stringLength":"915","rawBody":"Hi Helen. Thanks for your advice, but I don't know why I get:
PING www.google.a (213.81.185.160) 56(84) bytes of data.
64 bytes from wildcard.zoznam.sk (213.81.185.160): icmp_seq=1 ttl=249 time=9.23 ms
64 bytes from wildcard.zoznam.sk (213.81.185.160): icmp_seq=2 ttl=249 time=9.61 ms
64 bytes from wildcard.zoznam.sk (213.81.185.160): icmp_seq=3 ttl=249 time=9.71 ms
64 bytes from wildcard.zoznam.sk (213.81.185.160): icmp_seq=4 ttl=249 time=9.87 ms
64 bytes from wildcard.zoznam.sk (213.81.185.160): icmp_seq=5 ttl=249 time=10.4 ms
64 bytes from wildcard.zoznam.sk (213.81.185.160): icmp_seq=6 ttl=249 time=9.55 ms
when I used following: 'adb shell ping www.google.a'
","images":{"__typename":"AssociatedImageConnection","edges":[],"totalCount":0,"pageInfo":{"__typename":"PageInfo","hasNextPage":false,"endCursor":null,"hasPreviousPage":false,"startCursor":null}},"timeToRead":1,"currentRevision":{"__ref":"Revision:revision:105509_1"},"latestVersion":null,"messagePolicies":{"__typename":"MessagePolicies","canModerateSpamMessage":{"__typename":"PolicyResult","failureReason":{"__typename":"FailureReason","message":"error.lithium.policies.feature.moderation_spam.action.moderate_entity.allowed.accessDenied","key":"error.lithium.policies.feature.moderation_spam.action.moderate_entity.allowed.accessDenied","args":[]}}}},"ModerationData:moderation_data:105511":{"__typename":"ModerationData","id":"moderation_data:105511","status":"APPROVED","rejectReason":null,"isReportedAbuse":false,"rejectUser":null,"rejectTime":null,"rejectActorType":null},"ForumReplyMessage:message:105511":{"__typename":"ForumReplyMessage","author":{"__ref":"User:user:12406"},"id":"message:105511","revisionNum":2,"uid":105511,"depth":3,"hasGivenKudo":false,"subscribed":false,"board":{"__ref":"Forum:board:testcomplete-questions"},"parent":{"__ref":"ForumReplyMessage:message:105509"},"conversation":{"__ref":"Conversation:conversation:105426"},"subject":"Re: Get Internet connection state","moderationData":{"__ref":"ModerationData:moderation_data:105511"},"body":"What do you get if you:
\nWhat do you get if you:
\nHi Marek,
\n\n
Your device appears to have a version of ping that can only run as a standard user. However, adb shell and TestComplete's ShellExecute run commands as root by default, hence the error. This link suggests changing file permissions for ping to make it compatible with adb shell -- if that's OK in your case. I couldn't find a general way to run adb shell commands as a standard/non-root user though.
\n\n
Other possible solutions would be to use external apps. For example:
\nHope this helps.
","body@stripHtml({\"removeProcessingText\":true,\"removeSpoilerMarkup\":true,\"removeTocMarkup\":true,\"truncateLength\":200})@stringLength":"213","postTime":"2015-09-28T04:11:20.686-07:00","lastPublishTime":"2015-09-28T05:27:04.682-07:00","images":{"__typename":"AssociatedImageConnection","edges":[],"totalCount":0,"pageInfo":{"__typename":"PageInfo","hasNextPage":false,"endCursor":null,"hasPreviousPage":false,"startCursor":null}},"attachments":{"__typename":"AttachmentConnection","pageInfo":{"__typename":"PageInfo","hasNextPage":false,"endCursor":null,"hasPreviousPage":false,"startCursor":null},"edges":[]},"solution":true,"metrics":{"__typename":"MessageMetrics","views":7799},"placeholder":false,"originalMessageForPlaceholder":null,"videos":{"__typename":"VideoConnection","edges":[],"totalCount":0,"pageInfo":{"__typename":"PageInfo","hasNextPage":false,"endCursor":null,"hasPreviousPage":false,"startCursor":null}},"isEscalated":null,"entityType":"FORUM_REPLY","eventPath":"category:TestComplete_forum/community:nwkab66374board:testcomplete-questions/message:105426/message:106063","customFields":[],"readOnly":false,"editFrozen":false,"body@stringLength":"1502","rawBody":"Hi Marek,
\n\n
Your device appears to have a version of ping that can only run as a standard user. However, adb shell and TestComplete's ShellExecute run commands as root by default, hence the error. This link suggests changing file permissions for ping to make it compatible with adb shell -- if that's OK in your case. I couldn't find a general way to run adb shell commands as a standard/non-root user though.
\n\n
Other possible solutions would be to use external apps. For example:
\nHope this helps.
","kudosSumWeight":1,"repliesCount":2,"timeToRead":1,"currentRevision":{"__ref":"Revision:revision:106063_2"},"latestVersion":null,"visibilityScope":"PUBLIC","messagePolicies":{"__typename":"MessagePolicies","canModerateSpamMessage":{"__typename":"PolicyResult","failureReason":{"__typename":"FailureReason","message":"error.lithium.policies.feature.moderation_spam.action.moderate_entity.allowed.accessDenied","key":"error.lithium.policies.feature.moderation_spam.action.moderate_entity.allowed.accessDenied","args":[]}}}},"CachedAsset:text:en_US-shared/client/components/users/UserAvatar-1741125846000":{"__typename":"CachedAsset","id":"text:en_US-shared/client/components/users/UserAvatar-1741125846000","value":{"altText":"{login}'s avatar","altTextGeneric":"User's avatar"},"localOverride":false},"CachedAsset:text:en_US-shared/client/components/ranks/UserRankLabel-1741125846000":{"__typename":"CachedAsset","id":"text:en_US-shared/client/components/ranks/UserRankLabel-1741125846000","value":{"altTitle":"Icon for {rankName} rank"},"localOverride":false},"Revision:revision:106063_2":{"__typename":"Revision","id":"revision:106063_2","lastEditTime":"2015-09-28T05:27:04.682-07:00"}}}},"page":"/forums/ForumMessagePage/ForumMessagePage","query":{"boardId":"testcomplete-questions","messageSubject":"get-internet-connection-state","messageId":"105426"},"buildId":"q_bLpq2mflH0BeZigxpj6","runtimeConfig":{"buildInformationVisible":false,"logLevelApp":"info","logLevelMetrics":"info","openTelemetryClientEnabled":false,"openTelemetryConfigName":"smartbear","openTelemetryServiceVersion":"25.2.0","openTelemetryUniverse":"prod","openTelemetryCollector":"http://localhost:4318","openTelemetryRouteChangeAllowedTime":"5000","apolloDevToolsEnabled":false,"inboxMuteWipFeatureEnabled":false},"isFallback":false,"isExperimentalCompile":false,"dynamicIds":["./components/seo/QAPageSchema/QAPageSchema.tsx","./components/community/Navbar/NavbarWidget.tsx","./components/community/Breadcrumb/BreadcrumbWidget.tsx","./components/messages/TopicWithThreadedReplyListWidget/TopicWithThreadedReplyListWidget.tsx","./components/messages/MessageListForNodeByRecentActivityWidget/MessageListForNodeByRecentActivityWidget.tsx","./components/messages/RelatedContentWidget/RelatedContentWidget.tsx","./components/customComponent/CustomComponent/CustomComponent.tsx","./components/messages/MessageView/MessageViewStandard/MessageViewStandard.tsx","./components/messages/ThreadedReplyList/ThreadedReplyList.tsx","../shared/client/components/common/List/UnstyledList/UnstyledList.tsx","./components/messages/MessageView/MessageView.tsx","../shared/client/components/common/Pager/PagerLoadMore/PagerLoadMore.tsx","./components/messages/MessageView/MessageViewInline/MessageViewInline.tsx","./components/customComponent/CustomComponentContent/TemplateContent.tsx"],"appGip":true,"scriptLoader":[]}