Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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 / srinath

One method is


a="Raju want to marry"
b="want"

if instr(1,a,b) then
msgbox("Exists")
else
msgbox("Does not exists")
end if

another method is
use regular expression. this is a bit lengthy

Is This Answer Correct ?    2 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How to capture all the data of a webtable, weblist and combolist using QTP?

3345


what is the difference betn QTP 8.0 AND PREVIOUS VERSION

2455


hi all can any body explain how to write the script for finding the mandatory fields which are having [red Astrik sign (*)]

1985


what is the advantages and disadvantages of using functions instead of re usable actions

1967


what are the mandatory properties for a tex boxc (scenario?)

2011


how many maximum number of virtual users we can create?

2152


How would you export a script from one pc to another in qtp?

1113


What are the benefits of quick test pro(qtp)?

989


How QA specialist can identify when programmatic descriptions are useful?

2505


What is difference in global and action sheet in qtp?

1122


1.Qtp suppots Unix& linx or not 2why qtp suppots shell script.

2128


Is it possible to refer the same object for referring more than one object that are of different class using the descriptive programming approach? Suppose my code is 'To create the object named as obj Set obj=Description.Create() 'To define the values obj("title").value="IE" obj("type").value="text" obj("html tag").value="INPUT" 'To set the value Browser("IE").Page("Yahoo").WebEdit(obj).Set "xyz" Can I refer the "obj" object for the three objects like Browser,page and webedit objects? If so how?

2143


How do you check ticket cost and ticket number in flight application?

1090


Is it possible to call from one action to another action in qtp?

1032


how can we compare descriptive programing with a regular expression

2407