Table of Contents

Advertisement

Quick Links

Native TCT User Guide-v1.0
Native TCT Tester User Guide
Version 1.0, for Tizen 6.0
Copyright © 2015 Intel Corporation and Samsung Electronics Co., Ltd. All rights reserved. No portions
of this document may be reproduced without the written permission of Intel Corporation.
Intel is a trademark of Intel Corporation in the U.S. and/or other countries.
Linux is a registered trademark of Linus Torvalds.
Tizen® is a registered trademark of The Linux Foundation.
ARM is a registered trademark of ARM Holdings Plc.
*Other names and brands may be claimed as the property of others.
Any software source code reprinted in this document is furnished under a software license and may only
be used or copied in accordance with the terms of that license.

Advertisement

Table of Contents
loading

Summary of Contents for NATIVE TCT

  • Page 1 Native TCT User Guide-v1.0 Native TCT Tester User Guide Version 1.0, for Tizen 6.0 Copyright © 2015 Intel Corporation and Samsung Electronics Co., Ltd. All rights reserved. No portions of this document may be reproduced without the written permission of Intel Corporation.
  • Page 2: Table Of Contents

    Native TCT User Guide-v1.0 Contents Introduction ............................4 What is Native TCT? ......................5 How does Native TCT Work? ....................5 Test Environment Setup ........................5 Symbols and Abbreviations ....................5 Hardware Requirements......................6 Software Requirements ......................6 Getting TCT-binary and TCT-manager ................. 7 2.4.1...
  • Page 3 Native TCT User Guide-v1.0 4.2.1.11. Testing the Input Device ..................49 4.2.1.12. Multimedia Features ..................... 50 4.2.1.13. Image View ......................51 4.2.1.14. Data Control ......................51 4.2.1.15. Application Controls .................... 55 4.2.1.16. The Pick Operation ....................57 4.2.1.17. Sensors ........................60 4.2.1.18.
  • Page 4: Introduction

    Execute/Test EFL: ......................161 4.3.1 Run EFL UTC ........................161 4.3.2 View Result Summary ....................... 162 Appendix ............................162 Introduction This document provides comprehensive information about Native TCT Manager, including an Overview, Test Environment setup, Installation Instructions, Operating Instructions, and Concluding Routines etc.
  • Page 5: What Is Native Tct

    How does Native TCT Work? Native TCT has four main components: a. Native TCT Manager is a java GUI tool that runs on the host machine, allow users to create a test execution plan, trigger the test execution, and view the test report. By supporting automated API testing, Native TCT Manager makes it much easier for users to conduct TCT tests and enter hardware capability information.
  • Page 6: Hardware Requirements

    Hardware Requirements a. PC or Laptop that will work as host on which TCT-Manager will be installed b. Tizen device that will work as target on which TCs will be executed c. USB Cable for connecting device to host Software Requirements a.
  • Page 7: Getting Tct-Binary And Tct-Manager

    .zip $ unzip NativeTCT_6.0_XX.zip $ cd NativeTCT_6.0-XX/ Native TCT packages are already built and inside in NativeTCT_6.0/TCT/native-tct /package/mobile and native-tct/package/wearable folder. You can find zip files in there. Folder Structure 2.4.2 You will find the folder structure like below:...
  • Page 8: For Host Configuration

    Figure 2-2: TCT-Manager folder structure The following table describes the folders contents. Folder Description All the packages to be tested in device package Contains tct tools and testkitlite etc. tools Installation scripts to install host scripts Table 2-1: TCT-Manager folders For Host Configuration 2.4.3...
  • Page 9: For Device Configuration

    Native TCT User Guide-v1.0 For Device Configuration 2.4.4 a. Connect the target device to host (PC) through USB. b. Remount system as read-write. $ sdb root on c. Set environment on your target $ sudo python /opt/tct/tizen_native_6.0/scripts/tct-config-device.py Figure 2-4: Device Installation...
  • Page 10: Application Status Report

    Native TCT User Guide-v1.0 $ unzip NativeTCT_6.0_XX.zip $ cd NativeTCT_6.0_XX/NativeTCT_6.0/TBT/ $ chmod +x install.sh $ ./install.sh d) After running the script, TBT will be launched. e) Test case list will appear in welcome screen. f) If the required feature for the respective test case is not available in the device, then a message will be shown, while executing the test cases.
  • Page 11: Push Efl Utc Package Into Tizen Device

    Native TCT User Guide-v1.0 $ unzip NativeTCT_6.0_XX.zip $ cd NativeTCT_6.0_XX / NativeTCT_6.0/EFL Push EFL UTC Package into Tizen Device 2.6.2 Enable sdb root mode: $sdb root on Push EFL UTC package into Tizen device: $sdb push efl-test-suite-1.3.0-2.{Option}.rpm /home/owner/content/ Figure 2-6: EFL UTC Push Login to Tizen Device via SDB and Install EFL UTC Package 2.6.3...
  • Page 12: How To Execute Tct

    Native TCT User Guide-v1.0 How to Execute TCT Execute TCT Test Suites: Using Native TCT-Manager 3.1.1 Execute the following command: $ tct-mgr Figure 3-1: TCT-Manager UI Choose Profile: 3.1.1.1 Choose your profile from profile combo box. Figure 3-2: Select Profile...
  • Page 13 Native TCT User Guide-v1.0 Choose Target: 3.1.1.2 Choose your target from Settings > Choose Device: Figure 3-3: Choose device in TCT-Manager UI Figure 3-4: Device selection in TCT-Manager Execution by Creating a New Plan: 3.1.1.3 a. Select suites by checking boxes from trees.
  • Page 14 Figure 3-6: Input plan name in TCT-Manager Perform Health check: 3.1.1.4 As shown in Figure 3-7, health check routines will be invoked to check the status of the target before executing the selected test suites. After all health check routines pass, TCT-Manager runs selected test suites.
  • Page 15 Native TCT User Guide-v1.0 Figure 3-7: Health check monitoring after execution Run in TCT-Manager Edit Pre-Configuration File: 3.1.1.5 If you execute any package which needs pre-condition, a dialog is displayed to show the configurable parameters for testing as shown in Figure 3-8. Change the values of parameters as per the test environment and press ‘Continue’.
  • Page 16 *If there is no H/W camera, please connect USB samsung camera. camera If Supported, Camera should be working. *For TV profile, please connect USB samsung TV camera. [Set the Pre-Configure dialog of TCT- Get credential app_id and app_code from Manager capi-maps- HERE developer...
  • Page 17 (target) App ID and App Secret. So, you can do push TCT with your own AppID and AppSecret. Adding notices: Please check push tutorial's "Managing Security" section with care.
  • Page 18 Native TCT User Guide-v1.0 *Down Notification bar > Enable Wi-Fi [Set the Pre-Configure dialog of TCT- Manager wifi If Supported, Wi-Fi should be enabled. *Wi-Fi_WPSACCESSPOINTNAME (Wi-Fi router's name) *Wi-Fi_ACCESSPOINTPIN (Wi-Fi router`s password) Packages Pre-requisites DEVICE [How to find Information] *Down Notification >...
  • Page 19 (target) App ID and App Secret. So, you can do push TCT with your own AppID and AppSecret. Adding notices: Please check push tutorial's "Managing Security" section with care.
  • Page 20 (Only allow to write this information to tele-company) *Down Notification bar > Enable Wi-Fi Down Notification bar > Enable Mobile Data [Set the Pre-Configure dialog of TCT- Manager *URLDOWNLOAD_URL https://download.tizen.org/misc/Tizen- Must be connected to Internet using Wi-Fi or url-download Brand/01-Primary-Assets/Logo/On- data network.
  • Page 21 Execution Progress: 3.1.1.6 When executing the test, this screen will be shown as in Figure 3-9. Figure 3-9: Execution progress while Running Test Suite in TCT-Manager Execution Report: 3.1.1.7 After executing all the test suites, Reports tab will show a results list as in Figure 3-10.
  • Page 22 Click the red marked link to view result summary in browser as shown in Figure 3-12. Figure 3-12: View the Execution report in TCT-Manager TCT-manager provides detailed information about test results. TCT Report (Figure 3-13) shows how many test suites were executed, how many test cases were checked, how many test cases...
  • Page 23 Native TCT User Guide-v1.0 Figure 3-13: View the Execution report summary in TCT-Manager View Result Details: 3.1.1.10 By clicking the name of each test suite, you can check the name, purpose, result and error log of each test case (Figure 3-14). Also you can see sdb dlog by clicking dlog link.
  • Page 24 Figure 3-15: Exporting Log of Execution Report from TCT-Manager Stop Execution: 3.1.1.12 While executing test suites if executions need to be stopped, click the window close button which will prompt like below (Figure 3-16). Figure 3-16: Stop the test-suite execution while execution is running in TCT-Manager...
  • Page 25 Native TCT User Guide-v1.0 Rerun Failed Test Cases: 3.1.1.13 If you want to re-run for non-pass test cases, click rerun button (Figure 3-17). Figure 3-17: Rerun Failed TCs...
  • Page 26: Tbt Execution Steps

    Native TCT User Guide-v1.0 TBT Execution Steps Installing the TBT Package on device 4.1.1 Install the TBT package by following steps: a) Firstly uninstall tbtcoreapp from the device if already installed and create askuser_disable file in device. b) Execute install.sh.
  • Page 27: Application Status Report

    Native TCT User Guide-v1.0 Application Status Report 4.1.2 The status (Pass, Fail, Not-Tested or Feature-Not-Supported) of all the test cases are stored in an XML file. The name of the file is tbt-report.xml. It is generated in the Others folder of the storage directory of the system.
  • Page 28 Native TCT User Guide-v1.0 Camera Record To test the camera recording functionality: a. Select the Record Test from the test case list. b. Press Record button to record the video. c. Press Stop to stop the recording Check the recorded video clip which is shown automatically.
  • Page 29: Sound

    Native TCT User Guide-v1.0 Figure 3-20: Face detection Camera HDR Capture: To perform the test, a. Select Camera HDR Capture from the test case list. b. Press button Capture and the captured picture is shown. c. If the picture can be captured and shown, then Pass, otherwise Fail.
  • Page 30: Gps

    Native TCT User Guide-v1.0 Figure 3-22: Sound Test Sound Volume To test the sound volume: a. Select the Volume Test from the test case list and the sound is played automatically. b. Slide the Volume Slider to change the volume level.
  • Page 31: Bluetooth Le

    Native TCT User Guide-v1.0 Figure 3-24: GPS Note: If the GPS information is unavailable for 6 minutes, the process fails. Bluetooth LE 4.2.1.4. This section describes the Bluetooth LE testing options. If the functionality works as expected, press PASS, otherwise, press FAIL.
  • Page 32 Native TCT User Guide-v1.0 Figure 3-25: GATT Client Gatt Server Test To perform the test Make sure Bluetooth is turned ON. Run Gatt Server from TBT module list in another device. Press Start Server button to Start Gatt Server. Follow the Steps in Gatt Client module.
  • Page 33: Bluetooth

    Native TCT User Guide-v1.0 Figure 3-26: GATT Server Bluetooth 4.2.1.5. This section describes the Bluetooth testing options. If the functionality works as expected, then press PASS, otherwise, press FAIL. Bluetooth Client Paired: To test Bluetooth client pairing: a. Select Client Paired from the test case list in one phone.
  • Page 34 Native TCT User Guide-v1.0 Figure 3-27: Client Paring Bluetooth Server Paired: To test Bluetooth server pairing: a. Select Server Paired from the test case list of one phone. b. Select Client Paired from the test case list of other phone.
  • Page 35 Native TCT User Guide-v1.0 Figure 3-28: Server Pairing Bluetooth OPP Server: To perform the test at first, Turn On the Bluetooth of the device where the object will be pushed. Then, a. Select OPP Server from the test case list of one phone.
  • Page 36 Native TCT User Guide-v1.0 Figure 3-29: OPP Server Bluetooth OPP Client To perform the test at first, Turn On the Bluetooth of the device where the object will be pushed. Then, a. Select Bluetooth OPP Client from the test case list in one phone.
  • Page 37 Native TCT User Guide-v1.0 Figure 3-30: OPP Client Bluetooth Hands Free: To perform the test a. Select Handsfree from the test case list b. If Bluetooth is off, turn on manually. c. Press button Discover to see the list of Bluetooth Audio devices.
  • Page 38 Native TCT User Guide-v1.0 Bluetooth Audio Connect: To perform the test a. Select Audio Connect from the test case list b. If Bluetooth is off, turn on manually. c. Press button Discover to see the list of Bluetooth Audio devices.
  • Page 39 Native TCT User Guide-v1.0 Figure 3-33: Authorization Test Bluetooth Profiles: To perform the test a. Select Bluetooth Profile form the test case list. b. If Bluetooth is off, turn on manually. c. Press button Discover to see the list of Bluetooth Audio devices.
  • Page 40 Native TCT User Guide-v1.0 Bluetooth SDP: To perform this test: a. Select Bluetooth SDP from the test case list. b. If Bluetooth is off, turn on manually. c. Press button Discover to see the list of Bluetooth devices. d. Clicked on the desire device to make pair with that device.
  • Page 41 Native TCT User Guide-v1.0 Figure 3-36: Client Socket Bluetooth Server Socket: To perform the test a. Select Server Socket from the test case list in one phone. b. Select Client Socket from the test case list of other phone. c. If Bluetooth is off, turn on manually.
  • Page 42 Native TCT User Guide-v1.0 b. If Bluetooth is off, turn on manually. c. Press button Discover to see the list of Bluetooth HID devices. d. Select the desired device from the list. e. If you are trying to connect a keyboard, a pop-up will appear, press the same code on the keyboard and press enter.
  • Page 43: Bluetooth Error Callbacks

    Native TCT User Guide-v1.0 Figure 3-39: Health Bluetooth Error Callbacks 4.2.1.6. This section is for testing the errors generated while invoking the callbacks and preconditions in Bluetooth. Create Bond CB To test create bond in bluetooth: a. Select bluetooth off from settings.
  • Page 44 Native TCT User Guide-v1.0 Destroy Bond CB To test destroy bond in bluetooth: a. Select bluetooth off from settings. b. Press Destroy Bond CB. c. Error message "result = BT_ERROR_NOT_ENABLED" is displayed. d. Select Bluetooth on from settings. e. Create bond with some device f.
  • Page 45 Native TCT User Guide-v1.0 Figure 3-42: DiscoverDevicesCB Get Device CB To test get device in bluetooth: a. Select bluetooth off from settings. b. Press Get Device CB. c. Error message "result = BT_ERROR_NOT_ENABLED" is displayed. d. Select Bluetooth on from settings.
  • Page 46 Native TCT User Guide-v1.0 a. Select bluetooth off from settings. b. Press Set Name CB. c. Error message "result = BT_ERROR_NOT_ENABLED" is displayed. d. Select Bluetooth on from settings. e. Press Set Name CB. f. Message of invoked callback is displayed with Name BT_TEST5 If all the steps are performed correctly then Pass, otherwise Fail.
  • Page 47: Wi-Fi Activation

    Native TCT User Guide-v1.0 Wi-Fi Activation 4.2.1.7. To test the Wi-Fi activation: a. Select Wifi Test from the test case list. b. To enable Wi-Fi, press button Wifi On. c. To disable Wi-Fi, press button Wifi Off. Figure 3-46: WIFI 4.2.1.8.
  • Page 48 Native TCT User Guide-v1.0 Figure 3-47: NFC Tag NFC P2P To perform the test, a. Take two NFC supported devices and switch on NFC in both b. Select NFC P2P from the test case in two devices and click Server in one device and Client in other device c.
  • Page 49: Display Test

    Native TCT User Guide-v1.0 Display Test 4.2.1.9. The following requirements are mandatory for the display test: Minimum screen size: 240 x 320 (QVGA) Figure 3-49: Display Test To test the display, check whether the screen size is larger than the minimum size of 240x320.
  • Page 50: Multimedia Features

    Native TCT User Guide-v1.0 To test the edit field, three kinds of keypad will appear. If the keys can be pressed and inputs are shown, then the test is Pass, otherwise Fail. a. Select Number Keypad from test case list for Number Keypad Test.
  • Page 51: Image View

    Native TCT User Guide-v1.0 Figure 3-52: Local Video 4.2.1.13. Image View The image view test enables you to confirm that file formats, such as .jpeg, .bmp, .gif, and .png can be viewed normally. To perform the image view test, a. Select ImageView PNG from test case list and an .png image will be shown automatically b.
  • Page 52 Native TCT User Guide-v1.0 Insert Operation To perform the operation a. Select Sql Insert from the test case list b. Press button Start. c. If the request is sent successfully and information is shown normally then Pass. d. If any error is shown, then Fail.
  • Page 53 Native TCT User Guide-v1.0 Figure3-55: SQL Delete Update Operation To perform the operation a. Select Sql Update from the test case list b. Press button Start. c. If the request is sent successfully and information is shown normally then Pass.
  • Page 54 Native TCT User Guide-v1.0 Figure 3-57: SQL Select Cursor Operation To perform the operation a. Select Sql Cursor from the test case list b. Press button Start. c. It will show the list of row id of the selected items.
  • Page 55: Application Controls

    Native TCT User Guide-v1.0 a. Select SQL Map from the test case list. b. Press button Start Test. If three values are shown then Pass. c. If all the values are not shown, then Fail. Figure 3-59: SQL Map Application Controls 4.2.1.15.
  • Page 56 Native TCT User Guide-v1.0 Figure 3-60: App Control View Test App Control View Image To perform the test: a. Select Operation View Image from the test case list confirm b. Select list items one after another View UI. c. Select operationpickviewapp and press Always or Just Once d.
  • Page 57: The Pick Operation

    Native TCT User Guide-v1.0 Figure 3-63: App Control View Sound Test App Control View Video To perform the test: a. Select Operation View Video from the test case list confirm b. Select list items one after another View UI. c. Select operationpickviewapp and press Always or Just Once d.
  • Page 58 Native TCT User Guide-v1.0 e. If single data is returned, then Pass, otherwise Fail. Figure 3-65: App Control Pick Test App Control Pick All To perform the test: a. Select Operation Pick All from the test case list. b. Select all from the list.
  • Page 59 Native TCT User Guide-v1.0 Figure 3-66: App Control Pick All Test App Control Pick Image To perform the test: a. Select Operation Pick image from the test case list b. Select Image from the list. c. Select operationpickviewapp and press Always or Just Once d.
  • Page 60: Sensors

    Native TCT User Guide-v1.0 App Control Pick Audio To perform the test: a. Select Operation Pick audio from the test case list b. Select Audio from the list. c. Select operationpickviewapp and press Always or Just Once d. Operationpickviewapp showing all types of audio file, select any one.
  • Page 61 Native TCT User Guide-v1.0 Figure 3-70: Accelerometer Gyroscope To perform the test a. Select Gyroscope from the test case list b. If the device is stable, then the background of the cube is black. c. Move the device to the direction of the cube movement and background color will be blue.
  • Page 62 Native TCT User Guide-v1.0 Figure 3-72: Proximity Light To perform the test a. Select Light from the test case list. b. Move the device to the light source. c. The color of the object slowly turns into red according to the intensity of light.
  • Page 63 Native TCT User Guide-v1.0 Figure 3-74: Magnetometer Pressure To perform the test a. Select Pressure from the test case list b. Current air pressure is displayed automatically if device supports pressure sensor. Figure 3-75: Pressure Ultra Violet To perform the test a.
  • Page 64: Platform Resources

    Native TCT User Guide-v1.0 c. The color of the object slowly turns into violet according to the intensity of ultraviolet light. Figure 3-76: Ultra Violet 4.2.1.18. Platform Resources This chapter describes the various tests that can be performed to check the platform resources.
  • Page 65 Native TCT User Guide-v1.0 Point animation: Dimension animation: Rectangle animation:...
  • Page 66 Native TCT User Guide-v1.0 Rotate animation: Figure 3-77: UI Animations UI Components This section describes the tests you can perform on UI components. Image Resizing This test enables you to resize the image as bigger and smaller. To perform the Resize Drawable test: a.
  • Page 67 Native TCT User Guide-v1.0 Shapes This test shows different shapes in the screen. To perform the Shape test: a. Select the Shape from the test case list b. If different shapes appear automatically and correctly, then Pass otherwise Fail. Figure 3-79: Testing Shapes...
  • Page 68 Native TCT User Guide-v1.0 a. Select Alpha Draw able from test case list and objects of different brightness is shown automatically. b. If it is shown, then the test is successful. Figure 3-81: Testing Alpha drawing Fonts To perform the test, a.
  • Page 69: Efl / Event

    Native TCT User Guide-v1.0 Figure 3-83: Testing Line Drawable 4.2.1.19. EFL / Event This chapter describes the various tests that can be performed to check some EFL library functions. If the functionality works as expected, press Pass. Otherwise, press Fail.
  • Page 70 Native TCT User Guide-v1.0 Event View To perform the test a. Select Event View from the test case list. b. Select Settings from the Notification bar. c. From Settings, select Language and input and change the language. d. Go back to TBT and the information about language change and region change will be shown.
  • Page 71: Ime

    Native TCT User Guide-v1.0 Figure 3-86: EFL Callback 4.2.1.20. IME IME Alphabetic This module shows a custom Alphabetic keyboard layout and its actions. To Test this Module – a. Set Default keyboard to TBT keyboard: b. Go to Settings>Language and input > keyboard and enable TBT keyboard, then Select Default keyboard as TBT Keyboard.
  • Page 72 Native TCT User Guide-v1.0 Figure 3-87: IME Alphabetic IME Numeric This module shows a custom Numeric keyboard layout and its actions. To Test this Module – a. Set Default keyboard to TBT keyboard: b. Go to Settings>Language and input > keyboard and enable TBT keyboard, then Select Default keyboard as TBT Keyboard.
  • Page 73 Native TCT User Guide-v1.0 c. Open IME Events from TBT module list d. Change Language from Settings > Language and input > Display language e. Return back to IME Events module. f. The text of the key will be changed as the language changed.
  • Page 74: The Widget

    Native TCT User Guide-v1.0 Figure 3-90: IME Context Info 4.2.1.21. The Widget To perform the test: a. Select WIDGET from the test case list b. Press button View Widget UI. c. If Widget UI is shown, then Pass otherwise Fail.
  • Page 75: Oauth 2.0

    Native TCT User Guide-v1.0 d. After that go to the home screen and check; if shortcut is created the PASS, otherwise FAIL. Figure 3-92: Shortcut 4.2.1.23. OAuth 2.0 This section describes the OAuth 2.0 testing options. If the functionality works as expected, press PASS, otherwise, press FAIL.
  • Page 76: Push Service

    Native TCT User Guide-v1.0 Figure 3-93: OAuth 2.0 4.2.1.24. Push Service To perform the test, select Push Service from the test case list. There are two tests. Firstly, Make sure Internet is connected. run tbt_pushtestapp kill app instance of tbt_pushtestapp from background by long pressing home button Now, in tbtcoreapp launch Push module then, Press Start button to start the push service and a successful response will be displayed.
  • Page 77: Runtime Info

    Native TCT User Guide-v1.0 Figure 3-94: Push Service 4.2.1.25. Runtime Info To perform the test, select Runtime Info from the test case list. There are 9 scenarios in runtime-info. Audio Jack: There are two test steps Firstly, 1. Initial page will show Audio Jack Not Connected, connect headphone in audio jack.
  • Page 78 Native TCT User Guide-v1.0 2. You can plugin charger or plug it out and see whether it is charging or not. d. GPS Connection: There are two test steps Firstly, 1. Initial page will show GPS state, depending on the “Location” enabled or not.
  • Page 79: Attach Panel [Need To Be Tested In Mobile Only Not On Fhub]

    Native TCT User Guide-v1.0 2. You can enable and disable Wifi Hotspot [Settings->Thethering->Wi-Fi Thethering] and see whether it is enabled or not.[You should insert sim to enable wifi hotspot] If all the above scenarios steps are competed perfectly, then the test can be considered as success.
  • Page 80: Hardware/Software Feature Summary

    Native TCT User Guide-v1.0 4.2.1.27. Hardware/Software Feature Summary To view the hardware/software feature summary of the device: a. Select HW / SW Feature Test from the test case list b. Different Hardware/Software features are shown automatically. c. If it works as expected, press Pass. Otherwise, press Fail.
  • Page 81: Nsd

    Native TCT User Guide-v1.0 Figure 3-98: Picture Transfer 4.2.1.29. NSD DNS-SD Remote To perform the test: a. Open DNS-SD Remote module under NSD group. b. “dnssd initialized” will be shown in bottom list. c. Press Add Record button. Then, “local service registered” will be seen in bottom list and in top list added text with key value pair will be seen.
  • Page 82 Native TCT User Guide-v1.0 f. Press Browse Service button. Then, corresponding service and text value in DNS-SD Remote will be seen in top list. g. If it works as expected, press Pass. Otherwise, press Fail. Figure 3-100: DNS-SD Local SSDP Remote To perform the test: a.
  • Page 83: Sd-Card Status

    Native TCT User Guide-v1.0 e. Press Add Service in SSDP Remote module. f. Press Browse Service button. Then, corresponding url, usn in SSDP Remote will be seen in top list. g. If it works as expected, press Pass. Otherwise, press Fail.
  • Page 84: Radio

    Native TCT User Guide-v1.0 4.2.1.31. Radio To view the Radio status on the device: a. Select Radio from the test case list. b. Connect headphone in audio jack. c. Now, remove headphone and it will show “Interrupted by unplugging headphones”.
  • Page 85: Media Key

    Native TCT User Guide-v1.0 Figure 3-105: Connection Status Device Status To perform the test, a. Select Device Status from the test case list . b. Insert headphone in Audio Jack , Change sound profile to “Sound”. c. It shows “state of device was changed”.
  • Page 86: Package Manager

    Native TCT User Guide-v1.0 Figure 3-107: Media Key 4.2.1.34. Package Manager To view the Package Manager status on the device: a. Select Package Manager from the test case list. b. Uninstall package: Go to Settings->Applications->Application manager, now uninstall some package. You can see that package status changes to “uninstall event type” and State changes to “completed event state”.
  • Page 87 Native TCT User Guide-v1.0 Figure : Notification Text 3-109 Notification Time To perform the test, a. Select Notification Time from the test case list. b. You will see time notification “<Time>some numbers</Time>”. If it works as expected, press Pass. Otherwise, press Fail.
  • Page 88: Connection

    Native TCT User Guide-v1.0 Figure 3-111: Notification Title Notification Image To perform the test, a. Select Notification Image from the test case list. b. You will see blank notification with some image icon. If it works as expected, press Pass. Otherwise, press Fail.
  • Page 89: System Settings

    Native TCT User Guide-v1.0 Figure 3-113: Connection 4.2.1.37. System Settings To perform the test: a. In System Settings make changes in Display->Font->Size. This should be reflected in the tbtcoreapp - System Settings. b. In System Settings make changes in Date and Time->24 clock. This should be reflected in the tbtcoreapp - System Settings.
  • Page 90: Contacts

    Native TCT User Guide-v1.0 Figure 3-114: System Settings 4.2.1.38. Contacts To perform the test: a. In contacts menu, create a contact(if already exists, delete and re-create it) with Name as "Test" and phone number as "12345678" b. Make a number of calls to Test c.
  • Page 91: Tts/Stt

    Native TCT User Guide-v1.0 4.2.1.39. TTS/STT To perform the test: a. Run TTS. b. Press Text to Speech Button c. Text: The quick brown fox jumps over the lazy dog can be heard Figure 3-116: TTS To perform the test: a.
  • Page 92 Native TCT User Guide-v1.0 STT Error To perform the test: a. Confirm internet is not connected and Run STT Error. b. Press Speak button and say something loud c. "[ERROR] Fail to Start” will be shown. Figure 3-118: STT Error...
  • Page 93: Iot

    Native TCT User Guide-v1.0 Figure 3-119: Voice Control 4.2.1.40. IoT IoTCon Basic Server To perform the test: a. Run IoTCon Basic Client in Other Device after run this module. b. Make sure both Server and Client Device connected in Same Wifi AP.
  • Page 94 Native TCT User Guide-v1.0 Figure 3-120: IoTCon Basic Server IoTCon Basic Client To perform the test: Run IoTCon Basic Server module in Other Device before run this module. A resource ID will be shown in List. Select resource ID, Then GET button will be enabled.
  • Page 95: Dali

    Native TCT User Guide-v1.0 4.2.1.41. DALi DALi Actor To perform the test: a. Run DALi Actor. b. Connect mouse with target using OTG cable. c. Touch/Hover/Wheel on Test Button d. If the corresponding event signal and data mgs are changed then press Pass. Otherwise, press Fail.
  • Page 96 Native TCT User Guide-v1.0 Figure 3-124: DALi Stage DALi Touch Data To perform the test: a. Run DALi Touch Data. b. Touch on the screen c. If the touched data mgs are changed then press Pass. Otherwise, press Fail Figure 3-125: DALi Touch Data...
  • Page 97 Native TCT User Guide-v1.0 Figure 3-126: DALi Button DALi Slider To perform the test: a. Run DALi Slider. b. Change the slider position. c. If the corresponding event signals mgs are changed then press Pass. Otherwise, press Fail Figure 3-127: DALi Slider...
  • Page 98 Native TCT User Guide-v1.0 Figure 3-128: DALi Text Control DALi Keyboard Focus Manager To perform the test: a. Run DALi Keyboard Focus Manager. b. Connect keyboard with target using OTG cable. c. Press Up/Down key on keyboard to change the focus of control to test PreFocusChangeSignal d.
  • Page 99 Native TCT User Guide-v1.0 f. One finger swipe down until last control to select then again swipe down then focus overshot signal call. g. One Finger single/double tap on selected control then focused actor activated signal will call. h. Two fingers drag on screen then action scroll signal will call.
  • Page 100 Native TCT User Guide-v1.0 g. Before finished test deactivate the accessibility by run “sh-3.2# vconftool set -f -t bool db/setting/accessibility/tts 0”. h. If the corresponding event signals mgs are changed then press Pass Otherwise, press Fail. Figure 3-131: DALi Accessibility Manager Flick...
  • Page 101 Native TCT User Guide-v1.0 Figure 3-132: DALi Accessibility Manager Tap DALi Long Press Gesture Single To perform the test: a. Run DALi Long Press Gesture Single. b. Perform the one finger long press on screen then corresponding signal and data will display c.
  • Page 102 Native TCT User Guide-v1.0 b. Perform the two finger long press on screen then corresponding signal and data will display c. If the corresponding event signals mgs and touch data are changed then press Pass. Otherwise, press Fail Figure 3-134: DALi Long Press Gesture Double...
  • Page 103 Native TCT User Guide-v1.0 a. Run DALi Pan Gesture Single. b. Perform the one finger pan on screen then corresponding signal and data will display. c. If the corresponding event signals mgs and touch data are changed then press Pass.
  • Page 104 Native TCT User Guide-v1.0 a. Run DALi Pan Gesture Angle and Direction. b. Perform the one finger pan on screen with right diagonal up then corresponding signal and data will display c. Add/Remove angle and direction of pan gesture d. If the corresponding event signals mgs and touch data are changed then press Pass.
  • Page 105 Native TCT User Guide-v1.0 Figure 3-139: DALi Pinch Gesture DALi Tap Gesture Single To perform the test: a. Run DALi Tap Gesture Single b. Perform the one finger single tap on screen then corresponding signal and data will display. c. If the corresponding event signals mgs and touch data are changed then press Pass.
  • Page 106 Native TCT User Guide-v1.0 Figure 3-141: DALi Tap Gesture Multiple DALi Style Manager To perform the test: a. Run DALi Style Manager. b. Press the style change test button. c. If the corresponding event signals mgs are changed then press Pass. Otherwise, press Fail...
  • Page 107 Native TCT User Guide-v1.0 Figure 3-143: DALi TTS DALi Application To perform the test: a. Run DALi Application. b. Perform the corresponding event for application state change. Ex. if change the region/language from settings. c. If the corresponding event signals mgs are changed then press Pass. Otherwise, press Fail...
  • Page 108: Multiclass Widget

    Native TCT User Guide-v1.0 Figure 3-145: DALi Scroll View DALi Widget View To perform the test: a. Run DALi Widget View. b. Widget added signal will call after successfully launch widget on screen c. Widget creation aborted signal will call if unable to launch widget.
  • Page 109: Auto Fill Service

    Native TCT User Guide-v1.0 Figure 3-147: Multiclass Widget App 4.2.1.43. Auto fill Service To perform the test: a. In 'Settings' select 'Language and input'. b. Select 'Auto fill service' menu and then 'Tizen auto fill service sample'. c. Run Auto fill TC, enter any string in each field, and exit by pressing back key.
  • Page 110 Native TCT User Guide-v1.0 Figure 3-148: Camera Preview Camera Recorder: To test the camera recording functionality: a. Select the Record Test from the test case list. b. Press Record button to record the video. c. Press Stop to stop the recording d.
  • Page 111: Sound

    Native TCT User Guide-v1.0 b. Press button Capture and the captured picture is shown. c. If the picture can be captured and shown, then Pass, otherwise Fail. Figure 3-151: Camera HDR Capture Sound 4.2.2.2 a. This section describes the sound testing options. If the functionality works as expected, then press Pass.
  • Page 112: Gps

    Native TCT User Guide-v1.0 Figure 3-153: Sound Volume Test 4.2.2.3 To test the GPS functionality, a. Select the GPS Test from the test case list b. Enable Location and view the GPS information. c. If the information is correct then PASS, otherwise FAIL.
  • Page 113 Native TCT User Guide-v1.0 Figure 3-155: Client Paring Bluetooth Server Paired: To test Bluetooth server pairing: a. Select Server Paired from the test case list of one phone. b. Select Client Paired from the test case list of other phone.
  • Page 114 Native TCT User Guide-v1.0 Bluetooth OPP Server To perform the test at first, Turn On the Bluetooth of the device where the object will be pushed. Then, a. Select OPP Server from the test case list of one phone. b. Select OPP Client from the test case list of other phone.
  • Page 115 Native TCT User Guide-v1.0 If you want to cancel file sending after pressing “Send File” just press “Cancel Transfer” button, check the message to verify pass/fail. h. Check if any image file is pushed in the other device. If any image file is pushed then Pass otherwise Fail.
  • Page 116 Native TCT User Guide-v1.0 d. Select the desired device from the list. e. Press button Connect Audio. f. Now you can hear the key pressing sound in Headset. g. If all the steps are performed correctly then Pass, otherwise Fail.
  • Page 117 Native TCT User Guide-v1.0 e. After successful pairing, connected profiles will be shown. Figure 3-162: Profiles Test Bluetooth SDP To perform this test: a. Select Bluetooth SDP from the test case list. b. If Bluetooth is off, turn on manually.
  • Page 118 Native TCT User Guide-v1.0 g. Check if any file is pushed in the other device. h. If any file is pushed then Pass otherwise Fail. Figure 3-164: Client Socket Bluetooth Server Socket To perform the test, a. Select Server Socket from the test case list in one phone.
  • Page 119 Native TCT User Guide-v1.0 g. Then go to the default messaging application, try to write message from the HID keyboard. h. If input can be inserted using remote input device correctly then PASS otherwise FAIL. Figure 3-166: HID Bluetooth Health To perform the test a.
  • Page 120: Bluetooth Le

    Native TCT User Guide-v1.0 f. A path will be shown where contact are save as vcard from connected device will be shown. g. Go to that path and pull the vcards file, and check contacts are same to the connected device.
  • Page 121: Bluetooth Error Callbacks

    Native TCT User Guide-v1.0 in Gatt Server end. ff. Press Write button, value written to Gatt Server and it will be shown there. gg. Press HW Back button, services list will be shown again hh. Select Battery service, a characteristic will be shown ii.
  • Page 122 Native TCT User Guide-v1.0 Create Bond CB To test create bond in bluetooth: a. Select bluetooth off from settings. b. Press Create Bond CB. c. Error message "result = BT_ERROR_NOT_ENABLED" is displayed. d. Select Bluetooth on from settings. e. Press create bond CB.
  • Page 123 Native TCT User Guide-v1.0 Figure 3-172: DestroyBondCB Discover Devices CB To test discover devices in bluetooth: a. Select bluetooth off from settings. b. Press Discover Devices CB. c. Error message "result = BT_ERROR_NOT_ENABLED" is displayed. d. Select Bluetooth on from settings.
  • Page 124 Native TCT User Guide-v1.0 Figure 3-174: GetDeviceCB Set Name CB To test set name in bluetooth: a. Select bluetooth off from settings. b. Press Set Name CB. c. Error message "result = BT_ERROR_NOT_ENABLED" is displayed. d. Select Bluetooth on from settings.
  • Page 125: Wi-Fi Activation

    Native TCT User Guide-v1.0 Figure 3-176: AddAdvertisingServiceUUID Wi-Fi Activation 4.2.2.7 To test the Wi-Fi activation: a. Select Wifi Test from the test case list. b. To enable Wi-Fi, press button Wifi On. c. To disable Wi-Fi, press button Wifi Off.
  • Page 126 Native TCT User Guide-v1.0 Figure 3-178: NFC Tag NFC P2P To perform the test, a. Take two NFC supported devices and switch on NFC in both b. Select NFC P2P from the test case in two devices and click Server in one device and Client in other device c.
  • Page 127 Native TCT User Guide-v1.0 h. Close the tbt_hcetestappA app and run “NFC HCE Preferred” module from TBT. Launch the preferred nfc hce app. Repeat the step 4 to 6. This time data will be received in preferred app not in default app.
  • Page 128: Smartcard

    Native TCT User Guide-v1.0 SmartCard 4.2.2.9 SmartCard To perform the test a. Install “tbt_smartcardtestapp” and “tbt_smartcardtestapp_signed” apps both. b. Run SmartCard module from TBT module list c. Press Signed button, tbt_smartcardtestapp_signed will be launched with Success message. d. Press Unsigned button, tbt_smartcardtestapp will be launched with Passed message= e.
  • Page 129: Input Device

    Native TCT User Guide-v1.0 Figure 3-184: Graphics Input Device 4.2.2.12 Edit field: To test the edit field, three kinds of keypad will appear. If the keys can be pressed and inputs are shown, then the test is Pass, otherwise Fail.
  • Page 130: Image View

    Native TCT User Guide-v1.0 f. Press Stop to stop the video. Figure 3-186: Local Video Image View 4.2.2.14 The image view test enables you to confirm that file formats, such as .jpeg, .bmp, .gif, and .png can be viewed normally.
  • Page 131 Native TCT User Guide-v1.0 Insert Operation To perform the operation a. Select Sql Insert from the test case list b. Press button Start. c. If the request is sent successfully and information is shown normally then Pass. d. If any error is shown, then Fail.
  • Page 132 Native TCT User Guide-v1.0 b. Press button Start. c. If the request is sent successfully and information is shown normally then Pass. d. If any error is shown, then Fail. Figure 3-190: SQL Update Select Operation To perform the operation a.
  • Page 133: Application Controls Operation View

    Native TCT User Guide-v1.0 g. If all the operations are successful then Pass otherwise Fail. Figure 3-192: SQL Cursor Data Control Map To perform the test, a. Select SQL Map from the test case list. b. Press button Start Test. If three values are shown then Pass.
  • Page 134 Native TCT User Guide-v1.0 App Control View Test To perform the test: a. Select Operation View from the test case list b. Press button View UI. c. If UI is shown, Click item and press Return button. d. Then press button View Service.
  • Page 135 Native TCT User Guide-v1.0 c. Select operationpickviewapp and press Always or Just Once d. Corresponding Sound can be heard. Figure 3-196: App Control View Sound Test App Control View Video To perform the test: a. Select Operation View Video from the test case list confirm b.
  • Page 136 Native TCT User Guide-v1.0 Figure 3-198: App Control Pick Test App Control Pick All To perform the test: a. Select Operation Pick All from the test case list. b. Select all from the list. c. Select operationpickviewapp and press Always or Just Once d.
  • Page 137 Native TCT User Guide-v1.0 App Control Pick Video To perform the test: a. Select Operation Pick video from the test case list b. Select Video from the list. c. Select operationpickviewapp and press Always or Just Once d. Operationpickviewapp showing all types of video file, select any one.
  • Page 138: Sensors

    Native TCT User Guide-v1.0 Sensors 4.2.2.17 This chapter describes the various tests that can be performed to check that the device sensors work normally.If the functionality works as expected, press Pass. Otherwise, press Fail. Accelerometer This test verifies that the acceleration sensor is working normally.
  • Page 139 Native TCT User Guide-v1.0 Figure 3-204: Gyroscope Proximity To perform the test a. Select Proximity from the test case list and an image showing a bulb will appear b. Cover the upper portion of the device with hand and an image showing a glowing bulb will appear.
  • Page 140 Native TCT User Guide-v1.0 Magnetometer To perform the test a. Select Magnetometer from the test case list b. Move device and the value of X, Y and Z component of earth magnetic field will be change accordingly. Figure 3-207: Magnetometer...
  • Page 141: Ui Animations

    Native TCT User Guide-v1.0 Figure 3-209: Ultra Violet UI Animations 4.2.2.18 This chapter describes the various tests that can be performed to check the platform resources. If the functionality works as expected, press Pass. Otherwise, press Fail. To perform the UI test: a.
  • Page 142: Testing Ui Components

    Native TCT User Guide-v1.0 Rectangle animation: Rotate animation: Figure 3-210: UI Animations Testing UI Components 4.2.2.19 This section describes the tests you can perform on UI components. Image Resizing This test enables you to resize the image as bigger and smaller.
  • Page 143 Native TCT User Guide-v1.0 Shapes This test shows different shapes in the screen. To perform the Shape test: a. Select the Shape from the test case list b. If different shapes appear automatically and correctly, then Pass otherwise Fail. Figure 3-212: Shapes...
  • Page 144: Efl / Event

    Native TCT User Guide-v1.0 Figure 3-214: Alpha drawing Fonts To perform the test, a. Select Font from the test case list and text of different font sizes and colors are shown. b. If it is shown, then Pass otherwise Fail.
  • Page 145 Native TCT User Guide-v1.0 Touch To perform the touch test: a. Select Touch from the test case list. b. Touch and drag to draw random curves on the screen. c. Check that the first press is green. d. Check that the touch-drag is blue.
  • Page 146: Ime

    Native TCT User Guide-v1.0 Figure 3-218: Event View EFL Callback To perform the test a. Select EFL Callback from the test case list. b. Press the Hardware Back Button and check whether the back button callback is detected. c. Press button Delete Callback and the callback will be deleted.
  • Page 147 Native TCT User Guide-v1.0 d. An Alphabetic keyboard will shown "ELM_INPUT_PANEL_LANG_AUTOMATIC" will be shown at the bottom key. e. Press Alphabetic keys then corresponding alphabets will be written in entry field. f. Press BACK key to remove one character at a time from entry field.
  • Page 148 Native TCT User Guide-v1.0 Figure 3-221: IME Numeric IME Events This module Tests the effect of Language change Event to custom input method. To Test this Module – a. Set Default keyboard to TBT keyboard: b. Go to Settings > Language and input > keyboard and enable TBT keyboard, then Select Default keyboard as TBT Keyboard.
  • Page 149: Widget

    Native TCT User Guide-v1.0 c. Open IME Context Info from TBT module list d. A keyboard with Pass text to all Keys will be shown e. If everything works properly as steps mentioned above then Pass otherwise Fail. Figure 3-223: IME Context Info IME Wearable Rotary Input This module Tests the Context Info of a custom input panel.
  • Page 150: Push Service

    Native TCT User Guide-v1.0 Figure 3-225: Widget Push Service 4.2.2.23 To perform the test, select Push Service from the test case list. There are two tests. Firstly, a. Press Start button to start the push service and a successful response will be displayed.
  • Page 151 Native TCT User Guide-v1.0 not be tested in wearable. b. Vibrate Mode: There are two test steps. Firstly, 1. Initial page will show “Vibrate Mode is Not Enabled” or “Vibrate Mode is enabled”, depending on the vibrate mode status. 2. You can change status of Vibrate Mode and see whether it is enabled or disabled.
  • Page 152: Hardware/Software Feature

    Native TCT User Guide-v1.0 h. Location: There are two test steps. Firstly, 1. Initial page will show “Location is Enabled” or “Location not enabled”, depending o n the Location is enabled or not. 2. You can enable and disable Location and see whether it is enabled or not.
  • Page 153: Nsd

    Native TCT User Guide-v1.0 Figure 3-228: Hardware/Software Feature Summary 4.2.2.26 DNS-SD Remote To perform the test: a. Open DNS-SD Remote module under NSD group. b. “dnssd initialized” will be shown in bottom list. c. Press Add Record button. Then, “local service registered” will be seen in bottom list and in top list added text with key value pair will be seen.
  • Page 154 Native TCT User Guide-v1.0 Figure 3-230: DNS-SD Local SSDP Remote To perform the test: a. Open SSDP Remote module under NSD group. b. “ssdp initialized” will be shown in bottom list. c. Press Add Service button. Then, “service created” will be seen in bottom list and in top list added url, usn will be seen.
  • Page 155: Sd-Card Status [Not Supported In Wearable]

    Native TCT User Guide-v1.0 SD-Card Status [ 4.2.2.27 Not supported in wearable] To view the SD-Card status of the device: a. Select SD-Card from the test case list. b. You have to change SD card state [Remove/Insert SD Card] to see the changes.
  • Page 156: Media Key [Not Supported In Wearable]

    Native TCT User Guide-v1.0 Connection Status [ Not supported in wearable] To perform the test, a. Select Connection Status from the test case list . b. Insert headphone in Audio Jack , Connection Status now show “Audio Jack connected” .Now, remove headphone and it will display” Audio Jack not connected”.
  • Page 157: Package Manager

    Native TCT User Guide-v1.0 b. Connect headphone that have play button [media key] on it with device. c. Now, Press button on headphone, It will show “Pressed/Released Status” and Media Key for earjack. d. If it works as expected, press Pass. Otherwise, press Fail.
  • Page 158: System Settings

    Native TCT User Guide-v1.0 b. Initially if SIM is not inserted it shows “Profile is not cellular type”. c. Insert SIM: Press back button and again open connection from test list. Now Status shows “Out of Service/Connected” depending on network.
  • Page 159: Contacts [ Not Supported In Wearable]

    Native TCT User Guide-v1.0 Lock/Unlock the device. Same should be reflected in tbtcoreapp - System Settings as Device is unlocked/locked. Locked status is for a fraction of second. If all the steps are performed correctly then Pass, otherwise Fail. Figure 3-240: System Settings Contacts [ Not supported in wearable] 4.2.2.34...
  • Page 160: Tts/Stt

    Native TCT User Guide-v1.0 TTS/STT 4.2.2.35 To perform the test: a. Run TTS. b. Press Text to Speech Button c. Text: The quick brown fox jumps over the lazy dog can be heard Figure 3-242: TTS To perform the test: a.
  • Page 161: Auto Fill Service

    Native TCT User Guide-v1.0 Figure 3-244: STT Error Auto fill Service 4.2.2.36 To perform the test: a. In 'Settings' select 'Auto fill service' and then 'Tizen auto fill service. b. Run Auto fill TC, enter any string in each field, and exit by pressing back key.
  • Page 162: View Result Summary

    Native TCT User Guide-v1.0 Figure 3-245: EFL UTC Run View Result Summary 4.3.2 Get results from Tizen device to your computer: $sdb pull /opt/usr/efl-test-suite/TC/results/ Appendix Certain ports should be opened if company firewall is applied to Wi-Fi being used. These ports are needed to create email account, download files and push module for sending and receiving push notifications.

Table of Contents