Thread Rating:
  • 1 Vote(s) - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Radio Button
#1
Solved: 11 Years, 4 Months, 2 Weeks ago
i am facing problem with radio button deletion using qtp descriptive programing please help me.
Reply
#2
Solved: 11 Years, 4 Months, 2 Weeks ago
Deletion or selection? if selection please post the object spy snapshot.
Reply
#3
Solved: 11 Years, 4 Months, 2 Weeks ago
it is for deletion not selection
Reply
#4
Solved: 11 Years, 4 Months, 2 Weeks ago
What is the error message if any?
Reply
#5
Solved: 11 Years, 4 Months, 2 Weeks ago
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
Reply
#6
Solved: 11 Years, 4 Months, 2 Weeks ago
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.
Reply
#7
Solved: 11 Years, 4 Months, 2 Weeks ago
Thank u but for example i want to delete the last one but it is deleting from first


Attached Files Image(s)
   
Reply
#8
Solved: 11 Years, 4 Months, 2 Weeks ago
Code:
set allRadiobuttons=browser().Page()....childobjects("WebRadioButton")
allRadiobuttons(<index of the radio button to delete>).set

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
then click on remove.
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.
Reply
#9
Solved: 11 Years, 4 Months, 2 Weeks ago
thank u for your reply
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Radio Group problem vinod123 4 5,793 09-25-2014, 12:10 PM
Last Post: vinod123
  Identifying radio buttons with same html ID but dynamic webelement properties manishac 12 13,754 05-03-2012, 06:27 AM
Last Post: manishac
  identifying Webradiobuttons in a web radio group swayampadhi88 1 6,697 02-18-2012, 08:53 AM
Last Post: inborntester
  Checking Tool tip of field/Image/Radio Button mayur.bidkar 1 3,168 11-13-2008, 05:25 PM
Last Post: mayur.bidkar
  select radio button based on UI text Sri 1 3,130 03-01-2008, 12:11 PM
Last Post: umar.shariff

Forum Jump:


Users browsing this thread: 1 Guest(s)