Header Ads

QTP Recognize Weblist As Webedit Problem Solved

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...
Powered by Blogger.