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 / 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 |
Post New Answer View All Answers
Explain the parameter in qtp?
How to test the login page in different ways in automation testing and i need code?
if anyone has idea of the interview procedure in covansys, plz send me a mail?
If a button named "CLICK" is recorded in low level recording mode , what will be the values stored for "name" property of that button in object repository ?
How to do the scripting. Is there any inbuilt functions in qtp as in qtp-s.
Can any one brief some detail on how the shared and action object repository utilized/implemented in a real time project. I already know how to make shared object repositor by saving OR as .tsr extension..I wanted the actual concept of implementation...couple of live examples will be highly appreciated. Thanks
how interviews will be on QTP?
what is the difference between the modular framework and datadriven frame work
what is the difference betn QTP 8.0 AND PREVIOUS VERSION
how to disable the pop ups through QTP using a script
How smart identification works in qtp ?
explain how to write vb script in qtp?when will you write own script?
How to associate function library at a run time?
What are the methods of the TextStream object that are used for reading from a text file?
Without integrating QC/Testdirector with QTP, is it possible to keep track of the defects?If yes how? How to export QTP results to an excel sheet?