TESTING THE APPLICATION

Testing with Android Studio

With Kuika, you can test the applications you have developed for Android operating systems using Android Studio.

With Kuika, you can test the applications you have developed for Android operating systems using Android Studio.

You can perform the testing process in a 3-step structure.

These steps are

  1. Making the relevant configuration settings in Configuration Manager view mode
  2. Exporting the developed application
  3. Testing the application with Android Studio

Let's start with the first step.

  1. Open Configuration Manager view mode.
  2. Create a new configuration setting and go to the Android tab, and activate the Support Android UI Switch.
  3. Then click on the drop-down menu opposite Configuration under the Play Store Settings section and click ADD NEW to open the modal screen where you can enter information.
  4. In the modal screen, first, enter the Play Store Connect API configuration setting name and select APK from the drop-down menu opposite the Publish Type heading.
  5. Then click the CREATE button to return to the previous screen. To save the configuration setting you created, click the SAVE button in the upper right corner.

With these steps, we have completed the first step; now, let's look at the second step together.

  1. To export the project, first click on the Rocket icon in the Header on the platform interface.
  2. Select the configuration setting you want to use in the application from the field opposite Android via the drop-down menu in the Content Menu that opens.
  3. Finally, click on the Download Source Code button to export your application and complete the second step.

You are ready for the third and final step!

  1. Transfer the compressed (.rar) file titled AndroidProjectTemplate that you exported in the previous step to a folder on your computer.
  2. Then, open Android Studio.
  3. On the first screen in Android Studio, you can see and open the downloaded project in the Projects tab.
  4. If you cannot see it, you can open the project by clicking the Open button.
  5. In the opened project, you can start the testing process in the Emulator by clicking the green play button on the top bar.
  6. You can also test your application using a physical Android device through Android Studio.
  7. You can use the Running Devices menu in the top bar for this process.
  8. If you want to test with your own mobile device, connect your device to the computer with a USB cable.
  9. The relevant device will be listed in the Running Devices menu. At this point, you can select your test device and start the test process.

You can run the same process for the device connected to your computer via WI-FI.

  1. Start by making sure that the device with Android Studio and the test device are on the same WI-FI network.
  2. In the Running Devices menu, click Pair Devices Using WI-FI.
  3. On the next screen, you can use either a QR or a Pairing Code.
  4. To connect with QR, go to Settings → Developer Options → Wireless Debugging → Pairing Using QR Code on the Android test device. Complete the process using the notifications received on the physical device.

In some cases (device-related), the connection option with a QR Code may not work.

  1. At this point, to connect with Pairing Code, go to Settings -> Developer Options -> Wireless Debugging -> Pair device with Pairing Code on the Android test device.
  2. Complete the process using the notifications received on the physical device.

With these steps, we have completed the testing process in Android Studio. In the next learning content, we will examine the testing process with Appetize.

With Kuika, you can test the applications you have developed for Android operating systems using Android Studio.

With Kuika, you can test the applications you have developed for Android operating systems using Android Studio.

You can perform the testing process in a 3-step structure.

These steps are

  1. Making the relevant configuration settings in Configuration Manager view mode
  2. Exporting the developed application
  3. Testing the application with Android Studio

Let's start with the first step.

  1. Open Configuration Manager view mode.
  2. Create a new configuration setting and go to the Android tab, and activate the Support Android UI Switch.
  3. Then click on the drop-down menu opposite Configuration under the Play Store Settings section and click ADD NEW to open the modal screen where you can enter information.
  4. In the modal screen, first, enter the Play Store Connect API configuration setting name and select APK from the drop-down menu opposite the Publish Type heading.
  5. Then click the CREATE button to return to the previous screen. To save the configuration setting you created, click the SAVE button in the upper right corner.

With these steps, we have completed the first step; now, let's look at the second step together.

  1. To export the project, first click on the Rocket icon in the Header on the platform interface.
  2. Select the configuration setting you want to use in the application from the field opposite Android via the drop-down menu in the Content Menu that opens.
  3. Finally, click on the Download Source Code button to export your application and complete the second step.

You are ready for the third and final step!

  1. Transfer the compressed (.rar) file titled AndroidProjectTemplate that you exported in the previous step to a folder on your computer.
  2. Then, open Android Studio.
  3. On the first screen in Android Studio, you can see and open the downloaded project in the Projects tab.
  4. If you cannot see it, you can open the project by clicking the Open button.
  5. In the opened project, you can start the testing process in the Emulator by clicking the green play button on the top bar.
  6. You can also test your application using a physical Android device through Android Studio.
  7. You can use the Running Devices menu in the top bar for this process.
  8. If you want to test with your own mobile device, connect your device to the computer with a USB cable.
  9. The relevant device will be listed in the Running Devices menu. At this point, you can select your test device and start the test process.

You can run the same process for the device connected to your computer via WI-FI.

  1. Start by making sure that the device with Android Studio and the test device are on the same WI-FI network.
  2. In the Running Devices menu, click Pair Devices Using WI-FI.
  3. On the next screen, you can use either a QR or a Pairing Code.
  4. To connect with QR, go to Settings → Developer Options → Wireless Debugging → Pairing Using QR Code on the Android test device. Complete the process using the notifications received on the physical device.

In some cases (device-related), the connection option with a QR Code may not work.

  1. At this point, to connect with Pairing Code, go to Settings -> Developer Options -> Wireless Debugging -> Pair device with Pairing Code on the Android test device.
  2. Complete the process using the notifications received on the physical device.

With these steps, we have completed the testing process in Android Studio. In the next learning content, we will examine the testing process with Appetize.

Yardımcı kaynaklar

Glossary