bharathi.s. intel® pentium® 4, 3.6 ghz or equivalent amd processor 500 mb free hard disk space 2...

25
Bharathi.S SeeTest

Upload: stuart-white

Post on 31-Dec-2015

224 views

Category:

Documents


3 download

TRANSCRIPT

Bharathi.S

SeeTest

Intel® Pentium® 4, 3.6 GHz or equivalent AMD processor

500 MB free hard disk space2 GB RAM1 available USB 2.0 port and USB cableMicrosoft® Windows XP™ SP2 (32 bit), Vista (32/64

bit), Windows 7 (32/64 bit) or Windows 8.Net Framework 3.5 or higher.

System Requirements

Process of working with SeeTest

To connect a mobile device or an Emulator to SeeTest :A physical external mobile device – such as Android , iPhone,

Blackberry, Symbian or WindowsMobile – using a standard USB cable or WiFi (note - there is as well an on-site Cloud configuration that enables central management of devices and remote access to testing)

an emulator Connecting the device (or Emulator) enables to record tests

and run them on the mobile device (or Emulator).

Connect Devices & Emulators

Step 2: A pop-up will appear. Type in the project name and then click OK.

Set Up New Project

Step 1: In SeeTest , select New Project from the File menu.

Set Up New Project

Step 2: A pop-up will appear. Type in the project name and then click OK.

SeeTest is using XML-RPC to communicate between the client (language specific) and the agent that is a part of the SeeTest studio.

the agent is running on a well known port (the default is 8888).

Agent

Change the port

Stop the agent

Start and Stop the agent Start the agent

Prerequisites on the device The USB driver for your device should be installed. For the following

devices, please download the USB drivers here (note:During the installation disconnect the device and run the driver setup as administrator):

Motorola: http://www.motorola.com/Support/US-EN/Support-Homepage/Software_and_Drivers/USB-and-PC-Charging-Drivers

SONY ERICSSON: http://www.sonyericsson.com/cws/support/softwaredownloads/detailed/pccompanion/xperiax10?cc=gb&lc=en

HTC: http://www.htc.com/www/SupportViewNews.aspx?dl_id=1073&news_id=918

SAMSUNG: http://www.samsung.com/us/support/downloads/SGH-i907 GOOGLE (NEXUS): http://developer.android.com/sdk/win-usb.html OTHER devices: please contact [email protected] for USB download

instructions.

Connect Android

Step 1 The device should

be “USB debugging” enabled (In most devices, to enable  “USB Debugging” go to: Settings->Applications->Development and set the USB debugging to enable.)

Step 2Connect the device

to SeeTest In SeeTest go to the

Device Tab and click the Add Device icon (and select Android from the dropdown list):

A pop up will appear and you will then see the name of the Android device. Click on the device name and then on the OK button.

Step 3

The selected device will appear in the Device Tab. Select it and click the Open Device icon (check that it’s status changes from Ready to Open).

Step 4

The device screen should then appear then on your desktop.

Getting Started-AndroidStep 1: To start

recording a script on a mobile device with Native recorder, you need to:

have your mobile device connected by USB to your computer

have the device screen then appear on your computer screen (for device connectivity instructions please follow our Connect Device instructions in this manual)

Step 2: In SeeTest , go to the Script tab and click on the Record button.

choose the device to be recorder, and choose the tested application name

Step 3: Go to the device screen appearing on your computer screen (With the app launched on it), and do the exact sequence of actions you want in the test. In this example,  i would like to run a test in "eriBank" application that Logs in to my bank account, so I'll do the following sequence of actions: click on "Username" field, send 'company', Click on "password", send 'company', click on "Login" button, right-click on "Make Payment" button to verify that it is found.Few best practices when recording:(1) Click at the center of the image/icon/link(2) Record slowly

Step 4: Return to SeeTest and click on the Stop Record button.

Step 5: You will see a progress bar indicating the record data is being analyzed, and the test script will then appear in the Script area. 

Step 7: Once the test has been executed, you will receive a report indicating for each test step if it was executed successfully or not, including a screenshot of the tested application in run time.

Step 8: You can run the test script from UFT (QTP), TestComplete, RFT, JUnit , Python, Perl or C# and other frameworks. To do so, click the Export code button, copy the code into your framework and run it from the framework

Thank you

Bharthi.S