Hi
I am trying to count number of columns and column values from a table but everytime I am getting wrong values.
Please check below for the Object Property:
Object Property
<table rules="all" cellspacing="0" cellpadding="3" border="1" style="border-collapse: collapse;" columncount="10" expandedclientidsname="HierarGrid_ExpandedIDs_ResultsGrid_ctl06" class="Datagrid">
Code:
Dim t As HtmlTable = myManager.ActiveBrowser.Find.ByExpression(Of HtmlTable)("class=Datagrid")
Dim Rowcounts As Integer = t.Rows.Count
Dim ColumnCount As Integer = t.ColumnCount()
Row Count is working properly but Column Count is not working properly.
I am using above code to find the number of columns but instead of returning 10 it is returning 2. So please tell me the solution.
Do let me know if I am doing anything wrong.
I find WebUI test studio is a great tool to test Silverlight. I have the following question.
When I record the Silverlight apps, generate c# and run the test case, test cases will open IE, simulate users to use the mouse to click the website. It means I can’t use my mouse to do anything until the test cases finish running.
I know I can find another machine to run my tests. I know VSTS 2010 web tests (coded web tests) just run the tests without opening the browser. Can we just run the tests without opening the browser and without letting the mouse move automatically? Because if control the mouse, the tests can't move on. :)
Thanks,
Ray
hi all
please tell me
how to take row index in telerik gird in selected row
SilverlightApp app = ActiveBrowser.SilverlightApps()[0];
In another thread, I find someone was asking this question, but there is no correct answer now.
settings.EnableSilverlight=
true; : still has the timeout
Manager.Settings.ExecuteCommandTimeout = (200000); still has the timeout
Use fiddler-> Inspector-Header: No response data about application/x-silverlight-app
When I debug it, I find app[0].Count=1 (really has the data) , but I really don't know why it shows the timeout error.
Any idea to fix this issue?
Thank you,
Ray