fbpx

Input ” Text ” type is not String

Input ” Text ” type is not String

Home Forums Ask Expert Input ” Text ” type is not String

  • This topic has 3 replies, 2 voices, and was last updated 7 years ago by Sasha ZAP.
Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #31559
    Jen Fan
    Participant

      I don’t know how to convert the data in the data table.
      is anyone know it?

      #31560
      Sasha ZAP
      Moderator

        Hello iyuga1314,

        To convert Datatable data format you want to use in ZAPTEST you can do it in the following 3 ways:

        1. Convert the data in your Excel file (Or the CSV) you are about to import to the test during runtime, using the known MS Excel cell format options.
        2. If you specify data already in the Datatable section in ZAPTEST, by doing a right-mouse-click on the Datatable’s cell you can select between different data formats.
        3. During runtime you can set a method to force a string (Or data in a variable) to the format you wish to use as required – In your screenshot it supposes to be: CStr(Datatable.Value(“ACNNO”)).

        Please advise if this helped.

        Thanks,
        ZAPTEST Team

        #31567
        Jen Fan
        Participant

          I used the third method it works now.
          Very helpful!
          Thank you!

          #31568
          Sasha ZAP
          Moderator

            Thank you iyuga1314.
            Thanks,
            ZAPTEST Team

          Viewing 4 posts - 1 through 4 (of 4 total)
          • You must be logged in to reply to this topic.

          Virtual Expert

          ZAPTEST

          ZAPTEST Logo