Telerik Forums
Test Studio Forum
3 answers
106 views

Hi,

I just went through the link. Details are beautifully given.

http://www.telerik.com/campaigns/teststudio/aw/5-hidden-selenium-costs

However i want to know more about Parallel execution using Scheduling server.

So basic question is can i integrate it with Teamcity / TFS.

I meant, when a build is triggered through Teamcity, can i make a call to scheduling server which will distribute and execute to multiple execution machines?

What i am looking is , nowadays everybody is looking at Continuous integration and i am thinking of leveraging this Scheduling server for CI.

 Kindly let me know

Thanks,

VVP

Cody
Telerik team
 answered on 21 Oct 2015
7 answers
155 views
We use CruiseControl with Nant for automated integration and we want to add our TS functional test results into CruiseControl so any failures are immediately visible. The current thinking is that we have two options:

  1. 1) We use the QA scheduler to handle the test execution and show the results via a new project in CruiseControl
  2. 2) We use CruiseControl to execute the tests and show the results via CruiseControl

For 1) how do we configure the scheduled tests so that they automatically create .trx files? Am I right in thinking we can then simply point to a directory which contains the .trx files from within the ccnet.config file and the results will be shown in CruiseControl?

For 2) do you have a how to guide on how to configure CruiseControl so that it can excecute function tests and report the results?

Thanks,

Steve

Ivaylo
Telerik team
 answered on 21 Oct 2015
9 answers
111 views

Hi all,

Is it possible to pass multiple tests to ArtofTest.Runner for execution.

I know with testlist, we can accomplish this. But our testing environment is rather dynamic , where tests needs to be selected dynamically. So I have a set of tests, from which some needs to be selected randomly for execution.

You can say like dynamic workflow.

So there are two ways we can accomplish this.

1) Passing multiple tests as arguments to ArtofTest.Runner.

2) Editing a list during runtime by adding needed tests.. ( If list is in xml format, then easy.)

 

Thanks,

VVP

Cody
Telerik team
 answered on 19 Oct 2015
1 answer
124 views

Hey Guys,

After being very happy with your Framework for my studies, I decided to show it to my fellow workers and my boss at work. They gave me two days to generate some of the tests we need for our project, in order to decide if to purchase the TS solution or stay with Microsoft's standard Framework.

 So far, I am making good progress, but there is one problem I am not able to solve.

In General

I have got a grid view with some comboboxes inside. The comboboxes are not explicitly created by Xaml code, but instead are generated automatically by some Framework behind by providing the Framework with a table and the names of the ID and display columns.

The Good side

TS does not give a WindowsME about that... It finds the Element, and can select items.

The Problem
TS displays the following expression in the rep:

XamlTag=datagridcontrol,name=dgrMelder,|,XamlPath=/grid[0]/border[0]/adornerdecorator[name=PART_DragDropAdornerDecorator]/tableviewscrollviewer[name=PART_ScrollViewer]/grid[0]/grid[0]/synchronizedscrollviewer[name=fixedFooterScrollViewer]/grid[0]/scrollcontentpresenter[0]/tableviewheaderfooterpanel[0]/headerfooteritem[0]/gridtoolbarinsertionrowsteuermatrix[0]/border[0]/contentpresenter[0]/stackpanel[0]/insertionrow[0]/grid[name=rootGrid]/fixedcellpanel[name=PART_CellsHost]/scrollingcellsdecorator[0]/virtualizingfixedcellsubpanel[0]/insertioncell[1]/grid[0]/border[name=rootBorder]/grid[0]/cellcontentpresenter[name=PART_CellContentPresenter]/grid[0]/innercellcontentpresenter[1]/comboboxex[0]

When I try to find the Element via FindByExpression it fails.

I tried:

FrameworkElement cmbb = WpfApplication.MainWindow.Find.ByExpression(new XamlFindExpression("XamlTag=datagridcontrol,name=dgrMelder,|,XamlPath=/grid[0]/border[0]/adornerdecorator[name=PART_DragDropAdornerDecorator]/tableviewscrollviewer[name=PART_ScrollViewer]/grid[0]/grid[0]/synchronizedscrollviewer[name=fixedFooterScrollViewer]/grid[0]/scrollcontentpresenter[0]/tableviewheaderfooterpanel[0]/headerfooteritem[0]/gridtoolbarinsertionrowsteuermatrix[0]/border[0]/contentpresenter[0]/stackpanel[0]/insertionrow[0]/grid[name=rootGrid]/fixedcellpanel[name=PART_CellsHost]/scrollingcellsdecorator[0]/virtualizingfixedcellsubpanel[0]/insertioncell[1]/grid[0]/border[name=rootBorder]/grid[0]/cellcontentpresenter[name=PART_CellContentPresenter]/grid[0]/innercellcontentpresenter[1]/comboboxex[0]")).As<ComboBox>();

 AND

FrameworkElement dgrMelder = WpfApplication.MainWindow.Find.ByName<DataGrid>("dgrMelder");
FrameworkElement cmbb = WpfApplication.MainWindow.Find.ByExpression(dgrMelder, new XamlFindExpression("xamlpath=/grid[0]/border[0]/adornerdecorator[name=PART_DragDropAdornerDecorator]/tableviewscrollviewer[name=PART_ScrollViewer]/grid[0]/grid[0]/synchronizedscrollviewer[name=fixedFooterScrollViewer]/grid[0]/scrollcontentpresenter[0]/tableviewheaderfooterpanel[0]/headerfooteritem[0]/gridtoolbarinsertionrowsteuermatrix[0]/border[0]/contentpresenter[0]/stackpanel[0]/insertionrow[0]/grid[name=rootGrid]/fixedcellpanel[name=PART_CellsHost]/scrollingcellsdecorator[0]/virtualizingfixedcellsubpanel[0]/insertioncell[1]/grid[0]/border[name=rootBorder]/grid[0]/cellcontentpresenter[name=PART_CellContentPresenter]/grid[0]/innercellcontentpresenter[1]/comboboxex[0]"));

 

