how to count the word "IS" is repeated in the application
using DP

Answers were Sorted based on User's Feedback



how to count the word "IS" is repeated in the application using DP..

Answer / kis

str="mismismismis"
cnt=Split(str,"is")
Msgbox ubound(cnt)

Is This Answer Correct ?    7 Yes 0 No

how to count the word "IS" is repeated in the application using DP..

Answer / kis

str="mismismis"
p=1
cnt=0
while instr(p,str,"is")>o
cnt=cnt+1
p=instr(P,STR,"is")+les("is")
wend
msgbox"is is repeted for "&cnt

Is This Answer Correct ?    4 Yes 1 No

how to count the word "IS" is repeated in the application using DP..

Answer / lakshmi

hey. u r question is not clear.

Is This Answer Correct ?    2 Yes 0 No

Post New Answer

More QTP Interview Questions

what is the Descriptive Progarmming? how it is help to testers in QTP?

4 Answers   TCS,


What is the difference between Dim And Redim

4 Answers   Hotel Jobs, IBM, Microsoft,


Explain about Hybrid Framework

2 Answers   IBM,


If requirments changed then how we can teach the QTP this is the new requirment

2 Answers   Accenture,


I recorded a Web based Application running on JAVA and when I went to play them back a week later they didn't run. I noticed that the Browser was putting in a (Underscore and a Number) for each line so i re-recorded and noticed the Underscore line wasn't the same as what i recorded last week so any script I record today will not work next week because the browser settings or how QTP recognizes it keeps changing. This is the new line Browser("Bureau of Labor Statistics_4").Page("Bureau of Labor Statistics").JavaApplet("SurveyApplet").JavaList ("Select an Area").Select "U.S. city average" This is the old line 'Browser("Bureau of Labor Statistics_3").Page("Bureau of Labor Statistics").JavaApplet("SurveyApplet").JavaList ("Select an Area").Select "U.S. city average" Notice the Burearu of Labor Statistics_3 adn Burearu of Labor Statistics_4. Why does it change and how do I prevent it from changing.

5 Answers  






i want know iam working 2+ exp in QTP can i do performence testing (eg:loadrunner) yes r no?

6 Answers   IBM,


How qtp recognizes the object?

0 Answers  


what are the frame work models of qtp?which frame work you follow in your company?and explain it process?

0 Answers   Covansys,


How can we do Data driven testing Using For loop in QTP?

2 Answers  


1. What is extense of Result file in QTP?

7 Answers  


can u store QTp frame work folders in VSS? If Not where u store those?

1 Answers  


what is the advatages of merging of object repositories in Qtp9.0

3 Answers   TCS,


Categories