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

Wipro Limited
Granted App No 201741008649 Patent 528227 Computer Science

Patent information

IP India · live record
Application number
201741008649
Filing date
13 March 2017
Status
Granted
Legal status
Inforce
Publication number
37/2018
Publication type
INA
Invention field
Computer Science
Patent number
528227
Grant date
15 March 2024
Next renewal due
13 March 2027

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

Applicants

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

Inventors

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

Claims

13
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.

Specification

Show full textCollapse

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

Sign in to open
Orders
Section
Application documents
1 Power of Attorney [13-03-2017(online)].pdf 13 Mar 2017
2 Form 5 [13-03-2017(online)].pdf 13 Mar 2017
3 Form 3 [13-03-2017(online)].pdf 13 Mar 2017
4 Form 18 [13-03-2017(online)].pdf_595.pdf 13 Mar 2017
5 Form 18 [13-03-2017(online)].pdf 13 Mar 2017
6 Form 1 [13-03-2017(online)].pdf 13 Mar 2017
7 Drawing [13-03-2017(online)].pdf 13 Mar 2017
8 Description(Complete) [13-03-2017(online)].pdf_594.pdf 13 Mar 2017
9 Description(Complete) [13-03-2017(online)].pdf 13 Mar 2017
10 REQUEST FOR CERTIFIED COPY [16-03-2017(online)].pdf 16 Mar 2017
11 PROOF OF RIGHT [11-07-2017(online)].pdf 11 Jul 2017
12 Correspondence By Agent_Form1 & Form30_13-07-2017.pdf 13 Jul 2017
13 201741008649-FER.pdf 27 May 2020
14 201741008649-RELEVANT DOCUMENTS [15-09-2020(online)].pdf 15 Sep 2020
15 201741008649-PETITION UNDER RULE 137 [15-09-2020(online)].pdf 15 Sep 2020
16 201741008649-OTHERS [15-09-2020(online)].pdf 15 Sep 2020
17 201741008649-Information under section 8(2) [15-09-2020(online)].pdf 15 Sep 2020
18 201741008649-FORM 3 [15-09-2020(online)].pdf 15 Sep 2020
19 201741008649-FER_SER_REPLY [15-09-2020(online)].pdf 15 Sep 2020
20 201741008649-DRAWING [15-09-2020(online)].pdf 15 Sep 2020
21 201741008649-CORRESPONDENCE [15-09-2020(online)].pdf 15 Sep 2020
22 201741008649-CLAIMS [15-09-2020(online)].pdf 15 Sep 2020
23 201741008649-US(14)-HearingNotice-(HearingDate-01-01-2024).pdf 13 Dec 2023
24 201741008649-US(14)-ExtendedHearingNotice-(HearingDate-09-01-2024).pdf 15 Dec 2023
25 201741008649-POA [22-12-2023(online)].pdf 22 Dec 2023
26 201741008649-FORM 13 [22-12-2023(online)].pdf 22 Dec 2023
27 201741008649-Correspondence to notify the Controller [22-12-2023(online)].pdf 22 Dec 2023
28 201741008649-AMENDED DOCUMENTS [22-12-2023(online)].pdf 22 Dec 2023
29 201741008649-Written submissions and relevant documents [24-01-2024(online)].pdf 24 Jan 2024
30 201741008649-PatentCertificate15-03-2024.pdf 15 Mar 2024
31 201741008649-IntimationOfGrant15-03-2024.pdf 15 Mar 2024
Search strategy
12021-02-1514-34-19AE_15-02-2021.pdf
22020-05-1814-50-56E_18-05-2020.pdf

ERegister / renewals

Inforce
3rd Renewed 15 Jun 2024 Period 13 Mar 2019 – 13 Mar 2020 · CBR 39576 · Certificate 117337 ₹4,000
4th Renewed 15 Jun 2024 Period 13 Mar 2020 – 13 Mar 2021 · CBR 39576 · Certificate 117338 ₹4,000
5th Renewed 15 Jun 2024 Period 13 Mar 2021 – 13 Mar 2022 · CBR 39576 · Certificate 117339 ₹4,000
6th Renewed 15 Jun 2024 Period 13 Mar 2022 – 13 Mar 2023 · CBR 39576 · Certificate 117340 ₹4,000
7th Renewed 15 Jun 2024 Period 13 Mar 2023 – 13 Mar 2024 · CBR 39576 · Certificate 117341 ₹12,000
8th Renewed 15 Jun 2024 Period 13 Mar 2024 – 13 Mar 2025 · CBR 39576 · Certificate 117342 ₹12,000
9th Renewed 07 Mar 2025 Period 13 Mar 2025 – 13 Mar 2026 · CBR 13514 · Certificate 18111 ₹12,000
10th Renewed 11 Mar 2026 Period 13 Mar 2026 – 13 Mar 2027 · CBR 19460 · Certificate 20153 ₹12,000