how do you find the number of occurences of string QTP from the expression , " QTP+QTP=2QTP"

Answer Posted / tejesvini

Str1 = "QTP+QTP=2QTP"
var1 = Split(Str1,"QTP")
var2 = Ubound(var1)
msgbox var2

Is This Answer Correct ?    8 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Hi All, I Want To excute scripts batch without using QC .I need code for that Thanks Balaji

1312


Excel sheet having some datas and some datas present in the application (in table). How will you compare these two datas? Write code to fetch datas from Excel sheet.

1493


How many types of actions are there in quicktest professional?

508


how to convert 100 into hundred repees only and viceversa

1445


Who uses qtp tool?

568






Which advantages helping QTP to hold the position of "Market Leader" for such a long period?

1374


How many add-ins comes by default with quicktest professional?

549


Hi iam shankar here, right now iam working on manual testing. i want to switch over automation tool qtp, right now iam taking training class outside on qtp, please let me know the cost of QTP tool for full version, wether it's an annual subscription or monthly subscription.

1703


What is difference between shared and local object repository?

583


What are test settings and global settings?

575


I have created 3 actions in test action1, action2, action3 but I want run action 1,action 3,action2 how can you change in the actions in keyword view?

604


What are metrics and matrix?

1359


What are the views available in quicktest professional?

557


Why qtp always start action1 and does not start action?

596


What are the disadvantages of recording test cases in qtp?

591