fbpx

Need few Information on using ZAPTEST

Need few Information on using ZAPTEST

Home Forums Ask Expert Need few Information on using ZAPTEST

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #32808
    Ravi Kumar
    Participant

      I am doing a feasibility study of automating one of our Desktop applications using the ZAPTEST automation tool. I have below few queries regarding this for which I need your valuable inputs. Depending on these features, we are planning to purchase the tool.
      1. I need to fetch values from few fields which are very dynamic in nature. The values in these fields change every 2 to 5 minutes and I need to fetch and validate these values if they are within the tolerance.I would like to know how can I do this using ZAPTEST tool.
      2. I have multiple grids in which values change frequently including the values, index of grid items and also total number of row columns. I need your help in understanding if it’s possible to automate these grids using ZAPTEST.
      3. I need to run the automation scripts in systems where Internet is not available for evaluating the Login credentials. Please let me know if that scenario is supported.
      4. Is it possible to execute the automation scripts silently without the ZAPTEST UI?

      #32809
      Sasha ZAP
      Moderator

        Hello ravikumar.ng,

        Please check the following answers to your questions:

        1. In order to get dynamic value you need to follow these stesp:
        1.1 Specify first an object, as close as possible to the dynamic object, which will have a static (Not dynamic) constant appearing valuecaption, it will be the parent object of the dynamic object.
        1.2  Create an object, which will be the dynamic object, in a place where the dynamic value supposes to appear.
        1.3 Relate to the dynamic object the first specified parent object, using the “Relative Object” property of the child object.
        1.4 Using the “GetText” method you’ll be able to get the appeared dynamic value – The script’s statement will appear something like this:

        strValueof DynamicObject =   Application(“Application  Name”).View(“View  Name”).Object(“Parent Object  Name”).Object(“ChildObject  Name”).GetText 

        2. Of course you can use ZAPTEST for such automation – Here is an example how you can use ZAPTEST to capture the dynamic grids’ values:
        2.1 Specify a TableList as the object of the grid and set it to maximum number of columnsrows the grid may appear with.
        2.2 Set a loop to capture values from the appeared grid until it gets to an empty cell (Or cell that contains certain value) – For example:

        Loop Until Application(“Confirm Save as”).View(“Confirm Save as”).Table(“New Object”).GetCellText(Row Number, Column Number) = “”

        3. ZAPTEST can create any required automated functional testing scenario (ZAPTEST can also do performance testing as well).
        Regarding your question, for example if you’ll need to check a successful login action you can create an automated test using ZAPTEST which will check if the appeared page after the login is the expected one (By checking if certain expected objects exist in it), and if the appeared page is the expected one then you have a successful login action.

        4. Basically when you execute ZAPTEST automated script ZAPTEST brings the AUT (Application Under Test) to the front and based on the commands you’ve specified in the test you’ll see almost regular user actions on the AUT without the appearance of ZAPTEST:
        ZAPTEST will only appear if the test will stop for some reason, such as end of the test or failure of it (Then you’ll be able to review the test’s results).

        Hope this helps.

        Please fill up the following form to get a demo from ZAP team:

        Get Demo

        You can also check our ZAPTEST Beginner Tutorial at:

        Tutorial

        Also you can get more documentation about ZAPTEST in the “How-To” page at:
        https://www.zaptest.com/user-zone/product-training

        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