| || |
Create a user defined function in QTP
In QTP we have Select functionality to select an item from a weblist. However, using this functionality we have to select the exact value displayed in the weblist drop dn.
Any minute change in drop dn display values requires the script to be modified.
Eg : Display value "Add all LoA" got changed to "Add all LOA" requires script to be modified woth smallcaps 'o' to be replaced by caps 'O'.
I have created a function which will select a display value which is most similar to the value passed thru the excel, and need not be exactly the same.
This function seems to be working fine.
So Select(" ") functionality won't work.
I want to know how to create a new functionality to be used instead of Select to use my created function.
Re: Create a user defined function in QTP
This is described fully in the QTP helguide