4
CTS(Compatibility test Suite) How Does CTS works? CTS set Up 1.PC Side 2.Devices side PC Side: 1.Pc should have atleast 2GB RAM 2.Java should install in the PC(JDK) 3.Download the android SDK from the android developer site.( To detect the device in the PC) From the below link: http://developer.android.com/sdk/index.html#download Note: Based on the pc configuration we can donload 32-bit or 64-bit.

Steps to Install CTS

Embed Size (px)

DESCRIPTION

Android CTS Installation

Citation preview

Page 1: Steps to Install CTS

CTS(Compatibility test Suite)

How Does CTS works?

CTS set Up

1.PC Side

2.Devices side

PC Side: 1.Pc should have atleast 2GB RAM

2.Java should install in the PC(JDK)

3.Download the android SDK from the android developer site.( To detect the device in the PC)

From the below link: http://developer.android.com/sdk/index.html#download

Note: Based on the pc configuration we can donload 32-bit or 64-bit.

Page 2: Steps to Install CTS

4. Unzip the file and run the eclipse onces.

5.Click SDK folder and go to platform-tools and copy the path in the in the enviroment variables.

Steps:

i.Right click on my computer

ii.Click properties

iii. Click advance tab

iv.Click enviroment variables.

v.Double click on the path

vi. Copy the path of platform-tools

vii. In same way copy the Java path also

Click My computer

Go to’C’ drive

Click program files

Go to java folder

java – Jre7

Example: C:\Program Files\Java\jre7

6. Download the CTS package from the below link

http://source.android.com/compatibility/downloads.html

i. Unzip the downloaded CTS package

ii. Copy the unzip folder in ‘C’ drive

iii. Uder the cts folder there sub folder are present.

a.Docs

b.Repository

c.Tools

iv. Under tools folder create one bat folder (to run the CTS it is for our easy purpose)

V. Under repository folder there are three folder.

a. Plans

b. Test cases

c. Results

d. Logs

Page 3: Steps to Install CTS

7. Download the CTS media file from the above link.(CTS media file contain different supported codecs)

Devices side: 1.Go to settings

2. Developer option

3.Check the stay awake box

4. Check allow mock location.

5. Display -> Select never time out

How to run the CTS: To run a test plan on a single device:

1. Make sure you have at least one device connected

2. Launch the cts-tradefed console by running the 'cts-tradefed' script at android-cts/tools/cts-

tradefed

3. Type:

'run cts --plan CTS' to run the default CTS plan

Note: Unzip the file and copy the folder in the internal memory while running CTS(DUT)

4.To run a test package:

'run cts --package <packagename>'

5.To run a test class:

'run cts --class <full test class name>'

Note: All connected devices must be running the same build

For more options: 'run cts --help'

More details of CTS will present in below link:

http://source.android.com/compatibility/cts-intro.html#types-of-test-cases

Page 4: Steps to Install CTS