Telerik Forums
Test Studio Forum
5 answers
173 views

Hey
I have a problem trying to get one test to use data from the test that calls it.

I think my problem is exactly descriped at
http://www.telerik.com/automated-testing-tools/support/documentation/user-guide/data-driven-testing/multi-level-tests.aspx , under the header: "Data bound Test A calls Test B".

Unfortunately I can’t seem to get Test B to use data from a source attached to Test A. If I don’t attach the data file to Test B but have it attached to test A, the test automatically fails. If I do attach the data file to Test B and have it attached to test A, the test does not automatically fail, but it will run test B ones for each row of Data in the data file before continuing with test A.

The behavior I’m trying to get is that Test A runs multiple times (ones for each row in the data set) and test B uses the data appropriate for that iteration from the same data set.

Any help would be welcome.

Elena
Telerik team
 answered on 19 May 2016
3 answers
91 views
Hi Zeeshan Here!

I'm testing my DataGridApp through Telerik Test Studio.But as my app is designed in angularjs so i'm blocked while executing my test cases.When i execute my test cases after recording in an efficient way,many of the elements becomes unable to find as they have no such static attribute through which they can be detected each time.Kindly guide me about its solution.Its a huge blocker for me since a number of weeks.

Thanks in advance 
Ivaylo
Telerik team
 answered on 18 May 2016
3 answers
132 views

I started with my evaluation of Telerik Test Studio a couple of days ago. I am somewhat familiar with CodedUI.

As a part of my eval, I have a a teststudio test with many CodedSteps. I am able to link it to a TFS TestCase (Associated Automation).

If I wanted to use the parameters from my linked manual TestCase here in each coded step, similar to a TestMethod() DataSource in CodedUI, how do I go about it?

This is what I intend to do:

 [DataSource("Microsoft.VisualStudio.TestTools.DataSource.TestCase", "https://x.visualstudio.com/tfs/DefaultCollection;xx", "11", DataAccessMethod.Sequential)]

 [CodedStep(@"Enter text 'Telerik test studio' in 'LstIbText'")]

public void doSearch()

{

TestContext.DataRow...

..}

 

It doesnt seem to work and throws object reference not found. Furthermore, the CodedStep disappears from .tstest. I added a TestMethod() attribute there and tried as well. But I know it's incorrect.

How do I drive the parameter data from an associated TFS TestCase? Or any insight on any alternate approach to get this parameter data?

 

thanks

 

 

Ivaylo
Telerik team
 answered on 17 May 2016
1 answer
103 views

I am running Test Studio through Jenkins and I want to generate the doc with a script.

Currently, I am doing this by launching test studio and exporting the result manually.

Does Test Studio support the feature to export aiiresult to other formats from terminal?

 

Thanks,

Jack

 

Boyan Boev
Telerik team
 answered on 16 May 2016
1 answer
71 views

I am scheduling Test Studio Runs through Jenkins.

And I use "ArtOfTest.Runner.exe list=TESTLIST" to trigger the runs.

This way, it defaults to run in the background.

Is there a way to run the test with the GUI?

And also, how to configure Test Studio Runner to send of an email notification if the run fails?

 

Thanks,

Jack

Boyan Boev
Telerik team
 answered on 16 May 2016
1 answer
47 views

I am doing UI automation using telerik and facing problem that while running , link is not opening in Internet Explorer.

It got resolved after restarting the system but occurs again after sometime.

If anyone also facing same issue or knows the solution please tell me.

Boyan Boev
Telerik team
 answered on 13 May 2016
1 answer
117 views

Hi there,

I'am looking into creating automated ui tests using test studio. currently I need to set some command line parameters when starting the application

When I looked into the API reference, I noticed that I can set these using Manager.LaunchNewApplication Method (String,String[]) while launching the application.

Can you provide some example to me how the args (second parameter) should look alike?

my parameters:

-x true

-b I012345

 

Best,

Stefan

Elena
Telerik team
 answered on 12 May 2016
5 answers
109 views

My team and I are new to Test Studio. I'm sure this must be easy and we haven't worked it out yet...

We are a team of several testers working on the related projects and we want to contribute Web tests to a shared suite of tests in Test Studio, so that we can all access that suite of tests as it grows, and run those tests, edit those tests etc even if it wasn't us who created them. i.e. it's a team project rather than just a solo tester project. We may also add Manual tests, exploratory tests etc.

How do we do this please? We've got two users in different parts of the US who don;t know how to share tests but they definitely need to work on them together. I've looked at the TS documentation and I couldn't find any clues.

Many thanks,

Simon Rigler

 

 

 

Elena
Telerik team
 answered on 11 May 2016
1 answer
85 views

Hello, 

TS Element Explorer is a useful feature to follow the page object pattern, however, it seems to be be oriented towards web pages in the web app. What if I have to write tests for a web app which has, e.g., navigation menu which is constant through the app pages?

Taken that I have the main page, the about page, the contacts page, etc. and on each of them a nav bar with items: MainPageLink, AboutPageLink, ContactsPageLink, etc. I can't see how to avoid mapping all the link for each page, instead once specifying an object for that menu with its links, and calling its instance on each of the pages under testing

Elena
Telerik team
 answered on 10 May 2016
3 answers
61 views

Is it possible to ignore a step when a test is run in the context of a test LIST?

Boyan Boev
Telerik team
 answered on 09 May 2016
Narrow your results
Selected tags
Tags
+? more
Top users last month
Edmond
Top achievements
Rank 1
Iron
fabrizio
Top achievements
Rank 2
Iron
Veteran
RobMarz
Top achievements
Rank 2
Iron
Fakhrul
Top achievements
Rank 1
Iron
Tejas
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Edmond
Top achievements
Rank 1
Iron
fabrizio
Top achievements
Rank 2
Iron
Veteran
RobMarz
Top achievements
Rank 2
Iron
Fakhrul
Top achievements
Rank 1
Iron
Tejas
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?