This is a migrated thread and some comments may be shown as answers.

how to identify the elements which change dynamically

1 Answer 93 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Prasanna
Top achievements
Rank 1
Prasanna asked on 27 Sep 2012, 12:58 PM
- 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.

1 Answer, 1 is accepted

Sort by
0
Mario
Telerik team
answered on 01 Oct 2012, 10:55 PM
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.

Regards,
Mario
the Telerik team
Are you enjoying Test Studio? We’d appreciate your vote in the ATI automation awards.
Vote now
Tags
General Discussions
Asked by
Prasanna
Top achievements
Rank 1
Answers by
Mario
Telerik team
Share this question
or