Results 1 to 7 of 7

Thread: Select radiobutton thro' datatable input

  1. #1
    Junior Member
    Join Date
    Jan 2008
    Answers
    18

    Select radiobutton thro' datatable input

    Hi,

    In flight reservation,if parameterizing done thro' datatable.
    Then how to select the radiobuttons "First","Business" & "Economy" , if the input is thro' datatable.

    I'm using descriptive programming, which similar to the above scenarion,Please help what method should be used with radiobutton to set the option according to the datatable input?

    Thanks
    MaluR


  2. #2
    Expert Member
    Join Date
    Sep 2007
    Answers
    110

    Re: Select radiobutton thro' datatable input

    Quote Originally Posted by MaluR View Post
    Hi,

    In flight reservation,if parameterizing done thro' datatable.
    Then how to select the radiobuttons "First","Business" & "Economy" , if the input is thro' datatable.

    I'm using descriptive programming, which similar to the above scenarion,Please help what method should be used with radiobutton to set the option according to the datatable input?

    Thanks
    MaluR
    I cannot understand how you set the radiobutton "ON" by using datatable.
    You can use this line to set radiobutton "ON"...


    window("text:=Flight Reservation").winradiobutton("text:=First").Click


  3. #3

    Re: Select radiobutton thro' datatable input

    Browser("micClass:=Browser").Page("micClass:=Page").WebRadioGroup("name:=servClass").Select DataTable("FlightClass",dtGlobalSheet)

    FlightClass is (Coach, Business, & First) in the DataTable


  4. #4
    Moderator
    Join Date
    Sep 2006
    Answers
    920

    Re: Select radiobutton thro' datatable input

    Quote Originally Posted by MaluR View Post
    Hi,

    In flight reservation,if parameterizing done thro' datatable.
    Then how to select the radiobuttons "First","Business" & "Economy" , if the input is thro' datatable.

    I'm using descriptive programming, which similar to the above scenarion,Please help what method should be used with radiobutton to set the option according to the datatable input?

    Thanks
    MaluR
    It's very simple, just type 1,2,3in data table in different columns and parametrize this value for radio button.
    1-First
    2-Business
    3-Economy

    Regards,
    Brijesh Jain
    ---------------------------------------------------------
    Connect with me on Skype: jainbrijesh
    Google Plus : jainbrijeshji

  5. #5
    Banned
    Join Date
    Oct 2007
    Answers
    173

    Re: Select radiobutton thro' datatable input

    Yes the one which Anshoo written will work out


    Browser("micClass:=Browser").Page("micClass:=Page").WebRadioGroup("name:=servClass").Select DataTable("FlightClass",dtGlobalSheet)

    FlightClass is (Coach, Business, & First) in the DataTable


  6. #6
    Junior Member
    Join Date
    Jul 2008
    Answers
    1

    Re: Select radiobutton thro' datatable input

    Browser("micClass:=Browser").Page("micClass:=Page").WebRadioGroup("name:=servClass").Select DataTable("FlightClass",dtGlobalSheet)
    is not woking the following error message pop's up
    Cannot identify the specified item of the[servClass] object.......
    Any suggestions

    Thanks
    abc33xyz


  7. #7
    Expert Member
    Join Date
    Jun 2008
    Answers
    204

    Re: Select radiobutton thro' datatable input

    I think the below is missing a word "value".

    Browser("micClass:=Browser").Page("micClass:=Page").WebRadioGroup("name:=servClass").Select DataTable("FlightClass",dtGlobalSheet)

    Try

    Browser("micClass:=Browser").Page("micClass:=Page").WebRadioGroup("name:=servClass").Select DataTable.value("FlightClass",dtGlobalSheet)


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
About us
Applying for a job can be a stressful and frustrating experience, especially for someone who has never done it before. Considering that you are competing for the position with a at least a dozen other applicants, it is imperative that you thoroughly prepare for the job interview, in order to stand a good chance of getting hired. That's where GeekInterview can help.
Interact