Forum Discussion

122324's avatar
122324
New Contributor
9 years ago
Solved

Question regarding data driven with radio buttons.

Hi, I have tried 2 method to automate radio button on data driven test provided by testcomplete. Here are the 2 method, http://support.smartbear.com/support/media/images/techpapers/testcomplete/data_driven_testing/MasterCardSegment.gif

and http://support.smartbear.com/viewarticle/63394/. However, 2 of these method doesn't seem to work for me. I hope someone can help me with this.

  •  

    Hi 

    I would start converting to String the data readen in your variable.DBTable1.

     

    Ensure also that in the If.. you selected:

    Value1: aqConvert.VarToStr(Variables.DBTable1("Credit Card"))

    Condition: equals

    Value2: Variable - String AE

     

    Let us know

     

    2015_05_15_aqConvert.png

5 Replies

  • Lage's avatar
    Lage
    Contributor

     

    Hi 

    I would start converting to String the data readen in your variable.DBTable1.

     

    Ensure also that in the If.. you selected:

    Value1: aqConvert.VarToStr(Variables.DBTable1("Credit Card"))

    Condition: equals

    Value2: Variable - String AE

     

    Let us know

     

    2015_05_15_aqConvert.png

    • 122324's avatar
      122324
      New Contributor

      Hey, Thank You for showing me how to do. Your solution make sense, I'm trying to extract the column values but I do not know what to use. I think  aqConvert.VarToStr will do the job. I will try your method soon. So it is true that the method testcomplete show is not working?

      • 122324's avatar
        122324
        New Contributor

        I had try the solution u have given to me. Sad to say that it still doesn't work