I also tried to use verbatim stringsm just for the case. But it didn't change anything.

Can you help me?

Stephan

Boyan Boev
Telerik team
 answered on 19 Oct 2015
1 answer
86 views

I am given a long term project to determine the best method using telerik to do regression testing on all our web pages, the problem is that not all pages headers and page design are the same. Is there a better way using telerik to validate ever changing context? One problem I came across is that a script I created worked on one page but the header locations changed on the next page so I could not have reused the code. Is there a better solution? The problem is that the content changes slightly as well as the location of the elements, the forum had some good ideas already posted but wondering if have any better means to perform regression testing on all webpages that has ever changing content
Thank you for looking into this
 Randell Balkaran
Telerik User.  

 

Cody
Telerik team
 answered on 16 Oct 2015
3 answers
128 views

Hi,

I have Test Studio Ultimate version 2015.2.723.0 installed on Windows 7 Ultimate with IE 11 (version 11.0.9600.17959) and Chrome. I have one parent test bind to xml data and many child test with InheritParentDataSource enabled. Now if I run this test and in a random child test it freezes IE browser and I can't do anything on the page (click to open drop down menu, click on link, etc). However when I refresh the page, it unfreezes the page and everything is working again. This happens at random child test and it is not bound to a specific one. I tried this also in Chrome and it happens that Chrome works fine, but randomly freezes as well. It's quite annoying and frustrating as this happens as well as when I want to record certain steps. For example when I choose highlighter, it doesn't display on the page the red border but register the mouse click.

Any idea what could be wrong?

BR, Jurij

Ivaylo
Telerik team
 answered on 14 Oct 2015
6 answers
82 views

Hi,

 I have faced some execution problem from quite a sometime. While executing the suite, ArtOfTest.Runner.exe has been stopped and subsequently execution of the suite has been stopped. Previously this error occurs when our test suite contains around 250 test scripts, so to solve the problem we partitioned it into 2 different suites, Each contains around 100 scripts. But the same problem still persist for 100 scripts as well. Please provide me the appropriate solution for the above problem ASAP.

I have attached the screenshot regarding the above problem.

Ivaylo
Telerik team
 answered on 14 Oct 2015
5 answers
165 views
I have an application with a dashboard that has a search filter.  After performing a search, a loading image (gif) appears until the search is complete and the dashboard is updated with the correct results.  I did not want the next step (opening a record) to execute until the loading image is gone because it would select from the previous dashboard records - so I added a "Wait for ExistsNot" step. I also couldn't add a timed "wait" step because the time it took to retrieve the search results varied too much.  However, with the "Wait for ExistsNot" step, it keeps failing with the message "Element was 'found'. Criteria: Element 'ExistsNot'.". I thought the whole point of this step was to wait until it was not found. What am I doing wrong?

Other settings: CheckInterval=50, ExistsNot=checked, IsWaitOnly=checked, SupportsWait=checked, Timeout=20000, UseStepWaitOnElements=checked.
Bhawna
Top achievements
Rank 1
 answered on 14 Oct 2015
1 answer
99 views

Hi, discovered that Telerik Testing studio closes when i'm trying to edit element in live version.

 

My steps:

1. Added an element to elements explorer when recordin test in live.

2. Set compare mode to 'RelativePathQueryNoFragment' for parent/page node element

3. Right-click on added child node element -> Edit element

4. Click 'Find in the live version'

5. New Browser -> Browse & Navigate

6. New instance of Chrome browser starts and Test studio closes. Browser remains open.

 

This issue disappeared when i changed compare mode to ''Base Url'.

Boyan Boev
Telerik team
 answered on 12 Oct 2015
13 answers
227 views

Hi All,

 I am trying to find out a way to skip a telerik test.I found some available asserts in Artoftest.common.Unittesting . But i couldn't find any assert for ignore/skip a test step.

Can you let me know how can we skip a test using assert.

I know to skip a test using condition, i am looking for a way so that like pass/fail, skipped tests numbers also will shown in the custom report/ logfile as skipped / Not run.

Strangely, in the execution extension interface provided by telerik team, i found a Notrunsteps parameter. 

Currently skipped tests are shown as passed.

 

Thanks,

VVP

VVP
Top achievements
Rank 2
 answered on 10 Oct 2015
Narrow your results
Selected tags
Tags
+? more
Top users last month
Rob
Top achievements
Rank 3
Iron
Iron
Iron
Atul
Top achievements
Rank 1
Iron
Iron
Iron
Alexander
Top achievements
Rank 1
Veteran
Iron
Serkan
Top achievements
Rank 1
Iron
Shawn
Top achievements
Rank 1
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Rob
Top achievements
Rank 3
Iron
Iron
Iron
Atul
Top achievements
Rank 1
Iron
Iron
Iron
Alexander
Top achievements
Rank 1
Veteran
Iron
Serkan
Top achievements
Rank 1
Iron
Shawn
Top achievements
Rank 1
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?