hi in QTP 8.2 in the edit box has text like "raju want
married" . i want to check "want" is their in the text
or not ?
Answer Posted / akash
Hi mahesh,
Small correction!!!
var="raju want married"
var1=InStr(1,var,"want")
MsgBox var1
var2=Mid(var,var1)
MsgBox var2
var3=Left(var2,4)'you placed var1 i repaced var2
MsgBox var3
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
Which advantages helping QTP to hold the position of "Market Leader" for such a long period?
What is the purpose of loading qtp add-ins?
why you have standardized functions? plzzz guys with real time exp. do answer
Is it possible to call from one action to another action in qtp?
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 difference between runtime object and text object and what property they have. whether they have same properties or different properties.
when u script reveiwing in which area u more concentrates?
What is a reusable action?
Can any suggest me what is exposure testing?
how can i pass a "cript"as a parameter in to a function
What is the difference between analog and low level recording?
What environment does qtp run in?
Explain about the test fusion report of quicktest professional (qtp)?
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
1. wat are the main diff b/w QTP 8.0 AND QTP 9.2 ( not user interface) 2. wat is the meaning of Keyword in keyword driven frame work? 3. how u will handle the unknown errors while exucution. (not recovery scenario)