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 |
What is the quicktest professional testing process?
How to create Reusable and Multiple Actions?
what is regular expression how will you implement it?
How can we see the analog recording steps in QTP..the Steps are stored in a track file with an extension .dat..how can we open the file..
How to Open FireFox using descriptive programing? If my question is not clear, i will give an Example To Open Internet Explorer, We use Set IE = CreateObject(InternetExplorer.Application) IE.Navigate "www.yahoo.com In the same i need to open yahoo.com in firefox. Can any one tell me what is the server name of firefox to create an object
A web page has two butons with same properties and rotating in clockwise direction. how to click on any of the button?
Explain QTP testing process?
how can we write descriptive programming for menus when qtp is not able to identify it..and how can we write descriptive programming for partially identified and non standard objects..do i have to map the objects before writing the script
I have below user Defained function function AddTwo(ByVal a, ByVal b) Dim Ans Ans=a+b MsgBox Ans End function Now my question comes here...from given below methods which method is right to call above function?Which is Wrong and why? 1. AddTwo(2,4) 2. Call AddTwo(2,4) 3. AddTwo 2,4 4. Call AddTwo 2,4
whenever U using QTP,Test Director, Why we using separate Bug tracking tool?
During execution, how can we capture the data from the pop- up, ie. when any popup comes with some numbers written on it, then how can we capture the value/number that is coming on the pop-up and save in the dynamic file/or other file, even when the run is going on.
An object is created, i dont know the methods available for that object, i want to find methods available for that object and use the required method. How i can do this???