How u call functions in QTP Function to calculate the

length of characters in a wor

Answer Posted / 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       View All Answers


Please Help Members By Posting Answers For Below Questions

Tell me about your project? please help me how to tell about insurance project

1535


Where is the resultset of a sqlquery (which is fired by rsobj.open sqlquery,xxxx,xxxx) stored ?

1862


Hi Friends, Im planning to do certifcation in mercury Automation Tool QTP.But I Didnt get any clear details regarding course syllabus, fees, where to approach, and which certification would be useful for the experienced testers? can any one send me the details?

1517


Tell me about qtp?

540


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?

3501






What is checkpoints for quicktest professional (qtp)?

577


In qtp, explain what is crypt object

598


How does qtp recognize objects in aut?

592


what is the difference between IE & Netscape in web testing on a log in page

1792


What is the difference between analog and low level recording?

620


Is qtp supports uni-code?

616


What are test settings and global settings?

579


Explain the features of quick test pro(qtp)?

576


How can i click on any Excel sheet's "H" column with out writing coordinates Ex:Window("Book1").WinObject("Book1").Click 498,14 I dont want to give coordinates like 498,14 Can i open "H" column by writing like Ex:Window("Book1").WinObject("Book1").Click "H" or Ex:Window("Book1").WinObject("Book1").Click "H","1" or Ex:Window("Book1").WinObject("Book1").Click H,1 If i want to click on "Sheet3" of an excel sheet, Can i open like Ex:Window("Book1").WinObject("Book1").Click "Sheet3" Please help me any one

1602


How many lines of code in each script of QTP?

4036