Company Name: Thomson Reuters
Function fnadd(z,b)
Function fnadd(z,b,o)
fnadd=z+b+o
End Function
x=fnadd(10,20)
print x
y=fnadd("ABC","DEF","GHI")
print y
14. Does the following code execute successfully?Give reasons.
Dim a
Const b=20
Dim c
c=a+b
print c
b=c+b
print b
Note: If you know the Correct Answers Please Share with us (QA@TestingQ.com) We will Publish the Answers with your name. It will help your fellow Test Engineers.
Special Thanks to Swathi Rajan.
Attended Any Interviews? Please send us (QA@TestingQ.com) the Questions.
Follow @TestingQ
1. How to capture Run time errors and descriptions? Read Answer
2. What are the different ways to implement Synchronization?
3. How to convert a string to an integer? Read Answer
4. How to import data from .xls to dataTable during Run time? Read Answer
5. How to read data from Database? Read Answer
6. How to get all links name displayed on Browser?
7. What are the available ordinal identifiers in QTP? Read Answer
8. How to reverse a specified string without using StrReverse function? Read Answer
9. Write the code to find out the difference of two given dates in hours using VB built-in function? Read Answer
10. Write difference between Action and Function? Read Answer
11. Write difference between F10 and F11 in QTP? Read Answer
12. How to associate Object Repository and Function Library at Run time? Read Answer
13. What is the output of the following code?
fnadd=z+b
End Function
End Function
Function fnadd(z,b,o)
fnadd=z+b+o
End Function
x=fnadd(10,20)
print x
y=fnadd("ABC","DEF","GHI")
print y
14. Does the following code execute successfully?Give reasons.
Dim a
Const b=20
Dim c
c=a+b
print c
b=c+b
print b
Note: If you know the Correct Answers Please Share with us (QA@TestingQ.com) We will Publish the Answers with your name. It will help your fellow Test Engineers.
Special Thanks to Swathi Rajan.
Attended Any Interviews? Please send us (QA@TestingQ.com) the Questions.