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 did you use regular expressions in QTP and also in WR?

2165


.have you ever written compiled module? if yes , tell me about some of the function that you wrote.

1682


tell me QTP standards ?plz

1520


You will receive the mail in your outlook from client at night time to go ahead for the execution. Based on the mail you need to trigger the batch run. What is the QTP Code for this?

1338


Explain the concept of object repository and how quicktest professional recognises objects?

559






I am a new tester that needs to create an automatic script involving security questions. On a webpage I need to select a security question(which are random) from a drop down menu, and then input the answer as the last word from the security question. I have the script set-up to automatically select the first security question from the drop down. The problem I am having is trying to insert the security answer. How do I insert the security answer based on the selection from the security question?

1850


iam working in QTP for 2+ of exp if i attend the interview what r questions asked in perfomence testing{loadrunner} ? pls any one can say answer to this question?

1605


How to create Reusable and Multiple Actions?

1711


How to find a window is minimized or not

1445


How to find the difference between 2 dates in qtp?

583


Explain how Selenium is different from UFT?

693


What are the various automation frameworks available in qtp?

508


Explain measuring transaction.

586


How to carry out bit map check points in QTP

1768


Explain about the test fusion report of quicktest professional?

531