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 ?

Answers were Sorted based on User's Feedback



hi in QTP 8.2 in the edit box has text like "raju want married" . i want to check &qu..

Answer / rao' prasad

It is also possible through Text Check Point.

Is This Answer Correct ?    0 Yes 0 No

hi in QTP 8.2 in the edit box has text like "raju want married" . i want to check &qu..

Answer / preeti

can put exceptional handling as"* want *"
so it'll check for many char before & after want & by
putting text check point

Is This Answer Correct ?    0 Yes 0 No

hi in QTP 8.2 in the edit box has text like "raju want married" . i want to check &qu..

Answer / rayudu

str="raju wants marriage"
a=instr(1,str,"wants")
If a<>0 Then
msgbox "Required text existed "
Else
msgbox "Required text not existed"
End If

Is This Answer Correct ?    0 Yes 0 No

hi in QTP 8.2 in the edit box has text like "raju want married" . i want to check &qu..

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

hi in QTP 8.2 in the edit box has text like "raju want married" . i want to check &qu..

Answer / mahesh_sqa

Exact Answare Replay me if possible on no1lmahesh@krify.com
var="raju want married"
var1=InStr(1,var,"want")
MsgBox var1
var2=Mid(var,var1)

MsgBox var2
var3=Left(var1,4)
MsgBox var3

Is This Answer Correct ?    0 Yes 1 No

hi in QTP 8.2 in the edit box has text like "raju want married" . i want to check &qu..

Answer / maha lakshmi

it is not possible

Is This Answer Correct ?    0 Yes 2 No

Post New Answer

More QTP Interview Questions

What is RTM (require ment tracebulity marix) fromate?

0 Answers   Wipro,


I m in new and want to learn QTP. Is any website which provide free QTP video training.....also can downlaod....

3 Answers   Wipro,


Hi all , I have installed the QTP 11.0 Whenever I am opening QTP that time if any open Internet Explorer I was getting message (Internet Explorer has encountered a problem and needs to close. we are sorry for inconvenience caused) and same way new browser also not opening. If you have any idea please let me know.

2 Answers   ME,


How to Set the Global Sync Timeouts in QTP?

2 Answers  


How to open a new test using QTP?

1 Answers  






i did B.Tech cse and i secured 76%. instead of siting at home ... i would like to do some course. can u suggest me in this.

1 Answers  


Define QTP ?

10 Answers   TCS,


What is the syntax to call one script from another?

0 Answers  


How can we perfom Action and Component parameter.?

1 Answers   EDS,


What is the difference between Global and Local Data Sheets?

1 Answers  


what is descriptive.create()in qtp?

3 Answers  


QTP script is not working on other's machine..

0 Answers  


Categories