Telerik Forums
Test Studio Forum
1 answer
76 views
I have single trivial test which tries to navigate somewhere and executes 4 other steps.
I made it data bound so it does it for 3 different URLs. One of the navigations fails (bad URL).

When this test is part of the test list and it is run with the list, then its result looks quite clear: 14 out of 15 passed. Test has 5 steps, was run three times, so 15 total. In one case one step failed, so 14/15 looks right.

Now when I run the same test using Quick Execution it again executes 15 steps for exactly the same reason, but after that the status on top shows 5/5 passed! It only shows the last iteration, not all of them. This is VERY bad because unless sumebody is careful enough to open test run log and search for the word "Fail" there is no way to tell that one of the iterations actually failed.

Please let me know if I missed something.

Thank you!
Konstantin
Plamen
Telerik team
 answered on 15 Mar 2013
1 answer
67 views
While this topic seems to be discussed many times, I still cannot quite grasp it. I care about the scenario when test A calls test B and both of them are data bound. When those tests use separate data sources it works as expected. But if I tick "Inherit parent Data Source" for test B, then.. I don't understand what is going on.

Actual scenario I'm trying to achieve is - test B normally has its own data source which supposed to be used when test B is run standalone, BUT when test B is invoked as part of a bigger test I want it to inherit parent's data source and use that one instead. HOW test A datasource should look like so that it serves both A and B in this case?

Is there decent downloadable example for this scenario?

Thank you!
Konstantin
Boyan Boev
Telerik team
 answered on 15 Mar 2013
1 answer
43 views
Is it planned for future release to implement "bunch of steps" or something similar?
I want to group several steps into logical groups.
As workaround it could be used LOOP steps with 1 count and text description of the steps meaning but it could be more convenient to be able to group several steps into group with some logical operation.
Plamen
Telerik team
 answered on 14 Mar 2013
1 answer
63 views
Hello

My test step 'Navigate to' fails because a redirection occurs once the URL is opened, to a URL which includes a query string.

How can I prevent this issue occuring? it happens quite frequently on the website i'm working with.

Regards


Hamish
Boyan Boev
Telerik team
 answered on 14 Mar 2013
1 answer
140 views
Hi all,

in test recording, we do a double click (in a RadGridView row).
But Test Studio records two left clicks (single clicks).

What went wrong ? Can we adjust the time period that switches between a double click and two single clicks ?

Best regards
Oliver
Boyan Boev
Telerik team
 answered on 14 Mar 2013
1 answer
38 views
Hi Folks,

If we inherit from RadControls, can we be safe that TestStudio will identify our controls the same way ?
Or is it possible that we get into problems with TestStudio ?

In other words, does TestStudio do any class name matches, i.e. if (class name == RadGridView) do this and that ?

Best regards
Oliver
Boyan Boev
Telerik team
 answered on 13 Mar 2013
3 answers
186 views
We are using the command line tool ArtOfTest.Runner within Jenkins CI to run our tests. It would be great to have the results published to scheduling server and/or by mail. The ArtOfTest.Runner holds the arguments for this scenario:

ArtOfTest.Runner list=Tests\TestLists\BasicTestList.aiilist out=Results serverPublish=true notifyOption=1 mails="mytestresults@mail.com"

But after executing the test we get the error "Unable to find TFS server info". Since we do not specify a TFS server in the project but a scheduling server, this error came unexpected.

The following output from test execution shows our problem:
C:\Temp\test>ArtOfTest.Runner list=Tests\TestLists\BasicTestList.aiilist out=Results serverPublish=true notifyOption=1 mails="mytestresults@mail.com"
Executing test: 'BasicTest'
Navigate to : 'http://www.google.de/'
Enter text 'google' in 'GbqfqText'
Keyboard (KeyPress) - Eingabetaste (1 times) on 'GsrBodyTag'
Verify 'TextContent' 'Contains' 'translate..de/' on 'TranslateDeCiteTag'
Wait for '250' msec.
Result saved with path: 'Results\BasicTestList 130068607503594562.aiiresult'.
PublishRunResult: Unable to find TFS server info


How can we publish the results via command line?
Ivaylo
Telerik team
 answered on 13 Mar 2013
18 answers
882 views
Hi Telerik team!

I'm evaluating WebUI TestStudio and have several questions:
How I could create common global methods for all my tests (not as script step for specific test)?
Is it possible to make all project tests not in keyword steps but strictly in code?
Does TestStudio support global project variables or built-in data store that could be used for all tests?
Is there some ability to collaborate between tests, pass arguments to them and run set of tests without using test lists?
Could I make my login, logout, verification, navigate, etc tests as separated functionality that couldn't be run as tests?
Is it possible to develop custom framework for project using resources of TestStudio?

I'm looking forward for your feedbacks.
Thanks.
Boyan Boev
Telerik team
 answered on 13 Mar 2013
7 answers
334 views
As far as I know Test Studio supports parallel test execution. I wonder if there is a way to make tests execute on several test controllers (or several browser instances) in parallel if there are dependencies between tests?

For instance, test 2 can only execute after test 1 successfully finished. And test 4 can only run after test 3. But 1 and 3 can very well run in parallel. And all tests can run only after test zero finishes its very basic initialization of the system.

Can I specify dependencies between tests so that parallel execution obeys those?

Thank you!
Konstantin
Cody
Telerik team
 answered on 12 Mar 2013
1 answer
77 views
SqlCommand thisCommand = thisConnection.CreateCommand();
            
thisCommand.CommandText = "select distinct claimid,claimno,  claimdocumenttypeid from ClaimDocument cd1 inner join Claim c on c.ID = cd1.ClaimID where cd1.RecordStatus = 1 and cd1.claimdocumenttypeid = 1 and c.claimno = Data("Claimno");
I want to compare the current data from the datasource (data binding) to a SQl query in my coded step. How do i refer to the data in the datasource. For eg: I bound SQL Database Table Claim and it has a column name 'Claimno'. when I write a SQL query  to get me a record from a different table ClaimDocument, I want to make sure that Table Claim's claimno is equal to Table claimdetail's claimno. Following is the code I have written, but i get error on execution. Please help


 

 

 

Cody
Telerik team
 answered on 12 Mar 2013
Narrow your results
Selected tags
Tags
+? more
Top users last month
Henri
Top achievements
Rank 2
Iron
Iron
Iron
SUNIL
Top achievements
Rank 2
Iron
Iron
Iron
David
Top achievements
Rank 1
Jackson
Top achievements
Rank 1
Iron
Iron
Tim
Top achievements
Rank 3
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Henri
Top achievements
Rank 2
Iron
Iron
Iron
SUNIL
Top achievements
Rank 2
Iron
Iron
Iron
David
Top achievements
Rank 1
Jackson
Top achievements
Rank 1
Iron
Iron
Tim
Top achievements
Rank 3
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?