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 |
Browser("Las Vegas Hotels - Las").Page("Vegas Hotels - Hotels").Link("Luxor") ......here Luxor is a hotel and this is recognised as a link. I have many hotels like Luxor, Palms etc which are all displayed as link...How do I parametrize this by using webtable functions??? ASAP
i am trying to automate yatra.com,in that site, when i go to automate the Leaving from field showing as a WEBEDIT, but when i enter 1 or 2 char, it displaying dropdownlist, i try to use keyboard automation to select the item from that list but it is not possible, can anybody help he. Thans for posting the Answer
Interviwer asked, How many years exper.. on QTP? I said, total 2 yrs exp in manual and QTP. QTP only current project arround 3 months. then interviewer ask , HOW BOLD YOU QTP? What you say?
IS standard check point is very important than the other check points in QTP? If so why?
wt is memory leakage?
The structure of keyword driven frame work is like a folder structure the different sub folder are 1-functional libray folder 2-object repository folder 3- database folder 4-appliction1.xls 5-initalzation vbs file 6-sequence file 7-driver script 8-test case list file My question is whether these are in a local server machine or in our pc.((whether It like Vss). can u give example of driver script(code)
suppose i can done the project in automation tool with QTP in that time what i can say?
What is the use of "Define new test object" in QTP 9.1 When should we use? Explain?
when a test case is written how u test using qtp
Using Object Repository is a advantage or disadvantage?
Pls anyone, tell me the script in QTP to find the number of links, and images in a webpage. Verry very urgent. I shall really be very thankful
I want to clear the webedit field without using set"" in qtp script