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       Ask Questions on ANYTHING, that arise in your Daily Life at     FORUM9.COM
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 word -
 Question Submitted By :: Sreeprasad
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 word -
Answer
# 1
Function countChar(st)/*Vbscript Function

charLength = Length(st)

End Function

Assume above function countChar is written in VBscript, now

you are getting the text from the Application and calling

the Vbscript file and gets the length of the characters in

the word

Dim textValue

textValue= Browser("Browser Name").Page("Page Name").Frame

("mainFrame_5").WebElement("12").GetROProperty("innertext")

executefile "\*.*\countChar(textValue)" /*calling the

Vbscript file

textlength = charLength /*getting the text length
 
Is This Answer Correct ?    0 Yes 0 No
Sreeprasad
 
  Re: How u call functions in QTP Function to calculate the length of characters in a word -
Answer
# 2
Dim Str
Str="We love Our India"

Strlength=len("Str")

msgbox Strlength
 
Is This Answer Correct ?    0 Yes 0 No
Neeraj Chauhan
 
 
 

 
 
 
Other QTP Interview Questions
 
  Question Asked @ Answers
 
How can we parameterize our test, values in flat file. Ex:- Values in notepad, with that values i want to parameterize the test. Ordain-Solutions2
How to connect to oracle(sqlserver) database to QTP CTS3
Hi Guys, I am very new to QTP tool , In real time environment how to test the application with this tool, 1. How to load application in QTP tool 2. How to write test script in QTP. 3. In manual testing we test login box (user id , password) how can we test this kind of testing with QTP tool with examples . Please guys put some focus on my questions , real time ecperienced answers would be appreciate, advance thanks ,please guys i am expecting ur answers as soon as posible IBM1
can onyone tell me how to comapre the output of two different Data Bases in QTP?  1
waht is puirpose of accesbility Check point? waht is the use of Page and XML check points?  1
4. How u will open the build automatically in QTP except using Systemutil.run command  3
Does the Existing reusable action can be modified at the time of calling the action?? Please help me..  2
what is the exact testing process in qtp plz explin ?  2
normally by going through the object properties in object spy we write descriptive programming(correct me if i am wrong). But how or from where can we get the object properties in the object spy?plzzzzzz do answer  2
give one example where you have used regular expression? Ordain-Solutions5
what is qtp automation framework, what is the purpose of the framework and which folders included in this framework pls tell me with brief description PSI-Data-Systems2
How to do Batch run in qtp? provide the steps?  4
How to export QTP results to an .xls file? IBM5
Hi,The question is write a script for the following scenario. scenario:in a job portal i entered QTP 3yrs testing then click search button.then it displays results like Test lead bangalore (here is a checkbox). Test lead hyderabad check box so on... question is if test lead position in bangalore then checkbox shld be enabled automatically.. Thatavarti-Technologies2
Wht are the BY default Add-ins in QTP 9.2 version and what all are differences between 8.2 and 9.2 Siemens1
Can u Reduce the size of Object repository? What are the problems u have faced in Qtp tool? IncRev2
1)what is the Exact Meaning of Environment Variables? 2)what is Compile Module in QTP? what exactly it contains Functions or Actions?  3
hi in QTP 8.2 in the edit box has text like "raju want married" . i want to check "want" is their in the text or not ? Syntel14
how can we retrieve ten rows from the data table using loop concept?  3
Please explain about unicode compatibility in QTP. how we can able to use it. Please help me  1
 
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