Sign In to Follow Application
View All Documents & Correspondence

A Method And A System For Generation Of Test Automation Scripts In Real Time

Abstract: A method and a system are described for generation of test automation scripts in real time. The method includes scanning a plurality of properties associated with objects within a user interface of an application under test. The method includes comparing the properties with a pre-stored object library. The pre-stored object library comprises metadata of pre-stored properties of the application under test. This includes identifying the updated properties associated with one or more objects from the plurality of objects based on the comparison of metadata of updated objects with the metadata of existing or pre-stored properties. This includes creating a unique XPATH reference for each of the one or more of objects based on the identified one or more updated properties. The method includes generating in real time one or more test automation scripts for each of the one or more of objects based on the unique XPATH reference. FIG. 2

Get Free WhatsApp Updates!
Notices, Deadlines & Correspondence

Patent Information

Application #
Filing Date
13 March 2017
Publication Number
37/2018
Publication Type
INA
Invention Field
COMPUTER SCIENCE
Status
Email
ipo@knspartners.com
Parent Application
Patent Number
Legal Status
Grant Date
2024-03-15
Renewal Date

Applicants

WIPRO LIMITED
Doddakannelli, Sarjapur Road, Bangalore 560035, Karnataka, India.

Inventors

1. SURYA VORGANTI
P. Prasad, Shree Sai Niwas. H. No: 7/1223, VikasNagar, Gudhiyari, Raipur, Chattisgarh.
2. RAJIV KUMAR AGARWAL
101, Aster, Manar Silver Shadows, Kaikondrahalli, Sarjapur Road, Bangalore - 560035, Karnataka, India.

Specification

Claims:WE CLAIM:
1. A method for generation of test automation scripts in real time, the method comprising:
scanning, by a test automation system, each of a plurality of properties associated with each of a plurality of objects within a user interface of an application under test;
comparing, by the test automation system, the plurality of properties with a pre-stored object library, wherein the pre-stored object library comprises metadata of properties associated with a historical user interface of the application under test;
identifying, by the test automation system, one or more updated properties associated with one or more objects from the plurality of objects based on the comparison of metadata of the plurality of objects with the metadata of properties associated with a historical user interface;
creating, by the test automation system, a unique XPATH reference for each of the one or more of objects based on the identified one or more updated properties; and
generating in real time, by the test automation system, one or more test automation scripts for each of the one or more of objects based on the unique XPATH reference.
2. The method of claim 1, wherein scanning further comprises:
obtaining html content of the user interface of the application under test using a web page scraping technique, wherein the html content comprises the plurality of objects; and
storing the plurality of properties associated with each of the plurality of objects in the pre-stored object library, wherein the plurality of properties is stored in an element format.
3. The method of claim 1, further comprising identifying a type of control of each of the plurality of objects based on a pre-defined classification pattern; and
separating each of the plurality of objects based on the identified type of control.
4. The method of claim 1, wherein identifying further comprises utilizing a continuous asynchronous rule pattern to compare the metadata of the plurality of objects with the metadata of properties associated with the historical user interface, wherein the continuous asynchronous rule pattern is a Boolean attribute that requires a control timing protocol.
5. The method of claim 1, further comprising updating the pre-stored object library based on the identified one or more updated properties associated with one or more objects, wherein the pre-stored object library is updated with the metadata of the identified one or more objects.
6. The method of claim 1, wherein creating the unique XPATH reference further comprises:
determining a hierarchy of the plurality of objects in the user interface;
creating a temporary table comprising the plurality of properties associated with each of a plurality of objects;
identifying a screen position of each of the plurality of objects based on the hierarchy, wherein the screen position corresponds to X-Y coordinates of each of the plurality of objects; and
creating the unique XPATH reference for each of the one or more of objects from the plurality of objects based on the hierarchy and the screen position; and
updating the pre-stored object library to include the unique XPATH reference for each of the one or more of objects.
7. A test automation system to generate test automation scripts in real time, the test automation system comprising:
a processor; and
a memory communicatively coupled to the processor, wherein the memory stores processor instructions, which, on execution, causes the processor to:
scan each of a plurality of properties associated with each of a plurality of objects within a user interface of an application under test;
compare the plurality of properties with a pre-stored object library, wherein the pre-stored object library comprises metadata of properties associated with a historical user interface of the application under test;
identify one or more updated properties associated with one or more objects from the plurality of objects based on the comparison of metadata of the plurality of objects with the metadata of properties associated with a historical user interface;
create a unique XPATH reference for each of the one or more of objects based on the identified one or more updated properties; and
generate in real time one or more test automation scripts for each of the one or more of objects based on the unique XPATH reference.
8. The test automation system of claim 7, wherein scanning further comprises:
obtain html content of the user interface of the application under test using a web page scraping technique, wherein the html content comprises the plurality of objects; and
store the plurality of properties associated with each of the plurality of objects in the pre-stored object library, wherein the plurality of properties is stored in an element format.
9. The test automation system of claim 7, wherein the processor is further configured to identify a type of control of each of the plurality of objects based on a pre-defined classification pattern; and
separate each of the plurality of objects based on the identified type of control.
10. The test automation system of claim 7, wherein identifying further comprises utilizing a continuous asynchronous rule pattern to compare the metadata of the plurality of objects with the metadata of properties associated with the historical user interface, wherein the continuous asynchronous rule pattern is a Boolean attribute that requires a control timing protocol.
11. The test automation system of claim 7, wherein the processor is further configured to update the pre-stored object library based on the identified one or more updated properties associated with one or more objects, wherein the pre-stored object library is updated with the metadata of the identified one or more objects.
12. The test automation system of claim 7, wherein creating the unique XPATH reference further comprises:
determine a hierarchy of the plurality of objects in the user interface;
create a temporary table comprising the plurality of properties associated with each of a plurality of objects;
identify a screen position of each of the plurality of objects based on the hierarchy, wherein the screen position corresponds to X-Y coordinates of each of the plurality of objects; and
create the unique XPATH reference for each of the one or more of objects from the plurality of objects based on the hierarchy and the screen position; and
update the pre-stored object library to include the unique XPATH reference for each of the one or more of objects.
13. A non-transitory computer-readable storage medium having stored thereon, a set of computer-executable instructions for causing a computer comprising one or more processors to perform steps comprising:
scanning each of a plurality of properties associated with each of a plurality of objects within a user interface of an application under test;
comparing the plurality of properties with a pre-stored object library, wherein the pre-stored object library comprises metadata of properties associated with a historical user interface of the application under test;
identifying one or more updated properties associated with one or more objects from the plurality of objects based on the comparison of metadata of the plurality of objects with the metadata of properties associated with a historical user interface;
creating a unique XPATH reference for each of the one or more of objects based on the identified one or more updated properties; and
generating in real time one or more test automation scripts for each of the one or more of objects based on the unique XPATH reference.

