Sign In to Follow Application
View All Documents & Correspondence

A Method And System For Automating The Process Of Testing A Device

Abstract: Device Test Automation framework. This invention provides a device test automation framework for automating testing of embedded systems. The device test automation framework- DTAF allows user to test embedded device software using test scripts  which can capture various interfaces of device under test. A Graphical User Interface –GUI tool is created based on device under test configuration and user input. This GUI tool shows various interface of device under test. A device test automation framework hardware enables communication between test tool and the device under test. DTAF allows testing process to dramatically improve productivity  effectiveness  efficiency and coverage of embedded software testing FIG. 2

Get Free WhatsApp Updates!
Notices, Deadlines & Correspondence

Patent Information

Application #
Filing Date
10 August 2012
Publication Number
36/2012
Publication Type
INA
Invention Field
COMPUTER SCIENCE
Status
Email
jashandeep.ipr@gmail.com
Parent Application

Applicants

HCL Technologies Limited
HCL Technologies Ltd. 50-53 Greams Road  Chennai  Tamil Nadu  India

Inventors

1. Sivasakthivel S
HCL Technologies Ltd. 50-53 Greams Road  Chennai- 600006 Tamil Nadu  India
2. Kannan Kariraman
HCL Technologies Ltd. 50-53 Greams Road  Chennai- 600006 Tamil Nadu  India
3. Takameren Longkumer
HCL Technologies Ltd. 50-53 Greams Road  Chennai- 600006 Tamil Nadu  India

Specification

FORM 2
The Patent Act 1970
(39 of 1970)
&
The Patent Rules  2005

COMPLETE SPECIFICATION
(SEE SECTION 10 AND RULE 13)

“A METHOD AND SYSTEM FOR AUTOMATING THE PROCESS OF TESTING A DEVICE”


APPLICANTS:

Name : HCL Technologies Limited

Nationality : Indian

Address : HCL Technologies Ltd.  50-53 Greams
Road  Chennai – 600006  Tamil Nadu 
India.

The following specification particularly describes and ascertains the nature of this invention and the manner in which it is to be performed:
FIELD OF INVENTION
[001] This invention relates to design test automation framework and in particular for automating testing of embedded systems.

BACKGROUND OF INVENTION
[002] To verify proper implementation of software  software testing is an important phase in the development life cycle. Software testing is done in many phases of the life cycle. Software testing is divided mainly as two groups - Application testing and Device testing.
[003] Software present in the PC platform is mainly called as application software. Testing of the application software is application testing. Since many hardware resources are available in PC environment  lots of testing tools are also available for application testing.
[004] Software present in embedded environments like mobile  PDA  Calculator  Car  watch  Medical devices etc are called as embedded software. Testing of the embedded devices is device testing. In device testing  limited resources are available  because of product cost  footprint  etc. So mostly manual testing is performed for testing embedded software.
[005] Manual Testing of embedded software has been performed for many years and it has many drawbacks. The effort involved  monotony of the job  difficulty of repeatability in some cases  time consumption and human errors are main and serious problem areas.
OBJECT OF INVENTION
[006] The principal object of the invention is to provide a device automation framework for testing embedded and application software independently or together as a system.
[007] Another object of the invention is to automate the testing process to dramatically improve the effectiveness  efficiency and coverage of embedded software testing.

STATEMENT OF INVENTION
[008] Accordingly the invention provides a method for testing embedded device software using a device test automation framework  said method comprising of configuring a test script based on user input and device under test by a device test automation framework DTAF tool; showing different interfaces of device under test by a graphical user interface tool; simulating the hardware of the device under test using device test automation framework hardware by an application test tool; executing the test script on the device under test by the application test tool via the application software of the device under test; capturing the image of the device under test using showing different device under test interfaces by the graphical user interface tool; and producing a report based on comparison between captured image and stored image.
[009] Also provided herein is a system for testing embedded device software using a device test automation framework  said system comprising of a device test automation framework tool for configuring a test script based on user input and device under test; a graphical user interface tool for showing different interfaces of device under test; a device test automation framework hardware simulating the hardware of the device under test; and an application test tool executing the test script  capturing image of the device under test and producing a report based on comparison between the captured image and a stored image.
[0010] These and other aspects of the embodiments herein will be better appreciated and understood when considered in conjunction with the following description and the accompanying drawings. It should be understood  however  that the following descriptions  while indicating preferred embodiments and numerous specific details thereof  are given by way of illustration and not of limitation. Many changes and modifications may be made within the scope of the embodiments herein without departing from the spirit thereof  and the embodiments herein include all such modifications.

