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
Which environments are supported by hp qtp?
Will down time for server and content maintenance/upgrades be allowed? how much?
In QTP TEST DIRECTOR COMBINATION WHAT IS THE PURPOSE OF TEST DIRECTOR? In Somebody says to store test cases and design test cases.?ok fine , but In test director 5.0 , QTp not launching. what u do?
why text area checkpoints cannot used for web applications
Can the user toggle between using Local OR and shared OR for the same action?
What is the extension of the qtp local repository? If it is .mtr then what is .bdb extension stands for?
What is the limitation to XML Checkpoints?
Did the scripts need lot of maintenance? If yes, why?
Sql questions to find second max salary and how to use joins
What is Cross browser testing? Does UFT support it?
can test automation improve test effectiveness?
i'm using the qtp to test to vb appliction,i wanted to get the new application's title.i didn't want to use the winAPI to get it ,i 'd like to know whether a QTP function can do it. Eg: SystemUtil.Run "C:\Program Files\.....","","","" 'run an application, and misure the application is activating,then how to get the hwn wihtout using windowns api
how to convert 100 into hundred repees only and viceversa
How many ways we can parameterize data in quicktest professional?
in qtp 3 sheets is there in data table like global, action1, action2. I want to check the rows and columns in action2. how can check using script?