Forum Discussion

miteshqtg's avatar
miteshqtg
Occasional Contributor
3 years ago

is it possible to use wild card in Find Element

Aliases.browser.environment.Dynamics.FindElement("//div[@id='__105_0']//input") I am able to use object spy to find the element, however, every time this element is generated, the number in red, as shown above, is dynamic and keeps changing, my question is how can I make sure that the object element is found every time when I run my scripts. is it possible to use wildcards in the FindElement() function? example: Aliases.browser.my environment.Dynamics.FindElement("//div[@id='__"*"_"*"']//input")Please can anyone help me with this? tight deadline. Any Help on this is much appreciated. all I can reveal at this point is that the application is Dynamics365

4 Replies