Answer Posted / 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 |
Post New Answer View All Answers
How can i click on any Excel sheet's "H" column with out writing coordinates Ex:Window("Book1").WinObject("Book1").Click 498,14 I dont want to give coordinates like 498,14 Can i open "H" column by writing like Ex:Window("Book1").WinObject("Book1").Click "H" or Ex:Window("Book1").WinObject("Book1").Click "H","1" or Ex:Window("Book1").WinObject("Book1").Click H,1 If i want to click on "Sheet3" of an excel sheet, Can i open like Ex:Window("Book1").WinObject("Book1").Click "Sheet3" Please help me any one
How you can find the absolute value of the number in qtp?
What do you mean by checkpoints in qtp?
Explain the benefits of quick test pro(qtp)?
What are the key elements available in test result window?
can any body clearly explain about keyword driven framework .give me the explanation for files what ever you use in this frame work?
what are the challenges you have faced while testing web based application using the automation tools ?
what are the utilities and drivers
i need code for how to click on particular mail in utlook mail box .its urjent Thank You Balaji
What is an optional step in qtp ?
What is recovery scenario manager? When you go for recovery scenario manager? Tell me one scenario were your used recovery scenario in your project?
what is the diff b/w assistive and mandatary rules of object repository in QTP???
Hi, how can we check or avoid the memory leakage in QTP9.2?
Hi Friends, Im planning to do certifcation in mercury Automation Tool QTP.But I Didnt get any clear details regarding course syllabus, fees, where to approach, and which certification would be useful for the experienced testers? can any one send me the details?
What are the features of quick test pro(qtp)?