Telerik Forums
Test Studio Forum
1 answer
101 views
Hello,

I'm new in automation and I'm having troubles with something. I hope someone can help me out here.

I'm having troubles while trying to verify the content of a row after creating it. My issue is that after creating a new "thing" the grid generates a row with a dinamic ID and I can't verify if the "thing" was created or not because I don't know how to locate the row that was created.

Thanks in advance,
Ignacio



Plamen
Telerik team
 answered on 22 Aug 2012
3 answers
48 views
Hi Telerik Team,

I use the program mstest to execute the Telerik-test cases for WPF using Cruisecontroll. I need a way to extract the test results after the execution as PDF. I know that the results are the trx Files "testresult.trx".
My question is: how can I convert trx files in pdf??? do you know how?

With kind regards
Mostafa
Mostafa
Top achievements
Rank 2
 answered on 22 Aug 2012
13 answers
290 views
Hi,

I have Kendo grid for my Inbox message page.  The look is similar to gmail: Inbox (10) and "10 is the total number of message in my Inbox"

What I want to test is extract the number of message in my Inbox and verify with the number displaying in my label.

My first step:  KendoGridExtract 'Data' item count into DataBlindVariable $(GridMessagesDiv)  --> this line, I can see that the count is "10"

How do I use that count to verify part of my label?

When I record to verify the label; the TextContent displayed as "Inbox (10)"  

Can I do it without coding?

Thanks,
Mindy 
Mindy
Top achievements
Rank 1
 answered on 21 Aug 2012
2 answers
73 views
Hello,

In the project settings, I changed the CompareMode from FullPathAndQuery to RelativePathOnly.  I then updated all Elements and resumed recording.  The new recorded steps revert back to recording under FullPathAndQuery, which then creates duplicate Elements.  How can I force new recording to follow what I selected for CompareMode of RelativePathOnly?

FWIW, the URL I am using follows the format 'http://test.abc.com/policy/doit.aspx'.  Does this issue happen because the URL is not 'http://www.abc.com/policy/doit.aspx' instead?

Thanks!
Alan
Alan
Top achievements
Rank 2
 answered on 20 Aug 2012
2 answers
97 views
Is there a way to update all elements at one time rather than going in individually to make an update?  We introduced a new tag that significantly helps the identification of an element.  I want to remove 'id' from the find logic of any element that has it and replace it with 'fieldRef'.

Thanks!
Alan
Top achievements
Rank 2
 answered on 20 Aug 2012
4 answers
100 views
We recently purchased a Test Studio license and installed the latest version (2012.1.719.0). There are some scripts that i had created and successfully ran in the older version during my trial version but now i am not able to run them. I am getting the below error in the log

