What In-string function will do?
Answer / gayathrin
The InStr function returns the position of the first
occurrence of one string within another.
Example :
dim txt,pos
txt="This is a beautiful day!"
pos=InStr(txt,"his")
document.write(pos)
Output :
2
Is This Answer Correct ? | 8 Yes | 2 No |
Can anyone explain me about child objects in detail;when they are used and why do we need them ? please give me sample code for this if possible.
How to get the particular property value?
Is there any MS Access addin in QTP?
What is Object Spy?
7 Answers JKH, Ordain Solutions,
I have a list box which contains duplicate values e.g. A,A,A,B,B,B,C,C,C.Now write a code in qtp to test the list box . Scenario #1 : I have to check whether any values are there? Scenario #2 : If duplicate values are there,then how many time it is getting duplicated? Svenario #3 : how can I test presence of items in list box ommiting duplicate values?
What is quicktest professional (qtp)?
who is developed QTP ? is it from Mecury or HP
How to test whether the navigation i.e. from one page to another is working r not using QTP for web based application
What are default add-ins in qtp?
If I change the property value at runtime is it effect is object repository?
i have qtp 9.5 ver software.but i don't know the license key. if anyone have license key please send it to my personal mail id(munir.reddy@yahoo.com
wht is the difference between action and functio?