MRun mode – sync or async execution?

MRun mode – sync or async execution?

Home Forums Ask Expert MRun mode – sync or async execution?

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #32078
    hien phan
    Participant

      Hi ZAPTEST team,

      I’m using MRun mode to execute my test case on 2 machines (1k and 4k resolution)

      Test Scenario:
      I have a sort function with 3 options: date, name and type.
      I have to click sort button to show 3 sort options.
      The 3 sort options view will be disappear automatically after 5 seconds

      My script:
      Application(“app”).View(“view1”).Object(“sort”).Click
      Application(“app”).View(“view2”).Object(“date”).Click

      Result on MRun mode:
      1k machine: it passed
      4k machine: fail -> the sort option “date” is existed but zap performs click after the popup disappeared

      It’s work properly on normal mode (run on 4k machine only)

      How can I overcome this issue?

      Thanks!

      #32087
      Sasha ZAP
      Moderator

        Hello hien.phan,

        The reason may be that the objects (The 3 sort options you need to click on) are not being recognized fast enough:
        You can update object’s features in order to make ZAPTEST recognize them fast enough – Features such as:
        – Update Properties such as “Recognition Type”;
        – Assign to them Relative objects;
        – Assign the objects to an Area object;

        Please check the following tutorial on how to create a test with recognizable objects:

        Building Your First Script

        Another solution may be to set more testing steps to the test in which the sort objects get reappeared again if they’ve got disappeared or after a certain time, and then you can try and click on them again.

        Hope this helps.

        Thanks,
        ZAPTEST Team

        #32090
        hien phan
        Participant

          Hi ZAPTEST team,

          Create an area and map child object to that area make the action more faster.

          Thank you for your support
          _Hien

          #32092
          Sasha ZAP
          Moderator

            Thank-you hien.phan.

            Thanks,
            ZAPTEST Team

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

          Virtual Expert

          ZAPTEST

          ZAPTEST Logo