<BLOCKQUOTE><font size="1" face="Verdana, Arial, Helvetica">quote:</font><HR>Originally posted by samthi: Hi,
I was asked to test various controls existing on diferent web pages for their format validations.The control types are :
2)phone no. field
3)email id field
Is it recommendable and feasible enough to write a global compile module for their validations.
or handling the scripts individually for eah page special functionality is better.
how can we globalize if at all we require it.
I think you should write some general functions for all the controls, which you can just call in your respective scripts & can be used for future other web sites too.
If you have general functions then you need to load the respective complied module & in your script and pass the necessary parameters and test the control. So you can write individual compiled modules / in only one script.
It is always suggestable to make individual functions, because for future maintenance, it will be easy.
The problem with running WR Script in QTP or visa versa is you need two licenses
It seems to me that Mercury are intent on making QTP the test tool of choice and are phasing out future development of WR. Yes they may support it, but why not support it properly and enable .Net support
From using QTP I've found it not as technically rich as WR
Common Mercury, give all us WR users who've used it for years the chance to run it on .Net