nidhi1
14 years agoOccasional Contributor
Using wildcards in name mapping
Hello!!
I am using wildcards to define identifying properties for my objects. My problem is something like this:
1. I define my first object which is a homepage of my website:
url: http://stg.shop.adidas.*/index.jsf
2. For subsequent pages, I am using
url: http://stg.shop.adidas.*/checkout*
url: http://stg.shop.adidas.*/cart*
and likewise...
But, it says that there is no unique mapping name for this object and it might be ambiguous at the time of recognizing objects. I get a message as following:
"The specified mapping criteria do not provide unique identification of the object. This may cause recognition problems during the test run."
Could you please suggest if this is the correct approach of using wildcarding? Or should I change something?
Many Thanks!!!
-Nidhi
I am using wildcards to define identifying properties for my objects. My problem is something like this:
1. I define my first object which is a homepage of my website:
url: http://stg.shop.adidas.*/index.jsf
2. For subsequent pages, I am using
url: http://stg.shop.adidas.*/checkout*
url: http://stg.shop.adidas.*/cart*
and likewise...
But, it says that there is no unique mapping name for this object and it might be ambiguous at the time of recognizing objects. I get a message as following:
"The specified mapping criteria do not provide unique identification of the object. This may cause recognition problems during the test run."
Could you please suggest if this is the correct approach of using wildcarding? Or should I change something?
Many Thanks!!!
-Nidhi