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 / rao' prasad

n=InputBox("Enter name")
var=Split(n," ",-1,1)
nam=var(1)
msgbox nam

If nam="want" Then
Services.LogMessage nam,OutputMsg
Else
Services.LogMessage"Failed",OutputMsg
End If

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How to execute a winrunner script in quicktest professional?

650


Mention the test steps of qtp.

630


what is actually contain test report? can anybody post the test report

1567


What is qtpro? What is quick test pro? What is a quick test professional?

686


in a web page How to check and display a particular word from a paragraph?

2145






What is the extension of qtp local repository?

647


Dis advantages of XML checkpoint ?

1668


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

746


Which is the best QTP training institute in Delhi/NCR region and what is the approximate fee for QTP course (Basics and Advanced)

1474


What is the latest version of qtp?

681


Can we run multiple QTP scripts one after the other without manual intervention? How?

681


Hi All , How can we decicde for pariticular frame(DataDriven or Keword Driven)in Project? Thanks Balaji

1478


Hi Friends, Im planning to do certifcation in mercury Automation Tool QTP.But I Didnt get any clear details regarding course syllabus, fees, where to approach, and which certification would be useful for the experienced testers? can any one send me the details?

1613


hi i am working with vbwindow on qtp.first i am openning qtp whenever open qtp my application not open that time generated error like "Runtime error 0" and fatal error:automation error how to solve this problem pls tell me

1984


What are test settings and global settings?

657