How can I find out whether a word in a string is existed or
not
for example
"QTP IS A POWERFULL TOOL FOR AUTOMATION"
How can i find out whether "powerfull" is existed in the
above string or not
Could anyone answer it?
Answer Posted / prasoona
s="QTP IS A POWERFULL TOOL FOR AUTOMATION"
ss="powerfull"
If Instr(1,s,ss,vbTextCompare)<> 0 Then
msgbox ss&" exist in " &s
Else
msgbox ss&" is not exist in " &s
End If
| Is This Answer Correct ? | 3 Yes | 1 No |
Post New Answer View All Answers
What is the syntax to call one script from another?
how to do the batch testing in test director using manual testing procedure?
I want to know can we integrate visual source safe tool with QTP and QC for our version controlling process? WE know QTP and QC 10.0 version is having the version control inbuilt in it but I want to know the merits and demerits of the inbuilt version control tool and the visual source safe tool using QTP and QC.
When Recovery scenario actually starts while testing the application?
how can i pass a "automation script" as a parameter in a function give me need full suggestion thank inadvance
Hi all, I am using windows vista, I am in the process of learning QTP. When ever I try to work with insert mode in flight application , i am getting the error of 'Operation must use an update table query, fractional truncation(null) error. Can anyone help me regarding this?
What are the major/ important methods, functions in QTP we use realtime testing
what frame work you are following?
How to test background color and dynamic images during run time can you put the check point for moving objects?
How to use userdifined environment variables.Once we created in Environment tab which is at File--> Settings-- >Environment-->Userdifined
HI, pls help me on this, iam not able to capture getcelldata value in javatable... msgbox javawindow("").javatable("").getcelldata(3,3) but it diaplays empty...
Discuss quicktest professional environment?
What test cases can you automate using QTP?
What is standalone database?
what r the verstions from 1st to present (verstions) of mercury tools (like winrunner,QTP,Loadrunner) ? Chandana