| || |
object value changing
I have one webelement whose value changes according to our input like if approved i get "APP" if Deffered i get "DEF" and sometimes "ABT" etc when i recorded the script it was "DEF" there and i have captured it. Now i want to retrieve this value i have used output value checkpoint and selected innertext but its not working. i thought it may be becuase of object property changing everytime so i have used regular expression in object repository and used ".*" instead of "DEF" but after running one more interation what i have noticed its making new instance of an object in an Object repository like first one with name "DEF" second one with name "DEF_1" and so on ??? i just want to capture value which may change accordingly
Re: object value changing
Use this regular expression....