Please let know the scripts for counting number of repeated
letters in the word. Note repeated letter should not be
Ex: If "Hello" is my word... l is coming twice.. it should
count once and print... secong 'l' should not count again..
Answer / mahesh.k
str=inputbox("enter a string")
For i=1 to ln
If cnt>0 Then
If strcomp(x,mid(str,i,1))<>0 Then
For j=i+1 to ln
If mid(str,i,1)=mid(str,j,1) then
msgbox "no.of repeeted charecters="&nr
|Is This Answer Correct ?||1 Yes||0 No|
what is supply chain management?
when I was doing the web testing with QTP using with standard checkpoint the Object selection -checkpoint properties dialog box not displaying pages and links hierarchical order. Could you please tell me. thanks
How to capture the Check point Value into a variable?
How to open an application through scripting?
In an Excel sheet take two fields as agentname and password and type some valid agentname and password.call that excel sheet in qtp so that qtp opens the flightreservation window taking into consideration how many records are entered in the excel sheet.For example if 3 records are entered today it will open 3 FR windows,if in near future the records are more than 3 then it will open that number of times.
How to open any application during Scripting in QTP?
in qtp how i can retrive from a browser how many links are there.means total no of links used in a browser
How to use the Object spy in QTP 8.0 version?
Give a comment on Regular Expressions using QTP?
What is quick test pro?
what is descriptive programming in QTP? How can be done?
i have to login into gmail loginpage i have to pass testcase into userid and password by using functions. the test case of user id is it should take only lowerletters alphabetin between 4 to 6 length.it should not take spectial letters.it should not take numbers.testcase for password is it should take numbers and it should not take alphabets note the following things must happen 1 when i give correct password and userid that password and userid should be seen in QTP result and notepad,xl sheet 2 when i gave in valid password the system willgive message please give valid password that particular messaage should be seen in QTP result,norepa and xl sheet