Dated this 13th day of March, 2017

R Ramya Rao
Of K&S Partners
Agent for the Applicant
, Description:TECHNICAL FIELD
The present subject matter is related, in general to generation of test automation scripts, and more particularly, but not exclusively to a method and a system for generation of test automation scripts in real time.

Documents

Application Documents

# Name Date
1 Power of Attorney [13-03-2017(online)].pdf 2017-03-13
2 Form 5 [13-03-2017(online)].pdf 2017-03-13
3 Form 3 [13-03-2017(online)].pdf 2017-03-13
4 Form 18 [13-03-2017(online)].pdf_595.pdf 2017-03-13
5 Form 18 [13-03-2017(online)].pdf 2017-03-13
6 Form 1 [13-03-2017(online)].pdf 2017-03-13
7 Drawing [13-03-2017(online)].pdf 2017-03-13
8 Description(Complete) [13-03-2017(online)].pdf_594.pdf 2017-03-13
9 Description(Complete) [13-03-2017(online)].pdf 2017-03-13
10 REQUEST FOR CERTIFIED COPY [16-03-2017(online)].pdf 2017-03-16
11 PROOF OF RIGHT [11-07-2017(online)].pdf 2017-07-11
12 Correspondence By Agent_Form1 & Form30_13-07-2017.pdf 2017-07-13
13 201741008649-FER.pdf 2020-05-27
14 201741008649-RELEVANT DOCUMENTS [15-09-2020(online)].pdf 2020-09-15
15 201741008649-PETITION UNDER RULE 137 [15-09-2020(online)].pdf 2020-09-15
16 201741008649-OTHERS [15-09-2020(online)].pdf 2020-09-15
17 201741008649-Information under section 8(2) [15-09-2020(online)].pdf 2020-09-15
18 201741008649-FORM 3 [15-09-2020(online)].pdf 2020-09-15
19 201741008649-FER_SER_REPLY [15-09-2020(online)].pdf 2020-09-15
20 201741008649-DRAWING [15-09-2020(online)].pdf 2020-09-15
21 201741008649-CORRESPONDENCE [15-09-2020(online)].pdf 2020-09-15
22 201741008649-CLAIMS [15-09-2020(online)].pdf 2020-09-15
23 201741008649-US(14)-HearingNotice-(HearingDate-01-01-2024).pdf 2023-12-13
24 201741008649-US(14)-ExtendedHearingNotice-(HearingDate-09-01-2024).pdf 2023-12-15
25 201741008649-POA [22-12-2023(online)].pdf 2023-12-22
26 201741008649-FORM 13 [22-12-2023(online)].pdf 2023-12-22
27 201741008649-Correspondence to notify the Controller [22-12-2023(online)].pdf 2023-12-22
28 201741008649-AMENDED DOCUMENTS [22-12-2023(online)].pdf 2023-12-22
29 201741008649-Written submissions and relevant documents [24-01-2024(online)].pdf 2024-01-24
30 201741008649-PatentCertificate15-03-2024.pdf 2024-03-15
31 201741008649-IntimationOfGrant15-03-2024.pdf 2024-03-15

Search Strategy

1 2021-02-1514-34-19AE_15-02-2021.pdf
2 2020-05-1814-50-56E_18-05-2020.pdf

ERegister / Renewals

3rd: 15 Jun 2024

From 13/03/2019 - To 13/03/2020

4th: 15 Jun 2024

From 13/03/2020 - To 13/03/2021

5th: 15 Jun 2024

From 13/03/2021 - To 13/03/2022

6th: 15 Jun 2024

From 13/03/2022 - To 13/03/2023

7th: 15 Jun 2024

From 13/03/2023 - To 13/03/2024

8th: 15 Jun 2024

From 13/03/2024 - To 13/03/2025

9th: 07 Mar 2025

From 13/03/2025 - To 13/03/2026