How to validate the object count?

How to validate the object count?

Home Forums Ask Expert How to validate the object count?

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #32278
    Taha shadab
    Participant

      I want to verify the count of objects. but the object created on the runtime.

      #32282
      Sasha ZAP
      Moderator

        Hello tahashadab,

        You can do the following:
        1. Create the expected objects in the scanned GUI where the real objects suppose to appear during runtime (Although they will not appear when you’ll scan the GUI still you can set to these objects their expected properties, such as the “Text” property).
        2. During runtime check if the above specified objects appear using the Exist method, and if yes add 1 to a counter.

        This way you will be able to count if certain objects appeared during runtime or not.

        Thanks,
        ZAPTEST Team

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

      Virtual Expert

      ZAPTEST

      ZAPTEST Logo