Tell when we call the function? tell with example.

Answer Posted / jay prakash

Function call is done if there is already some function is
available in QTP or Function library. Than to save the
efforts we simply call the function and use the script.
It avoids the reduncdency in script.

For example there are sevaral function available in QTP
like Date, Time, Abs, Sgn, Array etc etc. So why to waste
time again in defining and creating such libraries ??

Please let me know if it satisfies you.

Is This Answer Correct ?    7 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How to handle dynamic objects in quicktest professional (qtp)?

542


i have to login into gmail loginpage i have to pass testcase into userid and password by using functions. the test case of user id is it should take only lowerletters alphabetin between 4 to 6 length.it should not take spectial letters.it should not take numbers.testcase for password is it should take numbers and it should not take alphabets note the following things must happen 1 when i give correct password and userid that password and userid should be seen in QTP result and notepad,xl sheet 2 when i gave in valid password the system willgive message please give valid password that particular messaage should be seen in QTP result,norepa and xl sheet

1747


How to do the scripting. Is there any inbuilt functions in qtp as in qtp-s. What's the difference between them? How to handle script issues?

521


Hi, is it possible for recording shortcut key during record session? The application on which I am working is web based application. This application has several shortcut key associated with menu option. I have succesfully recorded all menu option but unable to record shortcut key.

1383


banking project description for software tester

7016






What are the differences between quicktest professional (qtp) and winrunner?

561


How to release all resources file from the QTP?

1041


Explain how Does Run time data (Parameterization) is handled in QTP?

550


Have you used xml check point in your project? How?

539


Explain actions in qtp ?

549


When and why to use descriptive programming?

599


How does QTP identify an object?

605


Generic function to search for the unique link in webtable and click on it

2479


Write the code for,In the page screen we have total 10 Links,out of these I have to click 9th link

861


Hi, I am using OutputCheckPoint and I am storing the value in the data table. The stored value for column:bedroom:"Bed:4" The another value for column:bathroom:"Bath:2 Full,1 Partial" I need only the no 4 from the first column. I need only the no 2,1 from the second column. I used split array,but it also show array(0) has the value"bed:4" ..... Even though I highlight only 4,It is seleting the full value "bed 4".How can I get only the nos Thank you Uma

1293