Posts

Showing posts with the label recodring

Handing iframes with Telerik Test studio

Handing iframes with T Telerik Testing Framework Adding content or data to ifrmas is not that hard when using selenium or CoadedUI. All you have to provide is the Xpath of the iframe, but in Telerik test studio its kinda tricky, since it doesn't work with the simple Xpath.  You always have to record that step and the step fails every time you convert it to a C# code. SO following is how you handle a iframe in Telerik test studio with C# code Its advised to use Visual studio when codding with Telerik test studio 1. First create a object/ variable for iframe                                                   ArtOfTest.WebAii.Core.Browser t1_frame = ActiveBrowser.Frames[0]; 2. Locate the text editor's Xpath inside the iframe to a another object Element TextEditor = t1_frame.Find.ByXPath("/html/body"); 3. Use Set...