How can I find out whether a word in a string is existed or
not
for example
"QTP IS A POWERFULL TOOL FOR AUTOMATION"
How can i find out whether "powerfull" is existed in the
above string or not
Could anyone answer it?
Answer Posted / naina
C = "QTP IS A POWERFULL TOOL FOR AUTOMATION"
msgbox Instr(1,c,"POWERFULL")
The result will be 10 , which is the position of the first
occurrence of the string POWERFULL
| Is This Answer Correct ? | 7 Yes | 1 No |
Post New Answer View All Answers
Where to use function or action?
Hi Frenz... I would like to take up the QTP certification . Can anyone tell me what is the procedure. n if anybody have the study materials pls fwd it to jkpunathil@gmail.com
How to handle the exceptions using recovery secnario manager in quicktest professional (qtp)?
There is an built in window application in qtp9.1,i.e.Flight4.0.i want to implement the recovery maneger on it.How can i do this?
Explain the types of object repository?
Hi, I am using 2 excel sheet.First excel sheet works fine with the script, if it opens the 2nd excel sheet,it works fine,but after finish all the rows it is giving the following error in the following line. InValid Procedure call or argument Line (178): "Browser("name:="&result,"application version:=internet explorer 7").Page ("title:=bgt.*", "index:=0").WebList ("name:=SearchType","html id:=Select1","location:=0").Select SearchType1". I have seen a web article says that,If we use any vbscript friendly name it may gives the above error-Invalid procedure call or argument not sure,Am I using any VBScript frienlyName? in the above line? [but the same line is perfecly working for first Excel ] It is little urgent. Any Help Thanks you
how to convert 100 into hundred repees only and viceversa
how could i download qtp in which i get add-in support for 'oracle' is there any way to get it? i finding but not getting pls help me out :)
Where we can use the synchronization?
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
how can we do the frame work in qtp
Hi,All How to create a link in excel sheet using qtp
What is expert view in qtp?
What are the different ways to invoke an application using QTP?
regular expression in qtp standar check point for months from accepting months from january to december only