:: 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                      
Categories >> Software >> Testing >> Automation Testing >> QTP


 WinRunner interview questions  WinRunner Interview Questions (496)
 Load Runner interview questions  Load Runner Interview Questions (486)
 QTP interview questions  QTP Interview Questions (3497)
 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 (385)
What is InStr()
 Question Submitted By :: QTP
I also faced this Question!!     Answer Posted By  
# 1
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 ........

Is This Answer Correct ?    14 Yes 3 No
# 2
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
# 3
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
Is This Answer Correct ?    5 Yes 4 No
# 4
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
Return True
End If

End Function
Is This Answer Correct ?    1 Yes 1 No
Mr. Buntha Khin
# 5
I Agree with Krishnachand. 
Is This Answer Correct ?    0 Yes 5 No
# 6
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,
My mail id is
If any body want full explain send the mail
Is This Answer Correct ?    2 Yes 14 No
K.chandra Sekhar

Other QTP Interview Questions
  Question Asked @ Answers
How to Synchronize the Browser at Field level? For example if you put Browser.sync(), it will wait upto for that Browser sync only. But It should wait upto total Browser get uploaded with all fields. Note : We don't know Which fields will come in that Browser. Means without knowing field names. HP 1
diff between dim & redim ? in detailed? pls any one explain me?   1
what is the difference between window command and dialog command   1
can objects recogonised without repository? AZTEC 10
how to write testcases for web based insurance,from the script by using qtp.   1
I Scheduled a QTP Script on remote desktop. Script is going to failure,when remote desktop connection fails.I have to open my remote desktop untile the scripts exection completes. If I disconnect my remote desktop connection, script is going to fail. Could you please any assist in this?   2
Could you please explain me about QTP framework. Oracle 2
can we create recorset with out using database connection in vbscript? CSS 1
Is there any option in QTP to add Java add-in after instaling the QTP? IBM 3
why we use check points , In qtp we use the any check points , what r they , when and why Polaris 1
How to give Table check points? ssinformatics 4
For more QTP Interview Questions Click Here 

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