how to create classes extending page object so that its automatically instantiated with everypage load. for example,
i write a class to convert the first letter of the string to upper case. and say the class name is str_functions and a method ucfirst. i dont want to instantiate the object everytime, but i just want to use ucfirst stright away without instantiating.
i want to it work like this
str = ucfirst(str);
and not like this
str_function strF = new str_functions();
str = strF.ucfirst(str);
is this possible ?.. if yes .. how
... Go to the complete details ...
Found interesting? Add this to: