how to identify the elements which change dynamically

2 posts, 0 answers
  1. Prasanna
    Prasanna avatar
    4 posts
    Member since:
    Oct 2012

    Posted 27 Sep 2012 Link to this post

    - I have an application which contains the names of certain hospitals.
    I recorded the application following the below steps.
    - Search for the total list of hospitals
    - Select (check boxes)atleast one and save it.

    As per our aplication logic,if once a hospital is selected and saved, when we search for total list of hospitals, the one which was selected will not be displayed.
     With the above logic in mind, when i run the test case with above mentioned steps,
    - when test studio clicks on search button, getting the total list of hospitals but unable to select any one.
    - The reason shown as ' unable to identify the element'. how to deal with this kind of scenarios.

    Attching the screenshot also.

  2. Mario
    Mario avatar
    8 posts

    Posted 01 Oct 2012 Link to this post

    Hi Prasanna,

    Thank you for contacting Telerik Support.

    To change the default find expression generated for any specific element you can 'Edit Element' from your Elements Explorer. There is an article explaining how do so in our online documentation under the Find Element subsection. The change you will need to make will be specific to your scenario which I cannot resolve from your screenshot and logic alone.

    In order to help with your issue more specifically, I would need more information. Please provide a copy of your test and access to your application. Also, please provide your failure log and a copy of the DOM at the time of failure. You can export these to file from the failure tab for your test and add them to a .zip archive. 

    Please let me know if this helps.

    the Telerik team
    Are you enjoying Test Studio? We’d appreciate your vote in the ATI automation awards.
    Vote now
Back to Top