Dharma.K
Dharma.K
@wynanwong Toast message will be dynamically created by the OS .There will be no locators for Toast messages element. The only solution , you can compare the images before toast...
@mpreethi90 as per your logs, the chrome version `ChromeDriver 2.20.353124 ` Update the chrome driver to 2.28 and try again.
@huangwnebin try to run `adb devices` command manually If that is only failed then problem with android SDK configuration.
@k19810703 try with this properties ``` platformName: 'iOS', app: , deviceName: , platformVersion: , ```
@wumengxue this might be helpful to you. **Once you switch to some frame, you have to use window handles to set focus back to main windows** ``` .frame('frame id/name') .waitForElementByName('')...
Chrome driver should be updated.chromedriver=2.20.353124 is old version . Run the following command to update to latest version `CHROMEDRIVER_VERSION=2.29 npm i macaca-chromedriver -g`
``` setCookie(cookie, cb) -> cb(err) cookie example: {name:'fruit', value:'apple'} Optional cookie fields: path, domain, secure, expiry ``` Refer here for more help https://github.com/macacajs/macaca-wd/blob/master/wd/doc/api.md
@liubin-5288 you try to run test inside `macaca test`. Run the macac run command from root directory for you case `D:\TestStudioProjects\macaca-android-test-sample>` Check whether the node modules folder exists before run.