please tell me that can we generate test data using Winrunner, as we generated in other tool like DataTect.
Yes you can. You can generate test data using many tools. It is more up to individual effort and resourcefulness rather than the tool.
You can build your own logic for create of Test Data that fits your application, by Winrunner as editor to execute and generate.
If you want a high quality software system, you must ensure each of its parts is of high quality. by Watts S. Humphrey