Posts

Showing posts from January, 2017

Sheduling tests - Running Tests From the Command line | Telerik Testing Framework

Image
Telerik test studio   Has its own test scheduler so you can schedule tests from the Telerik IDE itself, but what if you're using there Free framework? Telerik Testing Framework Scheduling can be done using couple of methods, If you have Team foundation server  (TFS) you can create a CI module for this can if you have Microsoft Test Manager you can schedule and run the tests. If you don't have any of those tools but if you still want to schedule and run your tests this is a very simple method you can use. Just follow the below steps Step 1: Add a test settings file. Right click on your visual studio solution select Add > New Item Select Test settings Tab on the right and click on  Test Settings File to your project [Figure 1] Figure 1 No need to add or change any properties in the Test Settings file at the moment, just close it Build your solution Step 2 Create a text file, you can use notepad or Notepad++ for this task Copy the b...

Handling dynamic IDs from Telerik framework

Usually in automation there is a golden rule not to automate changing requirements that is because if you do that  the ROI that you are gaining from your automation suite is very little. but what if your elements in your automation application is changing?  Are you not going to automate it? The answer is NO!! If you are automating an application with dynamic ID generation look very closely at the changing IDs. If you check one element from different browsers you will see that there is always a static part  for the IDs but a dynamic part is added to the static ID to generate an unique ID to the element. This could happen if you're automating an application which uses a mechanism to generate webpages like Episever, Sitecore, Crownpeak, Kentico. In all these systems there is a underlined webpage generation method so this might generate elements with dynamic IDs Example: Imagine your login button has a dynamic ID :  relateLoginbtn_Ctl012 if yo...