QTP Recognize Weblist As Webedit Problem Solved

Share and Enjoy !

Today, I came across a scenario that QTP recognizes weblist as webedit . After a long googling I came to a conclusion that the field may be dynamic. It looks like a WebList but in it’s initial state it is a WebEdit box. If a specific condition is triggered in the application the WebList populates and now you have a WEbList object.

If this is the case you can define it twice (WebEdit and WebList) Using a RO property you can determine whether or not to continue the scirpt as and Edit or as a List.
I took help from the following links…
http://www.learnqtp.com/forums/archive/index.php/thread-2631.html
http://www.advancedqtp.com/forums/index.php?topic=4816.0

Share and Enjoy !

1 thought on “QTP Recognize Weblist As Webedit Problem Solved”

Leave a Comment

Your email address will not be published. Required fields are marked *