'8/15/2012 2:47:55 PM' - System.Data.SqlClient.SqlException (0x80131904): Incorrect syntax near ')'.
   at System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection, Action`1 wrapCloseInAction)
   at System.Data.SqlClient.SqlInternalConnection.OnError(SqlException exception, Boolean breakConnection, Action`1 wrapCloseInAction)
   at System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj, Boolean callerHasConnectionLock, Boolean asyncClose)
   at System.Data.SqlClient.TdsParser.TryRun(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj, Boolean& dataReady)
   at System.Data.SqlClient.SqlDataReader.TryConsumeMetaData()
   at System.Data.SqlClient.SqlDataReader.get_MetaData()
   at System.Data.SqlClient.SqlCommand.FinishExecuteReader(SqlDataReader ds, RunBehavior runBehavior, String resetOptionsString)
   at System.Data.SqlClient.SqlCommand.RunExecuteReaderTds(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, Boolean async, Int32 timeout, Task& task, Boolean asyncWrite)
   at System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method, TaskCompletionSource`1 completion, Int32 timeout, Task& task, Boolean asyncWrite)
   at System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method)
   at System.Data.SqlClient.SqlCommand.ExecuteReader(CommandBehavior behavior, String method)
   at System.Data.SqlClient.SqlCommand.ExecuteDbDataReader(CommandBehavior behavior)
   at System.Data.Common.DbCommand.System.Data.IDbCommand.ExecuteReader(CommandBehavior behavior)
   at System.Data.Common.DbDataAdapter.FillInternal(DataSet dataset, DataTable[] datatables, Int32 startRecord, Int32 maxRecords, String srcTable, IDbCommand command, CommandBehavior behavior)
   at System.Data.Common.DbDataAdapter.Fill(DataTable[] dataTables, Int32 startRecord, Int32 maxRecords, IDbCommand command, CommandBehavior behavior)
   at System.Data.Common.DbDataAdapter.Fill(DataTable dataTable)
   at ArtOfTest.Common.Design.Data.DbDataSource.GetDataUnfiltered(DataInfo testBindingInfo)
   at ArtOfTest.WebAii.Design.Execution.DataContext.InitializeDataSource(String outDirectory)
   at ArtOfTest.WebAii.Design.Execution.ExecutionContext.SetCurrentTestAndData(Test test, Boolean canInitializeDataSource)
   at ArtOfTest.WebAii.Design.Execution.ExecutionEngine.InternalExecuteTest(Test test, TestResult initializationResult)
   at ArtOfTest.WebAii.Design.Execution.TestExecuteProxy.ExecuteTest(ExecuteTestCommand command)
ClientConnectionId:00a4fab7-c798-40a6-a2fe-0734a1ce481c

Thank you,
Nithin
Cody
Telerik team
 answered on 17 Aug 2012
1 answer
90 views

I have a data driven propery... but when my value is too big like beyond 255 characters ( it seems), the test stalls with beeps and will not take the value.

 

Do you have a size limit on the propery value we can set?

 

I am setting the "FileUploadPath" for my silverlight file upload dialog.  The reason my value is long is...to upload multiple files...

 

 Is there a way to record uploading multiple files at once?...in Silverlight file upload will take as many as select.
 I am trying to acheive this by ...cancatenating the filenames ("file1.txt" "file2.txt" "file3.txt"...) as the input value to "FileUploadPath".  It works..but fails when the value is too long....I have 35 filenames to concatenate like below and it failed....
""DocInitViaUpload_DocSet_A.xlsx" "Large_StaticTestDocument_1.pdf" "Large_StaticTestDocument_2.pdf" "Med_StaticTestDocument_1.docx" "Med_StaticTestDocument_2.docx" "Med_StaticTestDocument_3.docx" "Small_StaticTestDocument_1.docx" "Small_StaticTestDocument_10.docx" "Small_StaticTestDocument_11.docx" "Small_StaticTestDocument_12.docx" "Small_StaticTestDocument_13.docx" "Small_StaticTestDocument_14.docx" "Small_StaticTestDocument_15.docx" "Small_StaticTestDocument_16.docx" "Small_StaticTestDocument_17.docx" "Small_StaticTestDocument_18.docx" "Small_StaticTestDocument_19.docx" "Small_StaticTestDocument_2.docx" "Small_StaticTestDocument_20.docx" "Small_StaticTestDocument_21.docx" "Small_StaticTestDocument_22.docx" "Small_StaticTestDocument_23.docx" "Small_StaticTestDocument_24.docx" "Small_StaticTestDocument_25.docx" "Small_StaticTestDocument_26.docx" "Small_StaticTestDocument_27.docx" "Small_StaticTestDocument_28.docx" "Small_StaticTestDocument_29.docx" "Small_StaticTestDocument_3.docx" "Small_StaticTestDocument_30.docx" "Small_StaticTestDocument_4.docx" "Small_StaticTestDocument_5.docx" "Small_StaticTestDocument_6.docx" "Small_StaticTestDocument_7.docx" "Small_StaticTestDocument_8.docx" "Small_StaticTestDocument_9.docx" "VeryLarge_StaticTestDocument_1.pdf" "

Please help me understand what is going on!

Cody
Telerik team
 answered on 17 Aug 2012
1 answer
78 views
I need to upload multiple files via the file upload dialog.
I have set the fileuploadpath via data driven but only selects one file at a time. 
I want to upload akk 35 files in that folder path at once.
Ivaylo
Telerik team
 answered on 17 Aug 2012
4 answers
149 views
Hey guys,

Anyone know how to validate that the clipboard content is equal to a particular string?

Thanks
Jon
Jon
Top achievements
Rank 1
 answered on 14 Aug 2012
1 answer
87 views

I am not able to find the property which gives the hRef link  of the HyperlinkButton.

ArtOfTest.WebAii.Silverlight.UI.HyperlinkButton.Text  -> just gives the display text
ArtOfTest.WebAii.Silverlight.UI.HyperlinkButton.NavigateURI is  empty when I try to use...

Also,
ArtOfTest.WebAii.Controls.HtmlControls.HtmlAnchor.HRef  gives partial link only...
Example:
The complete link is..

http://leolab.company.com/CLName/Leo Web Service Kerberos setup steps.docx

but,  Href only gives  /CLName/Leo Web Service Kerberos setup steps.docx

thanks!
Anthony
Telerik team
 answered on 14 Aug 2012
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?