fbpx

Get your 6-month No-Cost Opt-Out offer for Unlimited software automation!

Input “Text” type is not String

Input “Text” type is not String

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

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #31234
    Andries Swanepoel
    Participant

      Good day,

      I’ve recently downloaded Zaptest and have been playing with it for a day or two. My problem is that I’ve now encountered an error that I can’t find a solution for in the training videos. Please would you be able to assist me with the below error?

      Error on Step 37
      Input “Text” type is not String

      This is line 37:
      Application(“Client search”).View(“Client Search”).Object(“ID Number”).Type Datatable.Value(“ID Number”)

      Thanks,
      Andries

      #31235
      Kirill Bulatnikov
      Participant

        Hello Andries, thanks for using ZAPTEST

        For Type method we need to use string/text type of data

        There are 2 solutions:
        1. Format your data in the datatable to text (right click to the cell – Format – Text)
        2. Use short concatenation with empty string, example below
        Application(“Client search”).View(“Client Search”).Object(“ID Number”).Type “”&Datatable.Value(“ID Number”)

        Hope that helps.
        Thanks,
        ZAPTEST team

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