fbpx

Menu item selection – reused code

Menu item selection – reused code

Home Forums Ask Expert Menu item selection – reused code

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #43665
    Marco Malziotti
    Participant

      Good morning
      Why does ZapTest (free version 22.5.4) not find the “Logout” menu item in the second cycle?
      The graphical interface is the same.
      Thank you.
      https://octospa-my.sharepoint.com/:f:/g/personal/m_malziotti_octotelematics_com/EnTRWqbcELlJkXGkWEuTV9QBwxwkMhoLdkSF3BaHd3eAlQ?e=dWuc6h
      (expired at 18/10/2022)

      Marco Malziotti

      #43668
      Sasha ZAP
      Moderator

        Good morning Marco,
        Basically in your test in its first iteration the appeared site has a different UI view with a lot of blue objects in it but then the site in the second iteration has a UI which its objects’ color is mostly orange – Because of such UI differences ZAPTEST has difficulties to locate the object properly:
        You must add 2 Views in the Repository, one for the:
        https://labtcp.omoove.com/whitelabel/customer-base/login.html” site 
        and one for the:
        https://labtcp.omoove.com/infomobilitypre/customer-base/login.html” site.
        Each iteration will use a different Repository View.
        The password does not work for me no more, but in your end please check if the Application’s object “regexpwndtitle” property changes after login to the site, if yes then you must add als new Application objects (And all their related Views) for each of the different URLs sites.
        Hope this helps.
        Thanks,
        ZAPTEST Team

        #43671
        Marco Malziotti
        Participant

          Thanks Sasha
          The “regexpwndtitle” property does not change as the endpoint changes.
          Too bad I can’t reuse the code and views for both endpoints.
          I’ll have to keep two views instead of one.
          Thanks anyway

          Marco Malziotti

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

        Virtual Expert

        ZAPTEST

        ZAPTEST Logo