Telerik Forums
Test Studio Forum
3 answers
135 views
Hi All

I have been reading through the documentation, and I was wondering if they were an example of a mix of code and recorded step where the test initially sets up the test data needed for the test, run's the recorded steps that have been created, then a coded step which tear down's the data used.

I know in other web automation tools you would have something let the following

public void initalSetup()
{
    // The set up would be here
}

public void test()
{
    // The test would be here
}


public void tearDown()
{
    // The tear down would be here
}

I know that this page exists http://docs.telerik.com/teststudio/user-guide/code-samples/general/execute-custom-scripts-before-after-test.aspx but I found it a bit confusing

Any help would be great

Thanks

Chris
Velin Koychev
Telerik team
 answered on 11 Feb 2014
1 answer
120 views
Hi, I've been working with the Verify Sort Order in an HTML Table C# example posted at http://docs.telerik.com/teststudio/user-guide/code-samples/html/verify-sort-order.aspx and have seen some strange behavior that I'm interested in learning more about, it's probably something I'm not doing correctly. Using the example at the posted link, I inserted a step to sort the results by Order ID descending which should fail the test when the sort order check is performed, since it's written to check for Order ID ascending. However, the test is still successful even though the browser window shows the list sorted by Order ID descending (11077, 11076, 10075, etc). A check of the results log shows that the verification step is checking against the original ascending sort order (10248, 10249, 10250, etc) which seems incorrect to me, the string list is built after the sort is applied to the table so the descending Order ID should dictate the Order IDs that populate the string list?

I'm also wondering how someone would apply a sort order check to the date column - would it be a simple matter of changing the column that you're building the string list from (in the case of the example, changing HtmlTableCell cell = row.Cells[0]; to HtmlTableCell cell = row.Cells[3]; and replacing the string comparison code with a date compare?
Velin Koychev
Telerik team
 answered on 11 Feb 2014
2 answers
127 views
Hi,

I´m testing a silverlight application.

I have to expand a tree, and used ActiveBrowser.RefreshDomTree();, but it didn't work.
So, I've added [objectName]..Refresh();, that didn't work as well...

The only way to put this working was adding, before these "refreshes", a System.Threading.Thread.Sleep(500);.

So... my question is:

1. what's the main difference between ActiveBrowser.RefreshDomTree(); and [objectName]..Refresh(); ?
2. what kind of implications in these "refreshes", System.Threading.Thread.Sleep(500); have?


Best regards,

Paulo
Paulo
Top achievements
Rank 2
 answered on 07 Feb 2014
1 answer
58 views
Hi,

How can I manage the remote execution requests?

With an automation team, for example 3 elements, if each element set a different Testlist to run on the same Execution Server, all the requests will be queued by the Scheduling service (I'm guessing) so that whenever one Testlist ends the next one starts.

How can I see the scheduling queue and for example abort pending executions?

BR,
Luis

Cody
Telerik team
 answered on 06 Feb 2014
9 answers
111 views
When I record the double click on a grid works, but does not work on playback. Also every time I try to modify the code to put custom code in, the script will not run, even if I remove the line. On playback it opens the browser and closes it immediately and I have to create a brand new test.

I have also tried to simulate a real click and that doesn't work either.

Any other ideas?
Velin Koychev
Telerik team
 answered on 05 Feb 2014
3 answers
107 views
Do your testing tool support https protocol and silverlight in load testing?
Boyan Boev
Telerik team
 answered on 05 Feb 2014
3 answers
62 views
Hi,

Is there anything like data bank in Test Studio?
Data Bank I mean here is a set of data for automated testing tool to iterate several times with different input that setup in the data bank.

Thanks.
Boyan Boev
Telerik team
 answered on 05 Feb 2014
1 answer
46 views
Has anyone else noticed that the StopTestLIstOnFailure Property no longer stops TestLists from continuing execution? If so, how have you worked around the issue?
Boyan Boev
Telerik team
 answered on 04 Feb 2014
1 answer
54 views
can i run load tests through windows command prompt? I noticed i am able to run web tests through the console but when i run a load test it just doesnt do anything and gives me a normal prompt as if nothing happend. I have setup everything and everything runs well via the test studio. Can you tell me if this option of running through command is supported?
Boyan Boev
Telerik team
 answered on 03 Feb 2014
2 answers
90 views
When I try to calibrate Chrome I get the following message.  "You are currently logged in with your google account so chrome will overwrite the calibration.  Please refer to the calibration documentation for details"  I am not logged into my google account and I don't see anything in the calibration documentation that covers this issue.

Thanks, Jeff
Boyan Boev
Telerik team
 answered on 03 Feb 2014
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?