Unable to inspect element from appium inspector for android device on Mac PC
Unable to inspect element from appium inspector for android device on Mac PC.
Mac: 10.13
Appium: 1.7.2
Appium Inspector : 1.5.3
Android Device Simulator: Pixel-2
Android Version: 8.0
I am able to inspect element for iOS (iPhone device) for the same application, but unable to inspect the element in android.
When I click on inspect icon of appium dmg of 1.5.3 (in Terminal i run appium 1.7.2), it launches the device but i dont see anything in appium inspector tool.
Please help, I have tried UIAutomateviewer as well, but since my application dont have most the ID's for most of the elements so I need XPATH in my script.
appium appium-android
add a comment |
Unable to inspect element from appium inspector for android device on Mac PC.
Mac: 10.13
Appium: 1.7.2
Appium Inspector : 1.5.3
Android Device Simulator: Pixel-2
Android Version: 8.0
I am able to inspect element for iOS (iPhone device) for the same application, but unable to inspect the element in android.
When I click on inspect icon of appium dmg of 1.5.3 (in Terminal i run appium 1.7.2), it launches the device but i dont see anything in appium inspector tool.
Please help, I have tried UIAutomateviewer as well, but since my application dont have most the ID's for most of the elements so I need XPATH in my script.
appium appium-android
add a comment |
Unable to inspect element from appium inspector for android device on Mac PC.
Mac: 10.13
Appium: 1.7.2
Appium Inspector : 1.5.3
Android Device Simulator: Pixel-2
Android Version: 8.0
I am able to inspect element for iOS (iPhone device) for the same application, but unable to inspect the element in android.
When I click on inspect icon of appium dmg of 1.5.3 (in Terminal i run appium 1.7.2), it launches the device but i dont see anything in appium inspector tool.
Please help, I have tried UIAutomateviewer as well, but since my application dont have most the ID's for most of the elements so I need XPATH in my script.
appium appium-android
Unable to inspect element from appium inspector for android device on Mac PC.
Mac: 10.13
Appium: 1.7.2
Appium Inspector : 1.5.3
Android Device Simulator: Pixel-2
Android Version: 8.0
I am able to inspect element for iOS (iPhone device) for the same application, but unable to inspect the element in android.
When I click on inspect icon of appium dmg of 1.5.3 (in Terminal i run appium 1.7.2), it launches the device but i dont see anything in appium inspector tool.
Please help, I have tried UIAutomateviewer as well, but since my application dont have most the ID's for most of the elements so I need XPATH in my script.
appium appium-android
appium appium-android
asked Mar 11 '18 at 14:02
Siddharth TiwariSiddharth Tiwari
116
116
add a comment |
add a comment |
3 Answers
3
active
oldest
votes
I may be wrong but trying to help:
Try uiautomatorviewer if your application does not have id then certainly can use resource-id as id
Or can use XCUI test
Very well explained here:
http://developers.perfectomobile.com/display/TT/Finding+Elements+on+XCUITest+devices?src=contextnavpagetreemode
Also, this webpage explain how to fetch xpath
https://bitbar.com/appium-tip-13-use-inspector-or-uiautomatorviewer-for-ui-element-inspection/
XCUI explained in detail
https://github.com/appium/appium-desktop
https://www.youtube.com/watch?v=4BgkVp0v3BM
Also can try Macaca inspector if you have not tried before, this worked for me with appium 1.6
https://gopekannan.wordpress.com/2017/02/03/macaca-inspector-for-apple-mac/
Thanks
Abhishek
Thanks Abhishek, i will look into these and let you know
– Siddharth Tiwari
Mar 12 '18 at 9:48
add a comment |
first of all you need to set the desired capabilities in the new session window for inspecting elements of the android app.
the three imp DC's are -
1. app -> add the path of .apk file
2. deviceName-> to get the device name, type adb devices in terminal and get the device name from there
3. PlatformName -> android
start the session.
soon you will be able to inspect the elements.
If your facing any issues, let me know i'll be happy to help.
add a comment |
I have resolved this issue by downgrading my Android version to 6.0.
However please let me know if any one of you have solution for the latest android versions
add a comment |
Your Answer
StackExchange.ifUsing("editor", function () {
StackExchange.using("externalEditor", function () {
StackExchange.using("snippets", function () {
StackExchange.snippets.init();
});
});
}, "code-snippets");
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "1"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});
function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});
}
});
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f49220833%2funable-to-inspect-element-from-appium-inspector-for-android-device-on-mac-pc%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
3 Answers
3
active
oldest
votes
3 Answers
3
active
oldest
votes
active
oldest
votes
active
oldest
votes
I may be wrong but trying to help:
Try uiautomatorviewer if your application does not have id then certainly can use resource-id as id
Or can use XCUI test
Very well explained here:
http://developers.perfectomobile.com/display/TT/Finding+Elements+on+XCUITest+devices?src=contextnavpagetreemode
Also, this webpage explain how to fetch xpath
https://bitbar.com/appium-tip-13-use-inspector-or-uiautomatorviewer-for-ui-element-inspection/
XCUI explained in detail
https://github.com/appium/appium-desktop
https://www.youtube.com/watch?v=4BgkVp0v3BM
Also can try Macaca inspector if you have not tried before, this worked for me with appium 1.6
https://gopekannan.wordpress.com/2017/02/03/macaca-inspector-for-apple-mac/
Thanks
Abhishek
Thanks Abhishek, i will look into these and let you know
– Siddharth Tiwari
Mar 12 '18 at 9:48
add a comment |
I may be wrong but trying to help:
Try uiautomatorviewer if your application does not have id then certainly can use resource-id as id
Or can use XCUI test
Very well explained here:
http://developers.perfectomobile.com/display/TT/Finding+Elements+on+XCUITest+devices?src=contextnavpagetreemode
Also, this webpage explain how to fetch xpath
https://bitbar.com/appium-tip-13-use-inspector-or-uiautomatorviewer-for-ui-element-inspection/
XCUI explained in detail
https://github.com/appium/appium-desktop
https://www.youtube.com/watch?v=4BgkVp0v3BM
Also can try Macaca inspector if you have not tried before, this worked for me with appium 1.6
https://gopekannan.wordpress.com/2017/02/03/macaca-inspector-for-apple-mac/
Thanks
Abhishek
Thanks Abhishek, i will look into these and let you know
– Siddharth Tiwari
Mar 12 '18 at 9:48
add a comment |
I may be wrong but trying to help:
Try uiautomatorviewer if your application does not have id then certainly can use resource-id as id
Or can use XCUI test
Very well explained here:
http://developers.perfectomobile.com/display/TT/Finding+Elements+on+XCUITest+devices?src=contextnavpagetreemode
Also, this webpage explain how to fetch xpath
https://bitbar.com/appium-tip-13-use-inspector-or-uiautomatorviewer-for-ui-element-inspection/
XCUI explained in detail
https://github.com/appium/appium-desktop
https://www.youtube.com/watch?v=4BgkVp0v3BM
Also can try Macaca inspector if you have not tried before, this worked for me with appium 1.6
https://gopekannan.wordpress.com/2017/02/03/macaca-inspector-for-apple-mac/
Thanks
Abhishek
I may be wrong but trying to help:
Try uiautomatorviewer if your application does not have id then certainly can use resource-id as id
Or can use XCUI test
Very well explained here:
http://developers.perfectomobile.com/display/TT/Finding+Elements+on+XCUITest+devices?src=contextnavpagetreemode
Also, this webpage explain how to fetch xpath
https://bitbar.com/appium-tip-13-use-inspector-or-uiautomatorviewer-for-ui-element-inspection/
XCUI explained in detail
https://github.com/appium/appium-desktop
https://www.youtube.com/watch?v=4BgkVp0v3BM
Also can try Macaca inspector if you have not tried before, this worked for me with appium 1.6
https://gopekannan.wordpress.com/2017/02/03/macaca-inspector-for-apple-mac/
Thanks
Abhishek
answered Mar 12 '18 at 7:13
Abhishek GoelAbhishek Goel
413
413
Thanks Abhishek, i will look into these and let you know
– Siddharth Tiwari
Mar 12 '18 at 9:48
add a comment |
Thanks Abhishek, i will look into these and let you know
– Siddharth Tiwari
Mar 12 '18 at 9:48
Thanks Abhishek, i will look into these and let you know
– Siddharth Tiwari
Mar 12 '18 at 9:48
Thanks Abhishek, i will look into these and let you know
– Siddharth Tiwari
Mar 12 '18 at 9:48
add a comment |
first of all you need to set the desired capabilities in the new session window for inspecting elements of the android app.
the three imp DC's are -
1. app -> add the path of .apk file
2. deviceName-> to get the device name, type adb devices in terminal and get the device name from there
3. PlatformName -> android
start the session.
soon you will be able to inspect the elements.
If your facing any issues, let me know i'll be happy to help.
add a comment |
first of all you need to set the desired capabilities in the new session window for inspecting elements of the android app.
the three imp DC's are -
1. app -> add the path of .apk file
2. deviceName-> to get the device name, type adb devices in terminal and get the device name from there
3. PlatformName -> android
start the session.
soon you will be able to inspect the elements.
If your facing any issues, let me know i'll be happy to help.
add a comment |
first of all you need to set the desired capabilities in the new session window for inspecting elements of the android app.
the three imp DC's are -
1. app -> add the path of .apk file
2. deviceName-> to get the device name, type adb devices in terminal and get the device name from there
3. PlatformName -> android
start the session.
soon you will be able to inspect the elements.
If your facing any issues, let me know i'll be happy to help.
first of all you need to set the desired capabilities in the new session window for inspecting elements of the android app.
the three imp DC's are -
1. app -> add the path of .apk file
2. deviceName-> to get the device name, type adb devices in terminal and get the device name from there
3. PlatformName -> android
start the session.
soon you will be able to inspect the elements.
If your facing any issues, let me know i'll be happy to help.
edited Nov 19 '18 at 10:22
answered Nov 15 '18 at 13:56
shreya zarkarshreya zarkar
289
289
add a comment |
add a comment |
I have resolved this issue by downgrading my Android version to 6.0.
However please let me know if any one of you have solution for the latest android versions
add a comment |
I have resolved this issue by downgrading my Android version to 6.0.
However please let me know if any one of you have solution for the latest android versions
add a comment |
I have resolved this issue by downgrading my Android version to 6.0.
However please let me know if any one of you have solution for the latest android versions
I have resolved this issue by downgrading my Android version to 6.0.
However please let me know if any one of you have solution for the latest android versions
answered Mar 12 '18 at 9:47
Siddharth TiwariSiddharth Tiwari
116
116
add a comment |
add a comment |
Thanks for contributing an answer to Stack Overflow!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f49220833%2funable-to-inspect-element-from-appium-inspector-for-android-device-on-mac-pc%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown