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 difference between QTP 8.2 Obect Repository and QTP 9.2 object Repository?

2 Answers   Nokia,


How to see the screens after running test in QTP?

1 Answers  


What is synchronization point in QTP?

0 Answers  


why we use check points , In qtp we use the any check points , what r they , when and why

1 Answers   Polaris,


What are the properties you would use for identifying a browser and page when using descriptive programming?

0 Answers  






What types of testing comes under functional testing or in other word what will you test in functional testing?

3 Answers   Infosys,


How to build scripts that access data from external sources?

0 Answers  


How many ways we can parameterize data in QTP?

6 Answers   Liquid Crystal,


In the application that I'm testing is having a WYSIWIYG editor.QTP is recording editor's body as web element. I want to add some data to this web Element at run time. The problem is that I cant find a method to add contents to this web Element. Can any one come up with an answer for this. Thankx.

0 Answers  


What is the difference between gettoproperty and settoproperty?Explain with an example?

4 Answers   QQS, Satyam,


can any one tell me the script to click on a button in the wintoolbar.

1 Answers  


i want to learn testing tools what i have to know before.iam fresher i dnt know any this..which langagues i have to before testing.

2 Answers   Wipro,


Categories