ALLInterview.com :: Home Page            
 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                      
Google
   
 
Categories >> Software >> Testing >> Automation Testing >> QTP
 
 


 

 
 WinRunner interview questions  WinRunner Interview Questions (495)
 Load Runner interview questions  Load Runner Interview Questions (486)
 QTP interview questions  QTP Interview Questions (3474)
 Test Director interview questions  Test Director Interview Questions (161)
 Rational TestSuite interview questions  Rational TestSuite Interview Questions (106)
 Silk Test interview questions  Silk Test Interview Questions (59)
 Automation Testing AllOther interview questions  Automation Testing AllOther Interview Questions (382)
Question
What is InStr()
 Question Submitted By :: Krishnachand
I also faced this Question!!     Rank Answer Posted By  
 
  Re: What is InStr()
Answer
# 1
This is a String Function which uis used to identify where
the position of one string or letter in the other string
which occurs for the first time.
For Eg:
First String str1=: A sentence does not end with because
beacause because is a conjuction.
Second and identified string str2=: because
if we given like a=Instr(str1,str2,1)
it is gives a as 7
 
Is This Answer Correct ?    10 Yes 8 No
Krishnachand
[Sungard]
 
  Re: What is InStr()
Answer
# 2
a) When the use the two are more string then use instr ()
b) Ex: - This like instr (str1, str2, ?)


My name is k.chandra sekhar,
My phone no is 09246540049,
Hyderabad.
My mail id is ndra_143@yahoo.co.in
If any body want full explain send the mail
 
Is This Answer Correct ?    2 Yes 14 No
K.chandra Sekhar
 
 
 
  Re: What is InStr()
Answer
# 3
I Agree with Krishnachand. 
Is This Answer Correct ?    0 Yes 5 No
Nanda
 
  Re: What is InStr()
Answer
# 4
Mr chandrashekar .......... if u want to give the brief
explanation abt any Question...... Write here itself .....
No need to provide ur contact details .........

It's very bad part of it ........


Chn
 
Is This Answer Correct ?    13 Yes 3 No
Chn
 
  Re: What is InStr()
Answer
# 5
Here I am Providing the right answer. If U want to find the
first occurance of substring with in string then u can use
the instr function.

any doubts mail to

mskalyan.smile@gmail.com
 
Is This Answer Correct ?    5 Yes 4 No
Kalyan
 
  Re: What is InStr()
Answer
# 6
Sample code to use InStr() in VB.Net

Friend Function DecimolNumbers(ByVal KeyChar As Char, ByVal
TxtBox As TextBox) As Boolean

Select Case KeyChar.ToString

Case Keys.Delete.ToString
Return False
Exit Function
Case Keys.Left.ToString
Return False
Exit Function
Case Keys.Right.ToString
Return False
Exit Function
Case Keys.Tab.ToString
Return False
Exit Function
Case vbBack
Return False
Exit Function
Case Keys.Enter.ToString
Return False
Exit Function
Case Keys.Home.ToString
Return False
Exit Function
Case Keys.End.ToString
Return False
Exit Function
Case Keys.Escape.ToString

End Select

If (KeyChar.ToString = "." And InStr
(TxtBox.Text, ".") > 0) Then
Return True
Exit Function
End If

If KeyChar.ToString = "." Then Return False

If IsNumeric(KeyChar) = True Then
Return False
Else
Return True
End If

End Function
 
Is This Answer Correct ?    1 Yes 1 No
Mr. Buntha Khin
 

 
 
 
Other QTP Interview Questions
 
  Question Asked @ Answers
 
How can we log a defect in Testdirector from Q.T.P ? EDS 2
w is descriptive programming TCS 2
How to find duplicates in an array and remove them efficiently?   2
what is the syntax for regular expression in QTP? how to create user defined functions in QTP? MBT 6
how to invoke the web application through script in qtp Synechron 8
I am not able to record yahoomail browser.its giving error like "The browser Application can't be launched .Posssibly the URL is wrong" So anyone can tell me what setting i have to do in qtp??   1
Currently i have designed my script based on the test cases present in Quality Center. I want to run my script from quality center. Can anyone help me to get the code which will connect QTP with Quality Center and execute the test cases?   1
Whether it is possible to test the adobe's controls like zoom, resize, save etc using QTP...If yes, how u can do the same?   1
What is the condition or scenario that leads the use of object spy in qtp? (while recording we can get all the properties) then wat leads to use this? iSoft 2
How to perform action on objects, If two objects have the almost the same name ? example : Object 1 : "Entry of Items" Object 2 : "Items" Whenever I ask QTP to perform an action on Object 2 it performs action on Object 1. Note: The two objects are present in an Oracle Application tree. Wipro 2
Can we directly automate test script according to requirements?   1
what is Defect density, defect leakage, defect age,latentbed,yasid testing, interface Syntel 4
 
For more QTP Interview Questions Click Here 
 
 
 
 
 


   
Copyright Policy  |  Terms of Service  |  Articles  |  Site Map  |  RSS Site Map  |  Contact Us
   
Copyright 2013  ALLInterview.com.  All Rights Reserved.

ALLInterview.com   ::  KalAajKal.com