Forum Discussion

odedma's avatar
odedma
Contributor
13 years ago
Solved

Table row

Hi, 

is there a reason that TC cant identify tr's (Table Rows) ?

when im using a internet explorer (9) F12  select element i can see the tr 

but when i do the same with TC (9 latest version ) i cant ...

why is that ? 



is there a work around ? 

or a fix for it ?





thank you,



Oded.




  • Hi Oded,


     


    It depends on what Tree model is used in your project. For cross-browsing testing it's recommended to use the Tree model. Each cell is recognized as Cell(rowIndex, columnIndex) in it.


     

5 Replies


  • Hi Oded,


     


    It depends on what Tree model is used in your project. For cross-browsing testing it's recommended to use the Tree model. Each cell is recognized as Cell(rowIndex, columnIndex) in it.


     

  • Hi Tanya,



    and again thank you for the fast replay, excelent service i have to say !!!



    im working with the tree model as you said, but as i said and you can see from the attached file ie objcet explorer does show and see them and TC does not ... 



    can you help me ?

  • Hi Oded,


     


    The Cell object is used for TD and TH elements (to visually shorten the object tree ). The outerHTML property contains the full HTML content with these elements.


  • Hi Oded,


     


    If you want to locate an object on a web page by using HTML tags, you can use the EvaluateXPath method.


    For example:




    var page = // obtain the page


    var obj = page.EvaluateXPath("//TABLE[@class='GridViewExtended_Main']//TR");