QTP Recognize Weblist As Webedit Problem Solved

1
45
Spread the love
  • 1
  •  
  •  
  •  
  •  
  •  
  •  
  •  
  •  
  •  
    1
    Share

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

Don't miss out!
Subscribe To Newsletter

Receive top technical news, lesson ideas, travel tips and more!

Invalid email address
Give it a try. You can unsubscribe at any time.

Spread the love
  • 1
  •  
  •  
  •  
  •  
  •  
  •  
  •  
  •  
  •  
    1
    Share

1 COMMENT

LEAVE A REPLY

Please enter your comment!
Please enter your name here