Tell when we call the function? tell with example.



Tell when we call the function? tell with example...

Answer / 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

More QTP Interview Questions

I have one bitmap image in my webpage. The bit map image is moving like 1 place to 2nd place and 2nd place to 3rd place Etc… in my webpage. I wanted to write script for dynamical objects like above example. Could you please send me the answer for above query.

9 Answers   IBM,


Iam doing automation in Oracle App's using QTP? In App's because of some functional setup, keep on changing my script flow. for this how can i use the recovery sceanrio?? Please help me?

1 Answers  


how will u choose a tool for test automation ?

1 Answers  


Hi Friends, Can anyone help me out in this one? In QTP, I am using Data Driver and want to parameterise multiple values (say 3 values ) for a field. How can I do it using Data Driver wizard? Plz mention it step-by-step. In the end after doing the needful, on opening the Data Driver window, how can I get number (i.e. 3) in the Parameterised column for that particualr value? Thanks a lot in advance.

0 Answers  


hi all can anyone explain how to write the code for finding the mandatory columns in table which are having (red*) (red Astrik)

0 Answers   Livetek,






i don't have any experience in qtp? Can u please tell me What work i have to do?

4 Answers  


What is smart identification?

2 Answers   Ordain Solutions,


I wanted to create Data Driven test for login page (loginname,password). Password is same for all the loginnames. I recorded the script for one user. I mentioned all the user names in the global excel sheet with the column name as "Loginname". I mentioned 5 loginnames. I selected tools- >datadriver and select loginname. Select parameterize and select parameter all option.Changed the parameter name to "loginname" which i mentioned in the global excel sheet. I executed the script. For the users 2 and 4 only, the script is failing... can anybody explain why the script is failing for users 2 and 4.

2 Answers  


in qtp wha t is synchronisatin pt,what is the maximam time out

3 Answers  


Hoe to generate all numbers in between to numbers suppose all numbers in between 1 to 100 using vbscript give me code

2 Answers  


When should u feel that u can stop testing now? The following are few of the common Test Stop criteria:

2 Answers  


What is meant by Output Value in UFT?

0 Answers  


Categories