Monday, April 22, 2013

Check the background color of a row in a java table

set obj=JavaWindow("Title").JavaTable("JTable").Object
set obj1=obj.getCellRenderer(1,0)
obj.prepareRenderer obj1,1,0
set color=obj1.getBackground
If color.tostring="javax.swing.plaf.ColorUIResource[r=255,g=255,b=255]" Then
    msgbox "Its white color"
Else
    msgbox "Its not white color"
End if

Best practices for test automation in agile software development

  Agile software development is a highly iterative and collaborative approach to software development that emphasizes flexibility and a...