In a Java table, all cells have different color so write a code for finding a particular cell color.

Questions by anilpal25

Showing Answers 1 - 3 of 3 Answers

simha

  • Apr 18th, 2013
 

Code
  1.  

  2. For i =1 to B().P().WebTable().GetROProperty("rows")

  3.  

  4.    For j=1 to  B().P().WebTable().ColumnCount(i)

  5.         B().P().WebTable().GetCellData(i,j).object.bgcolor

  6.          i=i+1

  7.          j=j+1

  8.    Next

  9.  

  10. Next

  11.  



  Was this answer useful?  Yes

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.

 

Related Answered Questions

 

Related Open Questions