Telerik Forums
Test Studio Forum
2 answers
92 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
134 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
143 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
126 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
109 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
205 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
120 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
1 answer
133 views
Hi,

I am receiving the following error when I press Create Database.

Any thoughts?
Stoich
Telerik team
 answered on 14 Aug 2012
4 answers
153 views
Hi,

I tried searching through the help documentation and I may have found what I am looking for, but I'm not too sure.

I want to verify data between multiple pages where the data continually changes, i.e. on a daily, weekly, monthly basis.

My steps would be as follows:
1. Open said page
2. Verify said number
3. Click said number to progress to next page
4. On next page verify said number matches the previous page

Now, these number will constantly be changing (but should always match) so I want to create a test where it will pass if the numbers match, and fail if the numbers don't, and I wouldn't have to manually update the test every time the numbers change.

The test I created was;
1. Open said page
2. Extract 'TextContent' on 'x526Link' into DataBindVariable $(x526Link)  
3. IF (Verify 'TextContent' 'Contains' '526' on 'x526Link') THEN
  • 4. Click 'x526Link'
5. Extract 'TextContent' on 'WeFound526PTag' into DataBindVariable $(WeFound526PTag)
6. Verify 'TextContent' 'Contains' 'We found 526 brands  that ran on all the pages between 1/1/2007 and 5/31/2012.' on 'WeFound526PTag'
7. ELSE


If anyone could lead me in the right direction/provide me with the necessary steps that would be great.


Thanks
Byron
Telerik team
 answered on 13 Aug 2012
2 answers
151 views
I am new to Test Studio.  Trying to evaluate for our upcoming silverlight project.
I created Data Sources (excel) for the project.  I have a "Web Test" that I am trying to "Bind Test" .  When I click "Bind Test", it opens "Bind Test to Data Source" dialog box...but when I try to click the "Select Data Source" drop down...nothing displays..it blinks and turns orange color...
Padma
Top achievements
Rank 1
 answered on 10 Aug 2012
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?