Cannot locate Button inside window with hidden grids

6 posts, 0 answers
  1. Radosław
    Radosław avatar
    3 posts
    Member since:
    Sep 2016

    Posted 12 Sep Link to this post

    This is the map for the application:screenshot.

     

    I tried to locate one of the buttons using "visible" and "exists".

    How can I locate this buton, it seems it is hidden too deep.

    What should the approach be ? (It seems the developers build a wizard here which consists from four grids).

  2. Elena Tsvetkova
    Admin
    Elena Tsvetkova avatar
    254 posts

    Posted 15 Sep Link to this post

    Hi Radoslaw,

    Test Studio creates a find expression for each recorded element. It has to be unique so that the element could be located later by execution. The depth in the DOM tree shouldn't be an issue if the find expression is correctly built. Though the default one is not always the best and you might need to change it and adjust it to the application specifics. It is important to note that "visible" and "exists" are verification steps if an element exists or is visible on the page. However this element has its find expression in the "background of the test" and it is to be modified in case the step fails. 

    Regards,
    Elena Tsvetkova
    Telerik by Progress
     
    Quickly become an expert in Test Studio, check out our new training sessions!
    Test Studio Trainings
     
  3. Radosław
    Radosław avatar
    3 posts
    Member since:
    Sep 2016

    Posted 27 Sep in reply to Elena Tsvetkova Link to this post

    Hi Elena,

    Sorry for so late response. The problem is I couldn't reach the element neither by locating and using it nor hovering over it. The window is a kind of wizard structure with couple of RadWindows that are being hidden and visible respectively of an action. The application launches logging window first, and finding elements like buttons and textboxes work fine in this one, but after that logging window is being closed and wizard window opens, which i can't locate anyhow. Telerik TS gives me parameters of this window and its element, however using any of them does not give any effect.

  4. Elena Tsvetkova
    Admin
    Elena Tsvetkova avatar
    254 posts

    Posted 29 Sep Link to this post

    Hi Radoslaw,

    Unfortunately I couldn't give any solution/advice since the application is not available for me and the issue you are facing is while recording. Would it be possible to provide your application or at least a sample of it that could reproduce the same behavior? 

    Regards,
    Elena Tsvetkova
    Telerik by Progress
     
    Quickly become an expert in Test Studio, check out our new training sessions!
    Test Studio Trainings
     
  5. Radosław
    Radosław avatar
    3 posts
    Member since:
    Sep 2016

    Posted 29 Sep Link to this post

    Hi Elena,

    I'm affraid I can't provide any code of it, but the issue has been ignored due to longlasting process of resolving anyway, so i think the topic is to close now. Thanks for your time.

    Best regards,

    Radoslaw

  6. Elena Tsvetkova
    Admin
    Elena Tsvetkova avatar
    254 posts

    Posted 29 Sep Link to this post

    Hi Radoslaw,

    thanks for your understanding. I will mark this topic as closed but feel free to contact us again in case of any future queries. 

    Regards,
    Elena Tsvetkova
    Telerik by Progress
     
    Quickly become an expert in Test Studio, check out our new training sessions!
    Test Studio Trainings
     
Back to Top