Unable to recognize left-navigation HtmlCell objects

May 9, 2012 at 5:00 PM
Edited May 9, 2012 at 5:33 PM

Hi

I was able to record the object in the Left Pane using CUITe.

Something like this

public CUITe_HtmlCell celDemographics = new CUITe_HtmlCell("Class=ma-left-nav-hover;InnerText=Demographics;Title=Explore member demographics by Period, Contract, Payer and Product"

);

  However, When I am trying to playback,It's failing "The playback failed to find the control with the given search properties". I did try the Coded UI record and play back and that works. I am not able to understand what is missing ? 

Is there any workaround for such scenario ? I am unable to retreive any pages due to this issue. Any help would be really appreciated.

 

 

 

 

 

May 9, 2012 at 6:24 PM

I think i was over-engineering it. I modified the search value to have only "innertext" and it worked :).

public  CUITe_HtmlCell celDemographics = new CUITe_HtmlCell("InnerText=Demographics"

);