Highlighted
Absent Member.
Absent Member.
212 views

Recording Object when expected object has long parent hierarchy

I am automating a java based application,i noticed most of my application controls are 5 to 7 level deep from the parent window.

Like Below

Window1

      1.1 Child 1

       1.1.1 Child 1.1

        1.1.2 Child 1.2

        1.1.2.1 child 1.2.1

           1.1.2.1.1 child 1.2.1.2 {Expected Element}

I am afraid that recording whole hierarchy would increase my OR size, as my application is huge.

Could any one suggest better approach to handle this.

 

0 Likes
1 Reply
Highlighted
Absent Member.
Absent Member.

Re: Recording Object when expected object has long parent hierarchy

Following are the options I am thinking off..kindly suggest better approach...

* Option 1
            Recording the whole object hierarchy
*Option 2
             Loading the Repository dynamically based on the page component in use.
*Option 3
             Find the Objects Recursively using descriptive programming.
0 Likes
The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.