How do I check if property exists or not in the collection?
QuickTest Professional (QTP) Questions and Answers
(Continued from previous question...)
How do I check if property exists or not in the collection?
The answer is that it’s not possible. Because whenever we try to access a property which is not defined its automatically added to the collection. The only way to determine is to check its value that is use a if statement “if obj_ChkDesc(“html tag”).value = empty then”.
(Continued on next question...)
Other Interview Questions
|