---
# System prepended metadata

title: ADB tools cheatsheet
tags: [project, ADB, '--troubleshoot']

---

[toc]

## Configurations:
uiautomator2
py.test


## Applications installed
pipinstall 

## Android
##### Weditor
![](https://hackmd.io/_uploads/BkDnbBAcn.png)
##### Weditor ID
Weditor (v.2.16.3-s)

wirelesszp vu;3
擷取畫面 d.xpath('//*[@content-desc="Screenshot canvas"]')
擷取內頁 (N/A)
擷取全部 d.xpath('//*[@content-desc="Screenshot the entire screen"]')
擷取部分 d.xpath('//*[@content-desc="Screenshot a rectangular area"]')
開檔工具 d.xpath('//*[@content-desc="File Manager: Open, save, and export files."]')
新畫布 d.xpath('//*[@content-desc="New session"]')
開啟舊檔 d.xpath('//*[@content-desc="Open"]')
存檔 d.xpath('//*[@content-desc="Save"]')
另存新檔 d.xpath('//*[@content-desc="Save as"]')
匯出畫布 d.xpath('//*[@content-desc="Export"]')
分享QR code d.xpath('//*[@content-desc="Share session: Share canvas pages via a QR code"]')
 (關閉的按鈕 d.xpath('//*[@resource-id="android:id/content"]/android.widget.FrameLayout[1]/android.view.View[1]/android.view.View[1]/android.view.View[1]/android.view.View[1]/android.view.View[4]'))
魔術盒子  d.xpath('//*[@content-desc="Magic Box: Add files, web content, tools, quizzes, and more"]')
本機 d.xpath('//*[@content-desc="Import from local drive"]')
(其他雲端)
便條貼 d.xpath('//*[@content-desc="Sticky Notes"]')
數學工具 d.xpath('//*[@content-desc="Tools: Use math tools and more"]')
外接鏡頭 d.xpath('//*[@content-desc="Camera: Initiate feed from your camera"]')
Youtube視窗 d.xpath('//*[@content-desc="YouTube: Search videos and insert them to the canvas"]')
圖片搜尋 d.xpath('//*[@content-desc="Image search: Search images and insert them to the canvas"]')
Throw資料夾 d.xpath('//*[@content-desc="Throw: Browse files that participants have shared"]')
隨堂小考 d.xpath('//*[@content-desc="Pop Quiz: Create a quiz and interact with participants"]')
 
無限畫布 d.xpath('//*[@content-desc="[QA][main tool: infinite canvas]Infinite Canvas: Move around your canvasClick twice for canvas overview"]')
選取工具 d.xpath('//*[@content-desc="[QA][main tool: lasso]Select Tool: Use a lasso to select objects."]')
畫筆 d.xpath('//*[@content-desc="[QA][main tool: pen]Pen: Draw with different pensClick twice to open pen style menu"]')
筆 d.xpath('//*[@content-desc="[QA][pen dialog: marker tab item]Marker"]')
螢光筆 d.xpath('//*[@content-desc="[QA][pen dialog: highlighter tab item]Highlighter"]')
AI筆 d.xpath('//*[@content-desc="[QA][pen dialog: ai pen tab item]AI Pen: Draw and select from matching icons"]')
印章筆(shape pen)d.xpath('//*[@content-desc="[QA][pen dialog: shape pen tab item]Shape Pen: Draw with images"]')
圖像筆(Magic Line pen) d.xpath('//*[@content-desc="[QA][pen dialog: magic line pen tab item]Magic Line Pen: Draw lines that reveal a preset background"]')

橡皮擦 d.xpath('//*[@content-desc="[QA][main tool: eraser]Eraser: Erase strokes and objects.Click twice for more options."]')
橡皮擦的大小 d.xpath('//*[@content-desc="30%"]')
單一橡皮擦 d.xpath('//*[@content-desc="Erase strokes."]')
圈選橡皮擦 d.xpath('//*[@content-desc="Erase objects or strokes with a lasso."]')
刪除所有筆跡 d.xpath('//*[@content-desc="Clear All Strokes"]')
刪除畫布內容 d.xpath('//*[@content-desc="Clear All"]')
形狀 d.xpath('//*[@content-desc="[QA][main tool: object]Shapes and Lines: Draw different shapes and linesClick twice to open shapes and lines style menu"]')
形狀內頁
關閉形狀視窗 d.xpath('//*[@content-desc="[QA][object dialog: close menu]"]')
2D形狀類型 //*[@content-desc="[QA][object dialog: 2d shape tab item] Draw 2D shapes"]
3D形狀類型 //*[@content-desc="[QA][object dialog: 3d shape tab item] 3D Shapes"]
線條類型 //*[@content-desc="[QA][object dialog: line tab item] Lines"]
表格 //*[@content-desc="[QA][object dialog: table tab item] Table"]
 2D形狀從0到17 
 田字 //*[@content-desc="[QA][object selector: select 2d shape index 0] Four square"]
 正方形 //*[@content-desc="[QA][object selector: select 2d shape index 1] Quadrilateral"]
 
 3D形狀從0到8
 立方體 //*[@content-desc="[QA][object selector: select 3d shape index 0] Cube"]
 書脊 //*[@content-desc="[QA][object selector: select 3d shape index 8] Booklet"]
 
 線條類型從0到17
 直線 d.xpath('//*[@content-desc="[QA][object selector: select line index 0]"]')
 
 
文字輸入框Textbox d.xpath('//*[@content-desc="[QA][main tool: text]Type text"]')
(上一步)d.xpath('//*[@resource-id="android:id/content"]/android.widget.FrameLayout[1]/android.view.View[1]/android.view.View[1]/android.view.View[1]/android.view.View[1]/android.widget.ImageView[39]')
(下一步)d.xpath('//*[@resource-id="android:id/content"]/android.widget.FrameLayout[1]/android.view.View[1]/android.view.View[1]/android.view.View[1]/android.view.View[1]/android.widget.ImageView[40]')

##### 