how do you find the number of occurences of string QTP from the expression , " QTP+QTP=2QTP"
Answer Posted / lavanya
Str = "QTP+QTP=2QTP"
for i=1 to len(str)
amid=mid(Str,i,3)
Msgbox amid
if amid = "QTP" then
cnt=cnt+1
end if
Next
MsgBox cnt
| Is This Answer Correct ? | 2 Yes | 1 No |
Post New Answer View All Answers
How to record a qtp script ?
When I click on a link in web page.Link should open in new window.can anyone please let me know the script for this ---Koti
hi i am working with vbwindow on qtp.first i am openning qtp whenever open qtp my application not open that time generated error like "Runtime error 0" and fatal error:automation error how to solve this problem pls tell me
how can i call function (which has link with excell sheet at a remote location) within another function
i have an external excel datasheet where it only contains 3 rows. after qtp executed the code to import the datasheet, the datatable getrowcount method now gives me a different value, lets say 60,000+ instead of only 3. i did not have any values starting from row 4 of my excel file. why is this happening? this also results to the qtp report to load for a very long time.
hi guys we r working in office...we write some scripts..suddenly we have a work(5min only) in out side..what will do now,,,used to system shut down or log off or lock or sleep mode,switch use or hibernate?
Is the qtp course will help to create a virtual object?
what are the frame work models of qtp?which frame work you follow in your company?and explain it process?
What are the types of data tables in qtp?
How to customize checkpoints with parameters?
How to export quicktest professional (qtp) results to an .xls file?
i have doubt suppose iam purly working in manual, when i will get work to do on sql and performence testing? pls any one clarify doubt?
Which features or drawbacks of QTP lead to the upgrade for a newer version?
If I give some thousand tests to execute in two days what do you do?
I need to pull the data from the page which in row, column vice into excel sheet, how can it be done using QTP? eg: Name Dept xyz gdty i need the same data to be exported in excel sheet.