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
Give the syntax to load function at run time.
what is the hierarchy to use properties in descriptive programming
how will you check how many members visited the website www.infosys.com?
Explain qtp(quick test professional)?
What is the pros and cons between QTP and Rational Robot
I need Major Help with a Script I recorded in QTP 9.5. I am recording scripts for a Web-based application(s) I have all the URLs for each application in Excel spreadhsheet so that QTP can pull that particular application from the spreadsheet and run it. The problem is QTP isn't recognizing one particular URL so when I hit run in QTP to run this script it opens the internet Explorer but isn't open the URL I have in the Excel spreadsheet. I've retyped the URL and still QTP won't open this Particular one for some reason. The site its self is working fine but for whatever reason QTP won't open it. How do I resolve this? I have a deadline of next Friday the 7th to complete this task so please help me in any way you can. Thanks in advance
What is quick test pro? What is a quick test professional?
how to post xml data from QTP scripts to any application?
How to do call a output parameter from one action to another action??/
How many ways we can parameterize data in quicktest professional?
How to break the object spy ?
Hi, i run scripts in one machine those r passed.when i run the scripts in client side those r failed.Give me such a scenario when ever u faced?
Explain step generator in qtp?
What do you to script when objects are removed from application?
Difference between copy to action and call to action?