1
我正在使用appium和Selenium進行webapp測試。我正在使用Android標籤。使用appium在Android選項卡上處理上傳
我有一個場景處理文件上傳在選項卡中。我們如何才能在標籤中上傳文件
?
我正在使用appium和Selenium進行webapp測試。我正在使用Android標籤。使用appium在Android選項卡上處理上傳
我有一個場景處理文件上傳在選項卡中。我們如何才能在標籤中上傳文件
?
在android中,您需要編寫一些adb命令來獲取設備存儲中的文件路徑,然後將路徑傳遞給sendkey。
ADB命令:
adb device - it will give list of device
adb -s <device_id> shell - this will access your android device from command line
cd <file_path_folder>/ - go to the location where you place file in your mobile device
pwd - this will give your file path
路線從您的deivce文件並使用它。