Page Navigation arrow mark is not identified

4 posts, 0 answers
  1. mohamedali
    mohamedali avatar
    9 posts
    Member since:
    Aug 2016

    Posted 03 Sep Link to this post

    Hi,

    My application is developed with Anguar2 framework and Kendo components. Execution fails to identify the page navigation objects such as '>' (to navigate to next page), '<' (to navigate to previous page) etc. 

    For example, the html element of first page navigation '|<' is

    <a href="#" title="Go to the first page" class="k-link k-pager-nav k-pager-first" data-page="1" tabindex="-1">
        <span class="k-icon k-i-seek-w">
        ::before
        "Go to the first page"
        </span>
    </a>

    I tried to find element by Xpath, but it doesn't work.

    HtmlDiv FirstPage = Manager.ActiveBrowser.Find.ByXPath<HtmlDiv>("//*[@id='kgrid']/kendo-grid/div/div[4]/a[1]");
    FirstPage.Click();

    Another unique property is title (title="Go to the first page"), but Test Studio doesn't have option to find element by title.

    The issue occurs in all the pages when the element to identify is Arrow Mark. In another example, down arrow mark (from grid title bar) defined for filtering records are not identified during playback.

    <a class="k-header-column-menu" href="#" tabindex="-1">
        <span class="k-icon k-i-arrowhead-s">
        ::before
        "Column Settings"
        </span>
    </a>

    Can you please help with this scenario

     

    Thanks

    Mohamed

     

  2. Elena Tsvetkova
    Admin
    Elena Tsvetkova avatar
    254 posts

    Posted 07 Sep Link to this post

    Hi Mohamed,

    I assume the issue described in this thread duplicates the one with ID 1060637. Hence I will close this one and will continue the discussion in the above mentioned post. If you don't find the answers to your questions in it feel free to reopen this one at any time. Thanks for your understanding! 

    Please note we do not recommend using Xpath since by every slight change in the application this may take effect on your test script. However let us discuss the issue in your other post. Thanks again! 

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

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

    Hi Elna,

    Could you please share the thread link as I am uanble to find using thread id.

    Regards

    Mohamed

  4. Elena Tsvetkova
    Admin
    Elena Tsvetkova avatar
    254 posts

    Posted 10 Sep Link to this post

    Hello Mohamed,

    You could follow your tickets from your Telerik account. Additionally I would recommend you modify the automatically generated find expression since it might not be the best. It is recommended to use unique attributes to locate the element. 

    Though if you consider the issue is not related to the one in the other thread feel free to continue the discussion here and share further details along with a sample that could be tested on our side. 

    Thank you in advance for the cooperation! 

    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
  Cast Your Vote at DevPro Connections! Cast Your Vote at  Win IT Pro Connections!