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

I have to automate excel features using qtp in this i need to open instance of excel in different ways like double click on file, drag & drop options, File > open option but i know the 2 ways to open the excel instance 1 is by creating the object and another is to open the excel file in already opened instance of excel through sendkeys through qtp. But i m not geting how to open excel file through double click and drag and drop option through qtp script plz help me out anyone can thanks in advance

0 Answers  


How you are developing the script? Using record and play back or manual?

0 Answers  


where the check points are stored ?

3 Answers   IBM,


How can we upload pdf files in qtp?

1 Answers   Syntel, TCS,


1. Pls can anyone give me the descriptive programing script to find the number of edit boxes in a login window in flights reservation (windows application only not web). 2. Using descriptive programing, how do you handle changing URLs. Pls anyone, very urgent

2 Answers   Infotech,


what is TOM in qtp?

5 Answers   Accenture,


How to export data present in Datatable to an ".xls" file?

1 Answers   Crea,


In QA Testing when do you use Loadrunner vs QTP? What are the main differences between those two tools? Explain the purpose with real world scenario examples...In advance thank you!!!

0 Answers  


1.how can we report the QTP test result in a different excel sheet 2.

3 Answers   Aurigo,


what frame work you are following?

0 Answers   Wipro,


Write a script to delete the a specific row (say 3rd) in a webtable.

0 Answers  


HOW TO AUTOMATE CAPCHA IMAGES while creating Gmail account

2 Answers   TCS,


Categories