cancel
Showing results for 
Search instead for 
Did you mean: 

How to find the unique property of the element when there is no header available on the web page.

SOLVED
Highlighted
Contributor

How to find the unique property of the element when there is no header available on the web page.

Hello Team,

 

I need your help on this how should i find an element who does not have a header at all on the web application.

 

Currently our internal web application does not have headers and using object spy i'm not able to find contenttext, idstr for it

so what could you be avaialble options for me to find such element on the web application

 

kind regards

Amit

1 ACCEPTED SOLUTION

Accepted Solutions
Highlighted
Community Hero

Re: How to find the unique property of the element when there is no header available on the web page

Hi,

 

I am not sure what header you are talking about, but the absence of unique and stable web element identifiers is a perfect indication of the application that was designed without any consideration of its automated testability. (And an indication of poor QA activities.)

Unfortunately, there is no common recipe for this situation. You need to investigate the application using Object Browser and find a combination of properties that will allow you to identify required web element. It may happen that such combination is absent. In this case you may try to look for some parent container or sibling element that can be identified and then use this supplemental object as a reference root to help you to find the object you are looking for.

 

Regards,
  /Alex [Community Hero]
____
[Community Heroes] are not employed by SmartBear Software but
are just volunteers who have some experience with the tools by SmartBear Software
and a desire to help others. Posts made by [Community Heroes]
may differ from the official policies of SmartBear Software and should be treated
as the own private opinion of their authors and under no circumstances as an
official answer from SmartBear Software.
The [Community Hero] signature is used with permission by SmartBear Software.
https://community.smartbear.com/t5/custom/page/page-id/hall-of-fame
================================

View solution in original post

1 REPLY 1
Highlighted
Community Hero

Re: How to find the unique property of the element when there is no header available on the web page

Hi,

 

I am not sure what header you are talking about, but the absence of unique and stable web element identifiers is a perfect indication of the application that was designed without any consideration of its automated testability. (And an indication of poor QA activities.)

Unfortunately, there is no common recipe for this situation. You need to investigate the application using Object Browser and find a combination of properties that will allow you to identify required web element. It may happen that such combination is absent. In this case you may try to look for some parent container or sibling element that can be identified and then use this supplemental object as a reference root to help you to find the object you are looking for.

 

Regards,
  /Alex [Community Hero]
____
[Community Heroes] are not employed by SmartBear Software but
are just volunteers who have some experience with the tools by SmartBear Software
and a desire to help others. Posts made by [Community Heroes]
may differ from the official policies of SmartBear Software and should be treated
as the own private opinion of their authors and under no circumstances as an
official answer from SmartBear Software.
The [Community Hero] signature is used with permission by SmartBear Software.
https://community.smartbear.com/t5/custom/page/page-id/hall-of-fame
================================

View solution in original post

New Here?
Join us and watch the welcome video:
Announcements
Top Kudoed Authors