failing FindRowandClick method

Jun 17, 2012 at 10:10 PM

Hi ,

In the following code, I am using FindRowandClick  method to click the first column in a first row. The column is hyper linked.

 CUITe_HtmlTable tblSOs = pgServiceOrderReview.Get<CUITe_HtmlTable>("id=datatable");
            string ServiceOrderNumber = pgServiceOrderReview.tblSOs.GetCellValue(0,0);
            pgServiceOrderReview.tblSOs.FindRowAndClick(0, ServiceOrderNumber, CUITe_HtmlTableSearchOptions.NormalTight);
           // pgServiceOrderReview.tblSOs.FindRowAndClick(0,ServiceOrderNumber);

 

FindRowAndClick() method is not doing anything and not even throwing an exception. The next statement in the code is executing. 

What could be the reason ? Appreciate your help. 

 

 


Coordinator
Jun 18, 2012 at 5:25 AM

Hi Sailaja,

See this blog post which illustrates how to enable tracing for ui tests.

http://blogs.msdn.com/b/gautamg/archive/2009/11/29/how-to-enable-tracing-for-ui-test-components.aspx

Please provide complete sample code that is not behaving as expected, including the html, so that I can reproduce the problem and help troubleshoot your issue.

Thank you.