check layout of table on web page

38 views
Skip to first unread message

sangeet...@gmail.com

unread,
Nov 18, 2016, 11:25:29 AM11/18/16
to Galen Framework
Hi Ivan,
   Thanks for taking time in creating Galen Framework and uploading videos on Youtube. it is very great tool. I starting learning it from a week. 

  I using airline booking  website to learn Galen framewwork. I have a situation to test the layout of the  table  with  6rows and 6 columns or may be 8X8 table . I want to check height and width of each cell and may other things like On hover or on sleected the color change  as it is not a list i cant use for or foreach loop..

the struture of HTML looks like

<tr> 
   <th>
   <th>
   <th>
   <th>
   <th>
   <th>
   <th>
<tr>
    <th>
   <th>
   <th>
   <th>
   <th>
   <th>
   <th>
soon on till 8th row

Thanks for your time in advance

Sangita


Ivan Shubin

unread,
Nov 27, 2016, 8:31:10 AM11/27/16
to Galen Framework
Hi,

Unfortunately I don't have time to write a detailed tutorial but the situation you have described is a good candidate for applying custom rules:
Though in your case it would be more difficult since you need to verify table layout, therefor it is better to use javascript-based custom rules.
Actually I have already introduced a small lib which provides useful rules for galen https://github.com/galenframework/galen-extras. You can checkout the table layout example

Regards,
Ivan
Reply all
Reply to author
Forward
0 new messages