![]() |
QTP not recognizing SelectBox Object - Printable Version +- Micro Focus QTP (UFT) Forums (https://www.learnqtp.com/forums) +-- Forum: Micro Focus UFT (earlier known as QTP) (https://www.learnqtp.com/forums/Forum-Micro-Focus-UFT-earlier-known-as-QTP) +--- Forum: UFT / QTP Beginners (https://www.learnqtp.com/forums/Forum-UFT-QTP-Beginners) +--- Thread: QTP not recognizing SelectBox Object (/Thread-QTP-not-recognizing-SelectBox-Object) |
QTP not recognizing SelectBox Object - swethu - 06-17-2008 Hi All, I got stuck at some point while using QTP, am summarizing it below. While recording in QTP 9.2 if I click on list box, QTP generating the step as a WebEdit instead of generating WebList. I have written descriptive programming to select the particular option in that list box as ex : Code: weblist(“Weblistename”).Select”OptionName” but here if I wrote like this it showing error message as that option name which is present in the list box it not in the Object Repository. After that I added that List box to Object Repository & written some script like below: Code: Browser(“Name”).Page(“Name”).WebEdit(“FieldName”).Click In UI screen the option I have selected in FireEvent, that not viewing and its not taking that option under count. Can anyone Suggest me the solution for this.. Thanks in Advance, Swethu RE: QTP not recognizing SelectBox Object - siri - 07-17-2008 Hi, ITs good once you record the scritp again and be sure that wehat you specified the object proerties in the script match the properties in the application too. RE: QTP not recognizing SelectBox Object - prince3105 - 07-17-2008 Hi Swethu confirm with your developers about whether they used any Ajax controls on the form. If they used on it, it will look like Weblist but actually its a Webedit. So treat as Webedit and continue your Testing. |