Ask a Question

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 ?

2 REPLIES 2
AlexKaras
Champion Level 2

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 Champion]
____
[Community Champions] 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 Champions]
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 Champion] signature is assigned on quarterly basis and is used with permission by SmartBear Software.
https://community.smartbear.com/t5/Community-Champions/About-the-Community-Champions-Program/gpm-p/252662
================================
Amna
Occasional Contributor

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

 

 

That solution works for me

cancel
Showing results for 
Search instead for 
Did you mean: