Results 1 to 6 of 6

Thread: Unable to capture the Radio button Selection in SilkTest

  1. #1
    Junior Member
    Join Date
    Jun 2008
    Answers
    1

    Unable to capture the Radio button Selection in SilkTest

    Hi

    am not able to capture the Radio button selection using silktest
    So anyone who knows, kindly help me to resolve this issue

    Thanks
    Moses


  2. #2
    Contributing Member
    Join Date
    May 2008
    Answers
    32

    Re: Unable to capture the Radio button Selection in SilkTest

    Quote Originally Posted by ebby23 View Post
    Hi

    am not able to capture the Radio button selection using silktest
    So anyone who knows, kindly help me to resolve this issue

    Thanks
    Moses
    Hi,

    To select a radio button use:-
    rdoWindow.HtmlRadioList(object).Select(choice)

    rdoWindow - your main window
    object- The radio list object
    choice- radio selection

    If you want to identify individual radio buttons, then set the option on the 'Compatibility' tab of the 'Agent Options' dialog appropriately.

    Regards
    Sabarish


  3. #3
    Junior Member
    Join Date
    Oct 2009
    Answers
    1

    Re: Unable to capture the Radio button Selection in SilkTest

    Quote Originally Posted by sabariish View Post
    Hi,

    To select a radio button use:-
    rdoWindow.HtmlRadioList(object).Select(choice)

    rdoWindow - your main window
    object- The radio list object
    choice- radio selection

    If you want to identify individual radio buttons, then set the option on the 'Compatibility' tab of the 'Agent Options' dialog appropriately.

    Regards
    Sabarish
    Does anyone have any tips on randomizing the radio button selection? I have a choice of say, 4 radio buttons. There are no dependencies on that selection so it won't change screen or option selection, it is for informational purposes only. How might I randomize my selection?


  4. #4
    Junior Member
    Join Date
    Jan 2010
    Answers
    2

    Re: Unable to capture the Radio button Selection in SilkTest

    Hi,

    Can you clear your doubt?


  5. #5
    Junior Member
    Join Date
    Jan 2010
    Answers
    2

    Re: Unable to capture the Radio button Selection in SilkTest

    Hi,

    Can you explain your doubt clearly?
    I think i can help you out .


  6. #6
    Junior Member
    Join Date
    Jan 2010
    Answers
    1

    Re: Unable to capture the Radio button Selection in SilkTest

    Hi,

    My answer may help you to some extent.

    If those four radio buttons are there within a table, then we can easily randomize the selection.

    Step1: Turn on ShowHtmlTables
    Step2: Capture the table
    step 3: Try out with below statement.

    Browser.HtmlPageName.HtmlTableName.RadibuttonColumnName.Select("#{i}")
    Note: where i = 1,2,3 or 4.
    and Tag value '#{i}' would be changed and it depends on how SilkTest recongnizes your Html Radio button uniquely.


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