Telerik Forums
Test Studio Forum
8 answers
189 views
My RadComboboxItem is composed for two textbock. I need to find an element only by the content of the second textbock.
Name of the first text box is Ident.
Name of the second text box is content.

Change: I have attached the code
Natasha
Top achievements
Rank 1
 answered on 01 Jan 2012
1 answer
112 views

 

In this document we have tried to create an alternative documentation to the official documentation offered by Telerik on the Telerik Test Studio website.
This documentation highlights some features not mentioned in the official documentation like slowing down your test, taking screenshots, and others; it also contains a simplified explanation of some features explained in the official documentation. And also it contains some example on using the tool.

 

I hope you like it

 

Cody
Telerik team
 answered on 29 Dec 2011
12 answers
110 views
Hi ,

I'm trying to automate an Application using testing framework  . The app uses SSL ( url contanis HTTPS :P ) and I seem unable to automate it .

Mainly, I'm encountering two problems.

1) While trying to access the site  if I have  "  settings.Web.EnableSilverlight = true;" in my code at the initialization time I keep finding the "There is a problem with this website's security certificate." message. I've already added the site as a trusted one and even disabled the SSL warings at a registry level . Even if I try to "Continue to the website" I keep finding the same problem .

2) If Silverlight its disabled at initialization time , I'm able to get to the site and see the app , but if i enable silverlight once there and try to recover the app with "
SilverlightApp app = ActiveBrowser.SilverlightApps()[0];
" (as shown in : "http://www.telerik.com/automated-testing-tools/support/documentation/user-guide/write-tests-in-code/silverlight-test-automation/introduction.aspx") I keep getting a timeout exeption even with very very high timeouts set ("Manager.Settings.Web.SilverlightConnectTimeout= (5000000);") 

I've read some limititations in "http://www.telerik.com/automated-testing-tools/support/documentation/user-guide/write-tests-in-code/silverlight-test-automation/introduction.aspx" at the bottom of the page. Are those the limitations for the current release?

Do you have any ideas on how may I proceed or what I might be doing wrong?
Plamen
Telerik team
 answered on 29 Dec 2011
7 answers
126 views
Im using the trial version of Test Studio for automation . I need to record steps of a silverlight application which opens in IE.
But when I try to record , as soon I navigate to the link in IE, i get a runtime error saying ' The application has requested the Runtime to terminate in an unusual way . '. Also after a while the application opens up , but without recording enabled and a pop up comes up saying ' Cannot connect to Silverlight Application . Silverlight recording will not function.'
Please let me know how to resolve this?

Thanks,
Divya
Cody
Telerik team
 answered on 28 Dec 2011
1 answer
72 views
When attempting an upgrade to the latest and greatest Firefox, I receive a message that the Telerik plugin is not compatible and will be disabled.  Just wondering if the latest internal build will resolve this.

Thanks!
Alan
Anthony
Telerik team
 answered on 28 Dec 2011
7 answers
263 views
Hello all.

I'm trying to learn Telerik with following materials and can't perform following example.
http://www.telerik.com/automated-testing-tools/support/documentation/user-guide/code-samples/general/add-messagebox.aspx

I added System.Windows.Forms to the list of Project References but compilation of my test is failed:
MessageBox.tstest.cs: Line 78: (CS0117) 'TestProject1.MessageBox' does not contain a definition for 'Show'
Anthony
Telerik team
 answered on 28 Dec 2011
1 answer
104 views
I try to use following code from example
hhttp://www.telerik.com/automated-testing-tools/support/documentation/user-guide/code-samples/general/access-sql-database.aspx
SqlConnection thisConnection = new SqlConnection("Data Source=.\\sqlexpress; Initial Catalog=myFirstDB; Integrated Security=true;");
   
//We define a new SQL connection with a connection string. 
//The connection string will be different depending on your usecase and the name of the Database, table etc.
//If you don't know how to write a connection string please look for tutorials on the Internet
     
thisConnection.Open();
Log.WriteLine(thisConnection.Database);
//Wrie the name of the database to the Log
SqlCommand thisCommand = thisConnection.CreateCommand();
//Create an SQL command
thisCommand.CommandText = "SELECT test FROM MyFirstTable";
//This is a simple SQL command that will go through all the values in the "test" column from table "MyFirstTable"
//The SQL command will vary depending on your usecase. 
//If you don't know how to write SQL commands please look for tutorials on the Internet                   
SqlDataReader thisReader = thisCommand.ExecuteReader();
//Create SQL reader
while (thisReader.Read()) {
//Loop to go through the entire column
    //Write each value to the log
    //You can implement you own custom logic here
    Log.WriteLine("Value of test column:" + thisReader("test"));
}
thisReader.Close();
//Close Reader
thisConnection.Close();
//Close connection to SQL database
But compilation error occurs:
'thisReader' is a 'variable' but is used like a 'method'
for this statement
Log.WriteLine("Value of test column:" + thisReader("test"));
What I did wrong? Or is there the error?
Stoich
Telerik team
 answered on 28 Dec 2011
1 answer
77 views
Hello,

The web application which I am testing is compatible only with Firefox browser. Is it possible to record the test in firefox browser?

Muthiah
Plamen
Telerik team
 answered on 28 Dec 2011
11 answers
111 views
Hi,

When I get the latest version of our automated test with some files checked out to me, I get an error saying that there are unresolved conflicts. In those files, I've deleted some steps. The files from the source control still have those steps an when I get the latest version because there new files added. How can we resolve this issue? With out reverting my current version. I've already have a new recording.

Thanks.

Cody
Telerik team
 answered on 27 Dec 2011
2 answers
54 views
when first test fails, i want to stop the execution of the all test in the list.
What I need to do for this happen?
Thx.
Natasha
Top achievements
Rank 1
 answered on 27 Dec 2011
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?