12-04-2010, 12:34 AM
(This post was last modified: 12-04-2010, 01:00 AM by vivekmenon.)
Note:I am new to QTP and there is no one here to help me out.
Scenario
--------
I have a frame in which there are 5 radio button options. Based on the plan(corresponds to an emp id) in the local sheet, I have to choose a corresponding radio button.
Below is what I am trying to do. But I doo how to code for that.
If Plan_Sep property set = 'V' then select Plan 55
Else If Plan_Sep property set = 'S' then select Plan 72
and so on
Please help
VM
Scenario
--------
I have a frame in which there are 5 radio button options. Based on the plan(corresponds to an emp id) in the local sheet, I have to choose a corresponding radio button.
Below is what I am trying to do. But I doo how to code for that.
Code:
Dim Plan_Sep
Plan_Sep = Set Datatable("Plan_Sep_Data", dtLocalSheet)
If Plan_Sep property set = 'V' then select Plan 55
Else If Plan_Sep property set = 'S' then select Plan 72
and so on
Please help
VM