I am trying to validate the data and keep it parameterized so that it runs for configurable inputs
I am trying to use get attribute however the objects that hold the values to be validated are not getting uniquely identified. Please help.
I am trying to validate the data and keep it parameterized so that it runs for configurable inputs
I am trying to use get attribute however the objects that hold the values to be validated are not getting uniquely identified. Please help.
When you say it’s parametrized, what are you using to configure the input? Are you using the Country Name? If so, you could add the Country Name as an Anchor, and pass it as a variable.
Ok @Irene , thanks. I will try it out.
Try to open ui explorer and then explore the centre top panel where if you go one ir two lines above from Bottom you will get innertext or aaname containing the country name and can use it in selector directly
Cheers
I tried it but the problem is that element does not have aaname or innertext to read, so unable to fetch its properties. Any more suggestions please?
Can you show us what you see in Ui Explorer please?
Thanks @Irene, I eventually resolved it by taking expected data as an input from user and then using that in forming the locator.
This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.