BRIEF DESCRIPTION OF FIGURES
[0011] This invention is illustrated in the accompanying drawings  throughout which like reference letters indicate corresponding parts in the various figures. The embodiments herein will be better understood from the following description with reference to the drawings  in which:
[0012] FIG. 1 illustrates a block diagram showing the device test automation framework architecture;
[0013] FIG. 2 illustrates a block diagram showing but not limited to the components of a device test automation framework hardware  according to embodiments disclosed herein;
[0014] FIG. 3 illustrates a block diagram showing communication between the device test automation framework hardware and the device under test -DUT  according to the embodiments as disclosed herein;
[0015] FIG. 4 is a illustrates a block diagram of the application test tool  according to the embodiments as disclosed herein;
[0016] FIG. 5 is a flowchart describing the method used by application test tool for testing  according to the embodiments as disclosed herein;
[0017] FIG. 6 is a flowchart describing the overall process flow of device test automation framework  according to the embodiments as disclosed herein; and
[0018] FIG. 7 illustrates a computing environment used in implementing the application  according to embodiments disclosed herein.

DETAILED DESCRIPTION OF INVENTION
[0019] The embodiments herein  the various features  and advantageous details thereof are explained more fully with reference to the non-limiting embodiments that are illustrated in the accompanying drawings and detailed in the following description. Descriptions of well-known components and processing techniques are omitted to not unnecessarily obscure the embodiments herein. The examples used herein are intended merely to facilitate an understanding of ways in which the embodiments herein may be practiced and to further enable those of skill in the art to practice the embodiments herein. Accordingly  the examples should not be construed as limiting the scope of the embodiments herein.
[0020] FIG. 1 illustrates a block diagram showing the device test automation framework architecture. The DTAF framework converts embedded device testing to an application testing. The main blocks of the device test automation framework architecture include a device test automation framework tool-DTAF tool 101  device test application framework-DTAF graphical user interface GUI 102  application test tool 103  device test application framework hardware – DTAF HW104  device under test- DUT 105 and the user input. User will configure the system inputs like number of digital ports  analog ports  Communication channels  etc in the DTAF Configuration tool 101. The DTAF Configuration tool will generate the configuration file based on the user input. Using the configuration file and user inputs  the DTAF GUI tool 102 is launched. The DTAF GUI 102 tool generates a GUI panel for all the interfaces of the DUT 105. The DTAF HW 104 provides hardware abstraction and enables application test tools to use the hardware. The application test tool uses the DTAF GUI 102 and inputs from user to create the test script. The user can also select other saved test scripts. The application test tool 103 then executes the test and creates a test report including video/audio/image. The application test tool 103 executes a DUT application software 106 connected to the DUT 105. The DTAF configuration tool 101 defines GUI interfaces for the application test tool 103 to read and write to the digital  analog inputs/outputs. The DTAF HW 104 also provides interface for the communication channels like SPI  I2C  USB  Ethernet  Serial  etc. This enables application the test tool 103 to communicate to the embedded device. The test captures the GUI of the device and compares with the predefined screen image. The process as described above is independent of the language used for scripting. The DTAF tool 101 102 reads the image buffer of the embedded device and compares with the reference image; this GUI also performs verification automatically. The DTAF tool 101 102 simulates the touch screen inputs without the need of the user intervention. The DTAF tool 101 102 enables the touch screen simulation through the scripts  so that touch screen inputs are simulated to the embedded device and screen navigation is done automatically. The DTAF tool 101 102 can capture the audio warning tones  generate audio error tones from the devices  identify them  and validate them with the reference warnings. The DTAF tool 101 102 can also simulate the embedded device features  so that a PC based application can be tested in the absence of the embedded device. The DTAF tool 101 102 allows the testers to provide digital signatures to the reports. Embodiments as disclosed above may be applicable to various domains in Medical  Auto  Aero and industrial  wherever embedded devices are used.
[0021] The DTAF tool 101 can accept the results from the script builder and prepare the report as per the required format (configurable) and this report can be fed back to the Test management tool. This feature achieves a closed loop scenario in the DTAF. The DTAF provides placeholders for the protocols to be implemented as per the customization requirement.
[0022] FIG. 2 illustrates a block diagram showing the components but not limited to  of device test automation framework hardware  according to embodiments disclosed herein. Some of the components of the device under test automation framework include a controller 201  memory 202  converters 203  input messages 206  output messages 204  event handler 205  input messages 206  audio processor 207  image processor 208 and a video processor 209. The controller 201 contains a processor and processes all the input and output messages. The memory 202 is used to store captured results. The DUT 105 sends result to the DTAF GUI tool 102 via the DTAF HW 104. The DTAF HW 104 receives results from in many different forms like digital  analog  video  audio  image and so on. The DTAF HW 104 uses different converters 203 to convert the received data for the application test tool 103. Various processors are used for processing different types of data.
[0023] FIG. 3 illustrates a block diagram showing communication between the device test automation framework hardware and the device under test -DUT  according to the embodiments as disclosed herein. Different interfaces of the DUT 105 are connected to the DTAF HW 104. The figure shows some the interfaces like serial port  Ethernet  USB  I2C and so on. Data from these interfaces are capable of communicating with the DTAF HW 104  which then converts them into a format for the application test tool 103. The application test tool makes use of these for preparing and executing the test.
[0024] FIG. 4 illustrates a block diagram of the application test tool  according to the embodiments as disclosed herein. Some of the components of the application test tool 103 include report generator 401  test scripts 402  database 403 and event handler 404. The test scripts are generated by the DTAF tool 101  based on the instructions from user  the system configuration and the GUI tool 202 interfaces. The application test tool 103 executes the test scripts 402. Sometimes  a test management tool 107 is used for controlling the operations of the application test tool. The test script is executed via the DUT application software 103 and DTAF GUI 102. The application test tool 103 receives information from the DUT 105 through the GUI tool 102. The test captures the GUI of the device and compares with the predefined screen image. The database 403 is used to store the information received from GUI tool 102. The report generator 401 then generator a report based on the comparison between the capture GUI of the DUT 105 and the stored predefined screen image.
[0025] FIG. 5 is a flowchart describing the method used by application test tool for testing  according to the embodiments as disclosed herein. The method begins with user providing (501) with inputs for the test script. The user also provides certain DUT 105 related system configurations. Test script is generated (502) based on user input and DUT configuration. The application test tool 103 then executes (503) the test script. Capturing of GUI interface images  analog  digital and other interfaces status is done (504) from the GUI tool. A report is created (505) based on the including video/audio/image is created based on the comparison between images capture by the GUI tool 102 through the DTAF GUI interfaces and stored data. The various actions in method 500 may be performed in the order presented  in a different order or simultaneously. Further  in some embodiments  some actions listed in FIG. 5 may be omitted.
[0026] FIG. 6 is a flowchart describing the overall process flow of device test automation framework  according to the embodiments as disclosed herein. The method begins with user providing (601) with inputs for the test script. The user also provides (602) certain DUT 105 related system configurations. The DTAF tool 101 then produces (603) a configuration file with all the information. Based on the configuration file  the GUI tool 201 is started (604). The GUI tool 201 comprises of a GUI panel showing all the GUI interfaces of the DUT 105. A DTAF HW 104 is used between the DUT 105 and GUI tool 102  which communicates with the DUT 105 and converts data to a format suitable fro the test application tool 103. The application test tool 103 prepares (605) the test script based on user input  DTAF configuration file and GUI tool 102. Application test tool provides 103 inputs to the DTAF GUI 102 and simulates (606) the hardware through the DTAF HW 104. The test script is then executed (607). A report including video/audio/image is created (608) based on the data from DUT and comparison between images capture by the GUI tool 102 through the DTAF GUI interfaces and stored data. The various actions in method 600 may be performed in the order presented  in a different order or simultaneously. Further  in some embodiments  some actions listed in FIG. 6 may be omitted.
[0027] FIG. 7 illustrates a computing environment used in implementing the application  according to embodiments disclosed herein. The computing environment shown in figure 7 may be used for implementing the features and operation of the DTAF. All the components shown in the figure may be used or may not be. Further new components may also be added. As depicted the computing environment comprises at least one processing unit that is equipped with a control unit and an Arithmetic Logic Unit (ALU)  a memory  a storage unit  plurality of networking devices  and a plurality Input output (I/O) devices. The processing unit is responsible for processing the instructions of the algorithm. The processing unit receives commands from the control unit in order to perform its processing. Further  any logical and arithmetic operations involved in the execution of the instructions are computed with the help of the ALU.
[0028] The overall computing environment can be composed of multiple homogeneous and/or heterogeneous cores  multiple CPUs of different kinds  special media and other accelerators. The processing unit is responsible for processing the instructions of the algorithm. The processing unit receives commands from the control unit in order to perform its processing. Further  any logical and arithmetic operations involved in the execution of the instructions are computed with the help of the ALU. Further  the plurality of process units may be located on a single chip or over multiple chips.
[0029] The algorithm comprising of instructions and codes required for the implementation are stored in either the memory unit or the storage or both. At the time of execution  the instructions may be fetched from the corresponding memory and/or storage  and executed by the processing unit. In case of any hardware implementations various networking devices or external I/O devices may be connected to the computing environment to support the implementation through the networking unit and the I/O device unit.
[0030] The embodiments disclosed herein can be implemented through at least one software program running on at least one hardware device and performing network management functions to control the elements. The elements shown in Figs 1 include modules  which can be at least one of a hardware device  or a combination of hardware device  and software module.
[0031] The foregoing description of the specific embodiments will so fully reveal the general nature of the embodiments herein that others can  by applying current knowledge  readily modify and/or adapt for various applications such specific embodiments without departing from the generic concept  and  therefore  such adaptations and modifications should and are intended to be comprehended within the meaning and range of equivalents of the disclosed embodiments. It is to be understood that the phraseology or terminology employed herein is for the purpose of description and not of limitation. Therefore  while the embodiments herein have been described in terms of preferred embodiments  those skilled in the art will recognize that the embodiments herein can be practiced with modification within the spirit and scope of the embodiments as described herein.


