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 phases are involved in testing an application in qtp?

0 Answers  


How you will rate urself in QTP in the range of 0 to 5

0 Answers   Genpact,


Why we use QTP ,We can use other tools like WR OrSilktest What r the options in Qtp that WR and Swilktest Does not have.

0 Answers   Hewitt,


Pls can anyone give me the descriptive programing script to find the number of edit boxes in a login window in flights reservation (windows application only not web). Pls anyone, very urgent

1 Answers  


Have you used TD?

2 Answers  






I have developed and executed a script successfully, and saved the same to QC. When I tried to execute the script from QC, the script is not executing. What are the possible reasons?”

0 Answers  


what are the settings to be done to make the recovery scenario created for one test to be used bye all the other tests. please tell me recovery scenario process in detail.

1 Answers  


Hai anyone please "Explain about Framework in QTP?"

0 Answers  


What is meant by Output Value in UFT?

0 Answers  


Does UNIX support QTP? If not what is the other tool used for Unix environment?

2 Answers   Amdocs, Fidelity,


what is delay in QTP?

2 Answers  


can any one tell me what is syntax error in line msgexist=Browser("title:=Gmail: Email.*").Page( "title:=Gmail: Email .*").WebElement(innertext=&msg).exist 'code ************** Call login("lal="," " ) wait(5) Call errormsg("Invalid email address. [?]" ) Function errormsg(msg) msgexist=Browser("title:=Gmail: Email.*").Page( "title:=Gmail: Email .*").WebElement(innertext=&msg).exist if msgexist then Reporter.ReportEvent micPass,"enter valid username or pwd ",msg else Reporter.ReportEvent micFail, "entered valid uname and pwd",msg end if End Function

5 Answers  


Categories