I have recorded a test where I am creating an Invoice with an Invoice Number on it which is a random number which I am generating with the help of the random number generator. Then, I am also storing that random number in a parameter. If you see the screenshot below, the element is there on the page with the same XPATH as what was recorded. But when I change the Invoice Number (178) in the element with the PARAMETER, where I stored that Invoice Number, it is not finding that element on that page. I also tried counting the number of spaces and everything is looking good but still it is unable to find that element with that XPATH. Please let me know what is going wrong in this scenario?
Here is the parameter value of Invoice Number in my test.