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

AI in Software Testing: How Artificial Intelligence Is Transforming QA

For years, software testing has lived under pressure: more features, faster releases, fewer bugs, smaller teams. Traditional QA has done her...