how to retrive that the number of spaces are in a string ????
Answers were Sorted based on User's Feedback
Answer / kamakshya prasad
Dim str
str="QTP, an automation Tool uses for software testing"
s=split(str," ")
msgbox ubound(s)
| Is This Answer Correct ? | 6 Yes | 0 No |
Answer / uday
You just split with space, and the ubound of that array +1
is the number of spaces.
| Is This Answer Correct ? | 5 Yes | 4 No |
what are the functions availabla in QTP? what are the data types in QTP?
What is the QTP test frame work?
Give one example of Standard checkpoint in qtp 10?
we have one text box and one list box(list box appear in same page or another page) what ever the text enter in text box that must be displyed in list box as first one. for example if we enter 10 in text box that is the 1st item in list box . after that we enter 11 then 11 is the 1st item and 10 is 2nd item. the maximum limit of list box is 10 items. if we enter 11th item the 10th item is deleted and llth one is add as 1st one and 9th one goes to 10th position
How can i open a file in Textpad and replace a string with another using QTP
can QTP works on LINUX platfom
what is defination of system testing?
3 Answers CodeArrow, Infosys, Omax,
What is the difference between Dim And Redim
4 Answers Hotel Jobs, IBM, Microsoft,
Explain what the difference between Shared Repository and Per_Action Repository
for example one window is there, the window contains how many edit box's i want script? i know the script but that is not exact answer.... The script is like this .......... set a=description.creation() a("Native class")="WinEdit" b=window("Flight Reservation").childobject(a).count msgbox b
A web Page has 2 frames. Find out the number of weblist items in the second frame of the page.
How to data driven test for Win objects in QTP ?