what's the difference in between function and sub and give
some code as well
Answer Posted / rachel wang
Nothing wrong to post a correct answer in any ways.
Of course 'QTP Online Help' provides the better answer, I
always look up QTP first.
- Rachel
| Is This Answer Correct ? | 2 Yes | 0 No |
Post New Answer View All Answers
How to sendKeys in QTP? Diff b/w sendkeys and device replay? Diff b/w function and Sub? Diff b/w Array and List Different Types of running Keys other than Fast, slow,Normal mode Regular expression for http://newtours.demoaut.com Difference between \w and \W How to generate script button Recording Types Different Types of Actions? Using DP performance degrades, If Yes why? How to close all the opened browsers? Diff b/w SystemUtil.Run and invoke application? If qtp not recognized the combo box How to select values from drop down?
What are private functions in QTP? How they can be called from the function library?
What is the extension of QTP local Repository? If it is .mtr then what is .bdb extension stands for?
What is the file extension of the code file and object repository file in QTP?
Is it possible to call win runner script in qtp?
What is fragmentation and paging?
How are actions and functions different in QTP?
What is a programmatic description?
hi i have completed my b.tech in cse stream. now i am working in an organisation in testing department. i want do sap course but i dnt know which module will boost my career can anyone suggest me which is good for my career
Can you write a script to check if the folder exists or not?
Why script error occur in between recording in qtp?
What is the keyword view and expert view in qtp?
Explain more about the Test Fusion Report of QTP?
Is it possible to refer the same object for referring more than one object that are of different class using the descriptive programming approach? Suppose my code is 'To create the object named as obj Set obj=Description.Create() 'To define the values obj("title").value="IE" obj("type").value="text" obj("html tag").value="INPUT" 'To set the value Browser("IE").Page("Yahoo").WebEdit(obj).Set "xyz" Can I refer the "obj" object for the three objects like Browser,page and webedit objects? If so how?
How software automation specialist enter steps in the Expert View?