cancel
Showing results for 
Search instead for 
Did you mean: 

How to handle dynamic Elements

SOLVED
Amna
Occasional Contributor

How to handle dynamic Elements

aqObject["CheckProperty"](Aliases["browser"]["Page"]("http://10.10.35.109/dokmeeecm/#/main")["Panel"](1)["Panel"](0)["Panel"](1)["Panel"](0)["Form"](0)["P..."), "Text", cmpEqual, "Derek");

 

On my website, when I want to get the object property of one of the text field then it shows the above mentioned object. In the above mentioned object "mat_input_4 value is dynamic How can I handle this value ?

1 ACCEPTED SOLUTION

Accepted Solutions
AlexKaras
Community Hero

Re: How to handle dynamic Elements

Hi,

 

For example, "Using The Wildcard In The Name Map For Values That Change" and "Introducing Namemapping – TestComplete’s Object Repository" videos from the https://support.smartbear.com/testcomplete/videos/ page.

 

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

2 REPLIES 2
AlexKaras
Community Hero

Re: How to handle dynamic Elements

Hi,

 

For example, "Using The Wildcard In The Name Map For Values That Change" and "Introducing Namemapping – TestComplete’s Object Repository" videos from the https://support.smartbear.com/testcomplete/videos/ page.

 

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

Amna
Occasional Contributor

Re: How to handle dynamic Elements

//*[@id='mat-input-"+*+"]

 

 

That solution works for me

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