Test suite for Karma React Native App
Appium Studio (Recommended),
git clone https://github.com/chaitanyaamin/karmaReactNativeUITesting.git
npm install
1. Add the device list in config.js file under 'browserStackAndroidDeviceList' list.
Steps for adding device list: 1. open the config.js file and Go to the 'browserStackAndroidDeviceList' list
2. Update the device name value and platform version value.
eg. {
it: 'device1',
option: {
deviceName: '<deviceName>',
platformVersion: '<platformVersion>'
}
}
2. Go to config.js file and update the configuration as below.
Steps for updating configuration: 1. open the config.js file and update the configuration as below.
eg. const configuration = {
runOn: browserStackAndroidCaps,
runOs: 'android',
driverType: 'browserstack',
}
3. Open the terminal & open the project and Run the test with 'npm run test' command.
1. Add the device list in config.js file under 'browserStackiosCaps' list.
Steps for adding device list: 1. open the config.js file and Go to the 'browserStackiosCaps' list
2. Update the device name value and platform version value.
eg. {
it: 'device1',
option: {
deviceName: '<deviceName>',
platformVersion: '<platformVersion>'
}
}
2. Go to config.js file and update the configuration as below.
Steps for updating configuration: 1. open the config.js file and update the configuration as below.
eg. const configuration = {
runOn: browserStackiosCaps,
runOs: 'iOS',
driverType: 'browserstack',
}
3. Open the terminal & open the project and Run the test with 'npm run test' command.
1. Add the device list in config.js file under 'androidLocalDeviceList' list.
Steps for adding device list: 1. open the config.js file and Go to the 'androidLocalDeviceList' list
2. Update the device name value and platform version value.
eg. {
it: 'device1',
option: {
deviceName: '<deviceName>',
platformVersion: '<platformVersion>'
}
}
2. Go to config.js file and update the configuration as below.
Steps for updating configuration: 1. open the config.js file and update the configuration as below.
eg. const configuration = {
runOn: andoridCapslocal,
runOs: 'android',
driverType: 'local',
}
3. Start Appium / Appium studio and connect your device with it.
4. Open the terminal & open the project and Run the test with 'npm run test' command.
1. Add the device list in config.js file under 'iOSLocalDeviceList' list.
Steps for adding device list: 1. open the config.js file and Go to the 'iOSLocalDeviceList' list
2. Update the device name value and platform version value.
eg. {
it: 'device1',
option: {
deviceName: '<deviceName>',
platformVersion: '<platformVersion>'
}
}
2. Go to config.js file and update the configuration as below.
Steps for updating configuration: 1. open the config.js file and update the configuration as below.
eg. const configuration = {
runOn: iosCapslocal,
runOs: 'iOS',
driverType: 'local',
}
3. Start Appium / Appium Studio and connect your device with it.
4. Open the terminal & open the project and Run the test with 'npm run test' command.