In my application I get a password for my patch and I wish to capture that password text and then get the exact password using mid and instr commands.
QTP is recognising the object as WebElement with innertext as some text containing my password. If I remove the innertext property from the description then there are more than one webelements in the web page so I can not neglect the innertext property.
So I think the only way with me is to use regular expression (regex) in the innertext value. But after using regex QTP is unable to highlight the webelement in the aplication. Even if I just selected the check box for regex without changing anything in value and selected Yes for appending the escape character to the regex characters.. but with these setting also it is not able to highlight the object.
Please reply your suggestion if you have any idea about this problem, I can not use the innertext name property without regex as the password keeps on changing for every time.