02-13-2013, 04:03 PM
We are creating QTP scripts to validate the UI screen elements (presence, weblist contents, checkboxes, etc). I had created a function called "validateObjects" and saved it in the library file (.vbs). I was calling this function in my script by passing the object properties as parameters (we following DP).
The function will verify the presence of the objects on the screen and report pass or fail accordingly.
As expected, the number of function calls were too many in the script. For each UI element i had inserted the function call.
Our client manager is not happy with the script. He is saying it will bring down the QTP performance. When asked how, he informed us to find out by ourselves. I googled for the information. But no luck so far.
for the busy-experts, here is one liner question - "Will the QTP script take more time to execute when a lot of function calls are present in the script? If Yes, how?"
The function will verify the presence of the objects on the screen and report pass or fail accordingly.
As expected, the number of function calls were too many in the script. For each UI element i had inserted the function call.
Our client manager is not happy with the script. He is saying it will bring down the QTP performance. When asked how, he informed us to find out by ourselves. I googled for the information. But no luck so far.
for the busy-experts, here is one liner question - "Will the QTP script take more time to execute when a lot of function calls are present in the script? If Yes, how?"