Tuesday, February 2, 2010

Logical (condition and loop) opertaion within ANT file

Wondered over how to make logical operation in ANT code. As ant code is not object oriented so one can not directly perform logical operation within this code. So I have added a jar file "ant-contrib".


Now I can write some magical code to handle selenium Regression test execution. The syntax of writing ANT is slightly different. check out another image:


That code did whatever is expected to be done. Magically done :)

Cheers!!!
Vaibhav

No comments:

Post a Comment