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...

How can we test existence of a particular word in scentence
using QTP tool.

Thanks in Advance!!!!!

Answer Posted / aiswaryan

By using "Instr" function u can do it.
InStr([start, ]string1, string2[, compare])
eg: MyPos = Instr(1, SearchString, SearchChar, 1)
msgbox MyPos
If Mypos returns a non-zero value, then the particular word
is present in a given string/sentence. If MyPos=0, then the
word is not present.

Is This Answer Correct ?    4 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Can any one explain me what is the procedure to connect the remote desk by using QTP 9.2 ?

1940


How can i check items sorted or not in a weblist ? Give me the script for this...

2037


What will be happen if i load object repository at run time, but it has already associated.

1787


Explain the concept of object repository?

983


How u will do versioning in QTP?

1894


Diff b/w test scenario's and test Procedures?

2129


An action has both shared and local OR associated with it and both have the same object in them. In the test which one will be considered?

1018


What is action? How many types of actions are there in qtp?

1096


action contains public and private functions but do we resuable that action or not..If it is reusable How..plz tell me the ans

2045


what is the difference between data driver & data driven and driver script?

2756


If a button named "CLICK" is recorded in low level recording mode , what will be the values stored for "name" property of that button in object repository ?

2169


What is different command used in command Prompt while using QTP?

2236


Is virtual object supported in low level recording mode?

1154


Write a QTP script to enter a keyword in to Google search engine?

1061


On what document base Descriptive programming is written if build is not yet ready ?

1423