How to check and display a particular word from a paragraph?
strParagraph="There are subtle differences between these methods. The CreateTextFile is used to create a file and a
TextStream object. This method can optionally overwrite an existing object. The OpenTextFile opens an
existing file and returns a TextStream object, but can optionally create the filename if it does not exist. The
OpenAsTextStream object opens an existing file and returns a TextStream object."
str="opens"
if Instr(strParagraph,str)>0 then
msgbox "The particular word found from the paragraph"
msgbox str
else
msgbox "particular word not found from the paragraph"
end If
Is This Answer Correct ? | 1 Yes | 0 No |
In QTP where i have to concentrate more in the Interview point of View
Hello, How can i capture first letter of any string using QTP. For ex.. i want "j" in the below string "john" could any one explain me? Is there any function for that?
hi i have one issue while automating the script using QTP i want scrool down .i cannot do even using scrool down methqad is not working .the object will take WebElement plz is there any code help me
How you can replace string in qtp?
what is L-trim function will do?
What is action required by QTP if a popup message is coming in exsisting script and now it is not coming. The script is having code to deal with popup message now when we run the script now the popup i snot coming according to new build, instead of changing the code what we can do?
The hybrid framework can be implemented for any application. Is it true?
How cookies can be tested in QTP?
How many types of actions are there in quicktest professional?
Could any one tell me "How can i recognize my cursor position using QTP 9.2" Give me a scripts for this
Write a QTP script to print all the link names displayed in a web page
What are private functions in QTP? How they can be called from the function library?