what is the advantages and disadvantages of using functions
instead of re usable actions
Answer / Sarika Chaudhari
Advantages of using functions include modularity, code reusability, and improved maintainability. Functions can be easily tested and debugged separately from the main program. However, some potential disadvantages include increased complexity due to managing multiple functions, potential performance overhead due to function calls, and possible unintended side effects if functions have shared variables.
| Is This Answer Correct ? | 0 Yes | 0 No |
what is risks of testing a project?
Hello Everybody, How to maintain the page state in QTP. My scenario is: 1. I opened a notepad file. 2. Entered some text in the notepad file. 3.And changed the font type and color of the notepad file. And saved that. 4.Now next time when I will open the notepad it is showing the changed font type and color, rather than the default values. Please provide the code. Thanks, Gaytri
Hi All, we are using QTP Automation Scripts to test SAP. I recorded QTP Automation Scripts in English-based SAP GUI. Now we have to test a French-based SAP sytem and use the same scripts. The QTP scripts are failing when executed on the French-based SAP System due to Object Recognition Issues. What can we do? Do I re-record the scripts in the French-based SAP system?
What is the difference between run time object and test object?
Where virtual objects stores results?
Can we run multiple QTP scripts one after the other without manual intervention? How?
where the log files stored when using QTP? plz send answer to me ........
How to pass a variable in Dos Command using QTP? Eg: Dim path1, path2 path1 = "C:\Test\sample1.doc" path2 = "C:\Test\sample2.doc" How can we pass these path1 and path2 inside the "copy" dos command? I tried like this. this is not working. oShell.run "cmd /K copy" &path1 &path2
In QTP, What is Global action and Local action?
Which line will be executed 1-B(DP).P(OR.link(DP) 2-B(OR).P(Or).Link(DP)
waht is the diff b/w Environment variable and Global variable in qtp?? explain types of variable in qtp??
what is functions in qtp?i know the userdefind &bulit funation or i know that Private public function ?plz tell me what is funations in qtp?how to create a funation in qtp