06-30-2011, 06:08 PM
Well i did not understand why u r trying to keep object properties in Object Repositories where u r proceeding with Descriptive Programming...And your mentioned error generally found when the mentioned property is not identified by QTP in that page or that property is not sufficient to identify that object uniqulely..
In this case first find out the unique properties of ur textbox by spying on it...it may be 2 or 3 or more properties needed to identify that textbox uniquly...
Next thing--Clear out your Object repository coz it is not needed at all in Descriptive Programming....
Then Write--
Make sure all the value and property should be unique to identify Browser, page and that particular WebEdit....Find out these properties by Spying on those objects....
Hope i am clear to u...let me know if any other information needed...Just drop me a mail on--- souvikghosh.diatm@gmail.com.....
In this case first find out the unique properties of ur textbox by spying on it...it may be 2 or 3 or more properties needed to identify that textbox uniquly...
Next thing--Clear out your Object repository coz it is not needed at all in Descriptive Programming....
Then Write--
Code:
Browser("property and value").Page("property and value").WebEdit("property and value").Set "value"
Make sure all the value and property should be unique to identify Browser, page and that particular WebEdit....Find out these properties by Spying on those objects....
Hope i am clear to u...let me know if any other information needed...Just drop me a mail on--- souvikghosh.diatm@gmail.com.....