fbpx

Verify toast message

Verify toast message

Home Forums Ask Expert Verify toast message

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #31791
    CHANDAN KUMAR
    Participant

      How to verify toast message in Zaptest ?
      Actually, I am testing freecharge app. where after entering invalid mobile number, get a message that “Please enter a valid mobile number”. I want to validate that message. Can anyone help me?

      #31792
      Kirill Bulatnikov
      Participant

        Hello chandanbhagat4u. Thanks for using ZAPTEST.

        You need to have object with the error message text in your repository and then validate it by using Exist method. You can find similar scenario implementation in our tutorial lesson:

        Building Your First Script

        Hope that helps.

        Thanks,
        ZAPTEST Team

        #31793
        CHANDAN KUMAR
        Participant

          Thanks for the reply.

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

        Virtual Expert

        ZAPTEST

        ZAPTEST Logo