CLAIMS
We Claim 
1. A method for testing embedded device software using a device test automation framework  said method comprising of:
configuring a test script based on user input and device under test by a device test automation framework DTAF tool;
showing different interfaces of device under test by a graphical user interface tool;
simulating the hardware of the device under test using device test automation framework hardware by an application test tool;
executing the test script on the device under test by the application test tool via the application software of the device under test;
capturing the image of the device under test using showing different device under test interfaces by the graphical user interface tool; and
producing a report based on comparison between captured image and stored image.
2. The method of claim 1  wherein configuring of the test script based on user input and device under test is done using a device test automation framework tool.
3. The method of claim 1  wherein the graphical user interface tool comprises of graphical user interface panel showing different interfaces of device under test.
4. The method of claim 1  wherein the device test automation framework hardware communicates between the device under test and application test tool.
5. The method of claim 1  wherein the image captured of device under test includes analog  digital and other status of the graphical user interface.
6. A system for testing embedded device software using a device test automation framework  said system comprising of:
a device test automation framework tool for configuring a test script based on user input and device under test;
a graphical user interface tool for showing different interfaces of device under test;
a device test automation framework hardware simulating the hardware of the device under test; and
an application test tool executing the test script  capturing image of the device under test and producing a report based on comparison between the captured image and a stored image.
7. The system of claim 6  wherein the system is configured for configuring of the test script based on user input and device under test using a device test automation framework tool.
8. The system of claim 6  wherein the graphical user interface tool comprises of graphical user interface panel showing different interfaces of device under test.
9. The system of claim 6  wherein the device test automation framework hardware communicates between the device under test and application test tool.

