ALLInterview.com :: Home Page KalAajKal.com
 Advertise your Business Here     
Browse  |   Placement Papers  |   Company  |   Code Snippets  |   Certifications  |   Visa Questions
Post Question  |   Post Answer  |   My Panel  |   Search  |   Articles  |   Topics  |   ERRORS new
   Refer this Site  Refer This Site to Your Friends  Site Map  Bookmark this Site  Set it as your HomePage  Contact Us     Login  |  Sign Up                      
tip   To Refer this Site to Your Friends   Click Here
Google
 
Categories  >>  Software  >>  Testing  >>  Automation Testing  >>  QTP
 
 


 

 
 WinRunner interview questions  WinRunner Interview Questions
 Load Runner interview questions  Load Runner Interview Questions
 QTP interview questions  QTP Interview Questions
 Test Director interview questions  Test Director Interview Questions
 Rational TestSuite interview questions  Rational TestSuite Interview Questions
 Silk Test interview questions  Silk Test Interview Questions
 Automation Testing AllOther interview questions  Automation Testing AllOther Interview Questions
Question
How u call functions in QTP Function to calculate the

length of characters in a wor
 Question Submitted By :: Shavali
I also faced this Question!!     Rank Answer Posted By  
 
  Re: How u call functions in QTP Function to calculate the length of characters in a wor
Answer
# 1
Please use the following steps:
str="QTP"
A=len(str)
msgbox A
o/p
3
 
Is This Answer Correct ?    0 Yes 0 No
Alok
 
  Re: How u call functions in QTP Function to calculate the length of characters in a wor
Answer
# 2
calculatelength("this is to test")

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

Regards,
Dhanasekar S
http://testingideas.wordpress.com
 
Is This Answer Correct ?    0 Yes 0 No
Dhanasekar
 
 
 

 
 
 
Other QTP Interview Questions
 
  Question Asked @ Answers
 
what is the use of Text output value in Qtp?  2
How do you return a value from a function  1
how to create user defined functions in QTP? can any one expalin me with example.. Thanks in Advance for help  3
How to check the URL using Automation tool QTP  2
What is a Run Time Data table?  1
QTP9.1 does not support to text checkpoint in Windows application? Is this correct? If this is correct, what is alternative for Text checkpoint?  1
in QTP, we have options like (record and play,recording modes(normal,analog,low level),object identification,smart identification,object repository,synchronizing test,transactions,checkpoints(std,bitmap,text,text area,DB,XML,accessibility),regular expression,actions,data driving,parameter,parameterization,data tables,recovery scenario(pop up,object state,test run error,application crash). real time users of QTP, pls say and when and at what point u have used all these options ,in ur concerned project.pls give me explanation in accordance with ur real time project handled. real users pls send some time in the aboue case. if u can send the the reply through allinterview or at ref_it_ref@yahoo.co.in  1
How u call functions in QTP Function to calculate the length of characters in a wor  2
What is diff betwee datatable.importsheet "path" and datatable.import  2
some times we write user define functions.where we write main and sub program,how,where to insert the functions in qtp? GE1
How to get data line by line from web element  1
What are the enhancements u did after recording ur script?  3
Can Any One Write How to Write the Script for Child Objects  2
In our application (Web based application)we will get a pdf file and we have check a particular text in that pdf. Can any one tell how to check text in a pdf file. In the same pdf file it generating some links and I have to click that links. QTP unable recognizing that links, even id did record and playback qtp does not generating any script. Can any one help me….?  5
What type of VB script u had done in expert view?  1
Explain about the Test Fusion Report of QTP ?  1
How can we do Data driven testing Using For loop in QTP?  2
In QTP, Which are the concepts are needed to do Functional testing and Regression testing? IBM3
Hi Friends, Can you please answer these questions of QTP Certification? 1.) What are bitmap checkpoints sensitive to? A. Image size and object type B. Object type and image type C. Screen resolution and object type D. Screen resolution and image size 2.)What are the phases in the QuickTest workflow? A. Plan, Record, Enhance, Run B. Prepare, Record, Verify, Run C. Plan, Create, Verify & Enhance D. Prepare, Create, Verify & Enhance, Integrate 3.) What are the two most commonly used ADO objects? A. Fields B. Execute C. Connection, RecordSet D. Open, ConnectionString 4.)What options are available to filter objects in the Target Object Repository pane when merging object repositories? A. Show all objects or Show only objects with conflicting object types B. Show all objects or Show only objects with conflicting descriptions C. Show only objects with conflicting logical names or Show only objects with conflicting object types D. Show only objects with conflicting logical names or Show only objects with conflicting descriptions 5.)Which of the following is an example of a missing resource? A. An object B. Run Results C. A Regular Action D. An External Action 6.)What method is used to retrieve the number of columns in the query results? A. Fields.Count B. Fields.Item(EOF) C. Fields.Count(BOF) D. Fields.Count.Value 7.)In VB Script functions, which one is false among the following a. Variables must be declared before use b. Variables may not be declared before use c. Variables may be declared without data types None  1
In QTP how to interact tool and application build?  2
 
For more QTP Interview Questions Click Here 
 
 
 
 
 
   
Copyright Policy  |  Terms of Service  |  Help  |  Site Map 1  |  Articles  |  Site Map  |   Site Map  |  Contact Us interview questions urls   External Links 
   
Copyright © 2007  ALLInterview.com.  All Rights Reserved.

ALLInterview.com   ::  Forum9.com   ::  KalAajKal.com