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

var="Raju want to marry"
var1=InStr(1,var,"want")
if var1>0 then
MsgBox "String Exists"
Else
MsgBox "Doesn't Exists the String"

Is This Answer Correct ?    8 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How to use transactions in qtp?

563


How to get Traceability matrix from TD?

670


Which scripting language used by quicktest professional (qtp)?

660


Can we record an application running on a remote machine using qtp?

719


Explain how you can delete excel file in qtp?

587






How does you test a weblink which is changing dynamically?

548


Suppose I have three hyperlinks with same properties. How to solve this and what are the ways to solve this. we can solve this by using index property but what are the other ways we have have to solve this problem. Login (href: btnlogin.aspx) Login (href: Sourcelogin.aspx) Login (href: homelogin.aspx)

1548


What VBScript operators, functions, and statements do you use in QuickTest Professional?

2170


How to get the particular property value?

610


How to open a new test using quicktest professional?

569


What is recovery scenario manager? When you go for recovery scenario manager? Tell me one scenario were your used recovery scenario in your project?

570


What are the challenges u faced in testing with crm domain? How u overcome with?

1483


How to handle dynamic objects in quicktest professional (qtp)?

544


Hi frnds, does anybody know if there is anything called "thin point" or something in qtp? thanks in advance.

1559


Why is Client side image is preferred over server side image?

1437