Dated: 10th day of August 2012 Signature:
Dr. Kalyan Chakravarthy
(Patent agent)



ABSTRACT
Device Test Automation framework. This invention provides a device test automation framework for automating testing of embedded systems. The device test automation framework- DTAF allows user to test embedded device software using test scripts  which can capture various interfaces of device under test. A Graphical User Interface –GUI tool is created based on device under test configuration and user input. This GUI tool shows various interface of device under test. A device test automation framework hardware enables communication between test tool and the device under test. DTAF allows testing process to dramatically improve productivity  effectiveness  efficiency and coverage of embedded software testing

FIG. 2

Documents

Orders

Section Controller Decision Date

Application Documents

# Name Date
1 3298-CHE-2012-US(14)-HearingNotice-(HearingDate-30-08-2021).pdf 2021-10-17
1 Power of Authority.PDF 2012-08-14
2 3298-CHE-2012-Correspondence to notify the Controller [01-09-2021(online)].pdf 2021-09-01
2 Form-5.pdf 2012-08-14
3 Form-3.pdf 2012-08-14
3 3298-CHE-2012-Correspondence to notify the Controller [10-08-2021(online)].pdf 2021-08-10
4 Form-1.pdf 2012-08-14
4 3298-CHE-2012-FORM-26 [29-07-2021(online)].pdf 2021-07-29
5 Drawings.pdf 2012-08-14
5 3298-CHE-2012-FORM 13 [09-07-2021(online)].pdf 2021-07-09
6 3298-CHE-2012-POA [09-07-2021(online)].pdf 2021-07-09
6 3298-CHE-2012 POWER OF ATTORNEY 14-08-2012.pdf 2012-08-14
7 3298-CHE-2012-Proof of Right (MANDATORY) [22-01-2020(online)].pdf 2020-01-22
7 3298-CHE-2012 FORM-9 14-08-2012.pdf 2012-08-14
8 3298-CHE-2012-CLAIMS [02-04-2019(online)].pdf 2019-04-02
8 3298-CHE-2012 FORM-18 14-08-2012.pdf 2012-08-14
9 3298-CHE-2012 CORRESPONDENCE OTHERS 14-08-2012.pdf 2012-08-14
9 3298-CHE-2012-CORRESPONDENCE [02-04-2019(online)].pdf 2019-04-02
10 3298-CHE-2012-FER_SER_REPLY [02-04-2019(online)].pdf 2019-04-02
10 abstract3298-CHE-2012.jpg 2012-08-30
11 3298-CHE-2012 POWER OF ATTORNEY 01-10-2012.pdf 2012-10-01
11 3298-CHE-2012-OTHERS [02-04-2019(online)].pdf 2019-04-02
12 3298-CHE-2012 FORM -1 01-10-2012.pdf 2012-10-01
12 3298-CHE-2012-FORM 13 [04-02-2019(online)].pdf 2019-02-04
13 3298-CHE-2012 CORRESPONDENCE OTHERS 01-10-2012.pdf 2012-10-01
13 3298-CHE-2012-RELEVANT DOCUMENTS [04-02-2019(online)].pdf 2019-02-04
14 3298-CHE-2012-FER.pdf 2018-10-04
15 3298-CHE-2012 CORRESPONDENCE OTHERS 01-10-2012.pdf 2012-10-01
15 3298-CHE-2012-RELEVANT DOCUMENTS [04-02-2019(online)].pdf 2019-02-04
16 3298-CHE-2012 FORM -1 01-10-2012.pdf 2012-10-01
16 3298-CHE-2012-FORM 13 [04-02-2019(online)].pdf 2019-02-04
17 3298-CHE-2012-OTHERS [02-04-2019(online)].pdf 2019-04-02
17 3298-CHE-2012 POWER OF ATTORNEY 01-10-2012.pdf 2012-10-01
18 abstract3298-CHE-2012.jpg 2012-08-30
18 3298-CHE-2012-FER_SER_REPLY [02-04-2019(online)].pdf 2019-04-02
19 3298-CHE-2012 CORRESPONDENCE OTHERS 14-08-2012.pdf 2012-08-14
19 3298-CHE-2012-CORRESPONDENCE [02-04-2019(online)].pdf 2019-04-02
20 3298-CHE-2012 FORM-18 14-08-2012.pdf 2012-08-14
20 3298-CHE-2012-CLAIMS [02-04-2019(online)].pdf 2019-04-02
21 3298-CHE-2012 FORM-9 14-08-2012.pdf 2012-08-14
21 3298-CHE-2012-Proof of Right (MANDATORY) [22-01-2020(online)].pdf 2020-01-22
22 3298-CHE-2012 POWER OF ATTORNEY 14-08-2012.pdf 2012-08-14
22 3298-CHE-2012-POA [09-07-2021(online)].pdf 2021-07-09
23 3298-CHE-2012-FORM 13 [09-07-2021(online)].pdf 2021-07-09
23 Drawings.pdf 2012-08-14
24 3298-CHE-2012-FORM-26 [29-07-2021(online)].pdf 2021-07-29
24 Form-1.pdf 2012-08-14
25 Form-3.pdf 2012-08-14
25 3298-CHE-2012-Correspondence to notify the Controller [10-08-2021(online)].pdf 2021-08-10
26 Form-5.pdf 2012-08-14
26 3298-CHE-2012-Correspondence to notify the Controller [01-09-2021(online)].pdf 2021-09-01
27 Power of Authority.PDF 2012-08-14
27 3298-CHE-2012-US(14)-HearingNotice-(HearingDate-30-08-2021).pdf 2021-10-17

Search Strategy

1 searchstrategy_04-10-2018.pdf
1 searchstrategy_28-09-2018.pdf
2 searchstrategy_04-10-2018.pdf
2 searchstrategy_28-09-2018.pdf