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!
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
When pasting the sample code from the demo code, I see the following error:
http://www.telerik.com/automated-testing-tools/support/documentation/user-guide/code-samples/html/table-search-and-paging.aspx
Exception thrown executing coded step: '[Row_Index] : @"Indxing through Active'.
InnerException:
System.NullReferenceException: Object reference not set to an instance of an object.
at PortalC_Sharp.ExpDate_Extract.Row_Index() in C:\MyProjects\PortalC_Sharp\ExpDates\ExpDate Extract.tstest.cs:line 119
------------------------------------------------------------
'8/8/2012 9:23:57 AM' - Detected a failure. Step is marked 'ContinueOnFailure=False' aborting test execution.
Error 1 The type 'PortalC_Sharp.ExpDates.HtmlTable' cannot be used as type parameter 'TControl' in the generic type or method 'ArtOfTest.WebAii.Core.Find.ByExpression<TControl>(params string[])'. There is no implicit reference conversion from 'PortalC_Sharp.ExpDates.HtmlTable' to 'ArtOfTest.WebAii.Controls.Control'. C:\MyProjects\PortalC_Sharp\ExpDates\HtmlTable.tstest.cs 76 31 PortalC_Sharp
Code Entered:
HtmlTable table = Find.ByExpression<HtmlTable>(
"id=Grid"
,
"|"
,
"tagIndex=table:1"
);
HtmlSpan next = Find.ByExpression<HtmlSpan>(
"class=t-icon t-arrow-next"
);
HtmlAnchor a = Find.ByExpression<HtmlAnchor>(
"href=/aspnet-mvc/Grid?ajax=True&Grid-page=2"
);