Answer Posted / rajasi patil
strValue = "This is my World"
searchWord = "my"
arrWord = Split(strValue," ")
For iCount = 0 to UBound(arrWord)
If strComp(arrWord(iCount),searchWord,1) = 0 Then
Reporter.ReportEvent micPass, "Word
Found "&searchWord, "At Position "&iCount
Exit For
End If
Next
| Is This Answer Correct ? | 5 Yes | 0 No |
Post New Answer View All Answers
what is the difference between data driver & data driven and driver script?
i need to add 1000 users in a domain i written the script for that and it is running successfuly but the problem is that my system is not the user of that domain in which i have to add users so for adding users in that domain i have to install qtp on that another system, can anybody suggest me the way to add those users from my system ultimately i want to know how to access remote computer through script
what is keyword driven testing in qtp?n how is it useful?
If there is a change in the object type eg: A button is changed as link, 1. How to edit that in the shared object repository. 2.What options are available to edit the object within shared object repository other than copy from loca; 3.What would be the effect of the change in Coded Scripts within QTP and Functions stored in .vbs file which are loaded and used in QTP
Differences between text and test area checkpoints?
Does quicktest professional (qtp) is unicode compatible?
Explain the features of quick test pro(qtp)?
How many types of recording modes are there?
Is it possible to switch between recording modes during a test creation?
Want to verify notepad reports using QTP framework or any other BV script method. Can anyone share the method to achieve it? Eg. Person Name is the header and the actual name is John then how can we verify weather person name is John
what is the difference between built-i function and In-built function?
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?
What are the different recording modes?
What is accessibility check point?
What are the benefits of qtp?