Input ” Text ” type is not String

Input ” Text ” type is not String

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

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #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 3 posts - 1 through 3 (of 3 total)
        • You must be logged in to reply to this topic.

        Virtual Expert

        ZAPTEST

        ZAPTEST Logo