How u call functions in QTP Function to calculate the

length of characters in a wor

Answers were Sorted based on User's Feedback



How u call functions in QTP Function to calculate the length of characters in a wor..

Answer / alok

Please use the following steps:
str="QTP"
A=len(str)
msgbox A
o/p
3

Is This Answer Correct ?    4 Yes 0 No

How u call functions in QTP Function to calculate the length of characters in a wor..

Answer / dhanasekar

calculatelength("this is to test")

function calculatelength(string)
calculatelength = len(string)
End Function

Regards,
Dhanasekar S
http://testingideas.wordpress.com

Is This Answer Correct ?    3 Yes 1 No

Post New Answer

More QTP Interview Questions

can we run the scripts of qtp 8.2 in the qtp7.0?

2 Answers  


Are You using any frame work? What is that? Explain about that.

4 Answers   Wipro,


Use of Multiple Actions in QTP?

3 Answers  


how to check URL using QTP? write vb script with descriptive programm only?

1 Answers   Syntel,


Can any give an example(if possible templates) how to test web application using QTP. thanks in advance

0 Answers  


what is object and child object.. explain ..if possible give some example for better understanding ..

0 Answers   HCL,


Hi All As per the requirements i have to copy the data from word document to excel sheet using the QTP Note : Data in word document is in tabular format i.e there is 80 rows and 5 columns table Can any body provide code for this ? Thanks in advance Regards Test123Test

1 Answers  


how do you remove object repository at runtime and load object repository and verify it

2 Answers   Thomson Reuters,


suppose i opened 6browsers and i want re-open the 4browser what is code for this..pls help me..

2 Answers   Core Logic,


What is a recovery scenario?

0 Answers  


write a script for get the following result: username password frm the string1="A=username" string2="B=password"

3 Answers   Oracle,


Hi Suppose u have complex Test scripts which u vl write first and which u vl execute first

2 Answers   Symphony,


Categories