QTP is unable to recognise the webedit object when I run the script and throws an Object Identification error even though the OR is able to highlight the object in the application.
How can I use Regular expression to solve this issue? Can someone give an example?
12-28-2011, 03:35 PM (This post was last modified: 12-28-2011, 03:51 PM by soumen.)
Is j_user the name of the object in the OR? If yes then you should use:
Browser(...).Page(...).WebEdit("j_user").Set datatable("Userid", dtlocalsheet).
There are two possibilities for this issue:
1. Might be the input value (datatable("Userid", dtlocalsheet)) which ever you are giving is different. Please put a message box and see what the input is.
2. Can you try to remove the name property for the object in OR. (as we have index property)
One more question... are you getting the object not found error after a long wait?