Posts

Showing posts from November, 2016

Drag and Drop with Telerik Testing Framework

Posting a blog after a long time, so I'm not gonna add a huge description here. Most of the user friendly web applications support drag and drop commands/actions and even though lot of test automation IDEs support drag and drop its dosent work most of the time, Trust me I have tired. So on today's post we will discuss how to perform this simple task using Telerik Test studio Step 1 First you have to identify which are the two elements you're going to use for this operation Eg: I'm using 2 HTML div Elements ids: dragitem, droptiem Since you're using a code first method first you have to identify the 2 elements in the web browser HtmlDiv Dragitemspan = ActiveBrowser.Find.ById("dragitem").As<HtmlDiv>(); HtmlDiv dropitemspan= myManager.ActiveBrowser.Find.ById("dropitem").As<HtmlDiv>(); This is the vary basic method of identifying an element in Telerik test studio, you could use page object class or a pag...