locked
what is equalent of datatable.getrowcount ( QTP ) in CodedUI vsts2010? RRS feed

  • Question

  • hi,

    what is equalent of datatable.getrowcount ( QTP )  in CodedUI vsts2010?

    Anitha

    Friday, August 12, 2011 11:03 AM

Answers

  • Hi anitha,

     

    You can try using the below Code :

     

        HtmlTable c_table = new HtmlTable(Browser);
       c_table.SearchProperties.Add("InnerText", "give ID", PropertyExpressionOperator.Contains);
    
       int x = c_table.RowCount;
    


     


    Rajendra
    Friday, August 12, 2011 11:32 AM