Telerik Forums
Testing Framework Forum
1 answer
229 views

I have a framework used across multiple teams in my project. We reference the same Test Studio/ TelerikFramework version (2015.1.319.0).

We have a new  machine to setup, and it needs to reflect the same version.

Since Test Framework has upgraded, we are unable to use the older version.

Upgrading would mean changes made across all the teams and build agents.

So could you direct me on how I could install version 2015.1.319.0 specifically?

Ivaylo
Telerik team
 answered on 08 Jun 2015
2 answers
177 views

i want to find an element based on its hierarchy. so i am using the AddHierarchyConstraint method of HtmlFindExpression as follows:

 

HtmlFindExpression oldExpr = new HtmlFindExpression("TagName=table" class ="xmlMenuCellSpacing");

HtmlFindExpression expr = new HtmlFindExpression("TagName=td");
expr.AddHierarchyConstraint(new HierarchyConstraint(new HtmlFindExpression("TagName=a", "TextContent="+item.ToClauseString()), 1));

oldExpr .AppendChain(expr);

 

But when i am appending the hierarchy constraints exprression to some old expression chain. The new expression lost the hierarchy constraint after AppendChain() call. I need a long chain of expression with hierarchy constraints .

Should it be a bug or you only allow hierarchy constraints in a single expression not in a chained expression.  

I have attached the scenario i am working on . There i need to find a cell(td) which have <a> anchor tag with text content as "Layout" whose parent(grandparent or so on..) is a cell (td) which have <a> anchor tag with text content as "Window" which have a parent (grant parent or so on..) is a table (table) with class =xmlMenuCellSpacing.

Please let me know what are the possible way of achieving the above said scenario.

Ivaylo
Telerik team
 answered on 05 Jun 2015
1 answer
134 views

I'm writing custom classes to handle common test steps and was wondering how to utilize the ArtOfTest logging so that when a code step calls one of the classes, the class can log messages to the test log so that all the log information is available.

 

I've tried adding Manager and setting the createlog to true - but I'm not seeing log output to the test log.

 

 

 

Ivaylo
Telerik team
 answered on 03 Jun 2015
5 answers
270 views
Hi
I need an offline installer for the Testing Framework. The online installer redirects me to http://www.telerik.com/offline-trial-download. But there is no link to the testing framework. 

Am I missing something?

Thx!

with best regards,
Nicolas
Cody
Telerik team
 answered on 22 May 2015
1 answer
98 views
Hi,
We are using Telerik testing framework integrated with visual studio. 
We are trying to capture "Text Block" object in our WPF application by giving its valid  property name,but failed to recognize it.
Could you provide any solution to recognize the Text Block object.
Please find the attach file for more info.

Thanks in advance.
Boyan Boev
Telerik team
 answered on 20 May 2015
1 answer
83 views
Hi,
We are using Telerik automation framework integrated with visual studio. 
We are trying to capture "Text Block" in our WPF application by giving its property name,but failed to recognize it.
Could you provide any solution to recognize the Text Block object. Thanks in advance.
 
Boyan Boev
Telerik team
 answered on 20 May 2015
1 answer
120 views

<html>
   <head></head>
   <body>
<iframe id="casesFrame" width="99%" height="418" frameborder="0" src="../cases/main_init" name="casesFrame" style="">
         <html class=" ext-strict x-viewport">
            <head></head>
            <body id="ext-gen3" class=" ext-gecko ext-gecko3 x-border-layout-ct">
               <ul id="ext-gen37" class="x-tree-root-ct x-tree-arrows">
                  <li class="x-tree-node">
                     <a class="x-tree-node-anchor" tabindex="1" href="" hidefocus="on">
                        <span unselectable="on">New case</span>
                     </a>

                  </li>
               </ul>
            </body>
         </html>
      </iframe>
   </body>
</html>

 

I have the following structure in my page, but I get error while performing an event "Click" link "New Case".

I am using the code following in "Test Studio":

Browser casesFrame = Manager.ActiveBrowser.Frames.ById ("casesFrame");
HtmlAnchor NewCase = casesFrame.Find.ByExpression <HtmlAnchor> ("InnerText = ~ New case", "tagname = a");
Assert.IsNotNull (NewCase);
newCase.Click (); //Does not perform the event â€‹

 

Help Please.

Boyan Boev
Telerik team
 answered on 18 May 2015
3 answers
130 views

Hi,

 We are using Telerik automation framework integrated with visual studio. Even though we are giving correct property name for text block, We are not getting text block content for WPF application  We need to recognize text block. Could you please give the solution related to this requirement.

Boyan Boev
Telerik team
 answered on 17 May 2015
1 answer
86 views

I am using NUnit with a variety of categories that work fine with Nunit_Console. i.e.   /include:Legacy /exclude:Slow

 

How do I set those options in the Telerik Test runner?

Konstantin Petkov
Telerik team
 answered on 15 May 2015
2 answers
127 views
Hi,
We are using WebAii for Silverlight Automation testing
In our XAML we have a button that when clicked creates a form with a text box (System.Windows.Controls.TextBox) that is given focus with a default value that is selected.

Given we have found the element (Xaml.Get<ArtOfTest.WebAii.Silverlight.UI.TextBox>("Name=InputTextBox"); 
Is there a way we can test to check that the element
1) Has Focus
2) Has text in it that is selected


Thanks.
Luke
Top achievements
Rank 1
 answered on 13 May 2015
Narrow your results
Selected tags
Tags
+? more
Top users last month
Boardy
Top achievements
Rank 2
Veteran
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
ivory
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
ClausDC
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Boardy
Top achievements
Rank 2
Veteran
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
ivory
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
ClausDC
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?