There is a name "AJAY" how do u count no.of. "A" in that
name ?
Answers were Sorted based on User's Feedback
Answer / swarna
Dim txt, cnt
txt="ajay"
p=split(txt,"a")
cnt=0
for i=1 to ubound(p)
cnt=cnt+1
next
b=cnt
msgbox cnt
| Is This Answer Correct ? | 5 Yes | 0 No |
Answer / nayana
Dim str
str="ajay"
b=len(str)
for i=1 to b
c=mid(str,i,1)
if c="a" then
d=d+1
end if
next
msgbox d
| Is This Answer Correct ? | 0 Yes | 0 No |
I want to learn Advanced QTP, suggest me the best faculty in Hyderabad
How do you move objects from local object repository to shared object repository???What are methods?
While recording a login window QTP is identifying only parent window,then how can u identify the child objects.
What is data driven testing in QTP?
what is the framework followed by ur company in qtp
Will QTP Support Japanese Language?
3 Answers Cap Gemini, Infosys,
What r the diffrernt file extentions in QTP?
What is Optional step?
suppose i can done the project , that project have 4 modules in that one module they have many links(web pages).in that time i can say i can work on some links? or total module?
datatable.Import("E:\Programming Samples\QTP Samples\OrderNumbers.xls") Asume we have 4 records in datatable Code reads the 4 rows in the sheet ok, but does it 5 times? It doesn't sound like closing the datasheet is the problem Can we close the datasheet runtime ?
i'm using QTP 8.2, How should i select(browse) object repository from desktop(or from local local drives like C:\,D:\)?. Note:- object repository to select(browse) is been sent by some other person who is using QTP 9.0
what is ODC and GDC?