Radio Button - 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: VB Scripting/Descriptive Programming (https://www.learnqtp.com/forums/Forum-VB-Scripting-Descriptive-Programming) +--- Thread: Radio Button (/Thread-Radio-Button) |
Radio Button - vinod123 - 11-14-2011 i am facing problem with radio button deletion using qtp descriptive programing please help me. RE: Radio Button - ravi.gajul - 11-14-2011 Deletion or selection? if selection please post the object spy snapshot. RE: Radio Button - vinod123 - 11-15-2011 it is for deletion not selection RE: Radio Button - ravi.gajul - 11-15-2011 What is the error message if any? RE: Radio Button - vinod123 - 11-15-2011 it is not the error message but using qtp i could not delete the record by selecting radiobutton basically my problem when i select the radio button click on remove button it gets deleted and second time if i want to delete record it is unable to select the radio button. As per my application using qtp script i have to select the radio button and delete some of the records RE: Radio Button - ravi.gajul - 11-15-2011 Are you are not able to select the same radio button second time? If you have multiple radio buttons corresponding to different records and you want to select a radio button and delete the record, then make sure that radio button properties of the current record matches with the one thats in the repository.If these radio buttons are dynamic then you should go for childobjects and get the dynamic radio button and delete. If this is not clear please post the object spy snap shot of the radio button. RE: Radio Button - vinod123 - 11-15-2011 Thank u but for example i want to delete the last one but it is deleting from first RE: Radio Button - ravi.gajul - 11-15-2011 Code: set allRadiobuttons=browser().Page()....childobjects("WebRadioButton") if you dont know the index and in this case as you said above if you want to delete last radio button then Code: allRadiobuttons(Ubound(allRadiobuttons)).Set If you are already doing it this way or it this doesn't help , pls post your code and object spy snapshot of the radio button to be deleted. RE: Radio Button - vinod123 - 09-25-2014 thank u for your reply |