how to retrive that the number of spaces are in a string ????

Answer Posted / 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



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Tell me about your project? please help me how to tell about insurance project

1545


Explain the checkpoint in qtp?

600


How to indentify MS-Word objects like Menubar, Toolbar, table/columns/rows/cells etc within Word document, using QTP?

1816


hai, i completed my b.tech in 2010 with 62.3%. i having knowledge on manual testing and Qtp. i want Relavent experience in testing.watever may be d salary i dont bother..I just want to gain knowledge. i dont have good communication skills.

1434


Hi Guys, I want to place all of my values which i am getting it from a loop in to a global shee. For that i had written the script like this For i = 1 to ECOs-1 ECO = List(i).GetROProperty("innertext") DataTable.AddSheet("ECOList") DataTable.GetSheet("ECOList").AddParameter "ECOList",ECO AbortECO = DataTable.GetSheet("ECOList").GetParameter ("ECOList").Value msgbox AbortECO DataTable.GetSheet("ECOList").SetNextRow Using the above script, whenever the loop iterates it is creating new column "ECOLIST" in the sheet called "ECOLIST". It means, the values are displaying in the column wise even though i added the script " DataTable.GetSheet("ECOList").SetNextRow" . The cursor is not moving to the next line. Anybody help me out how to pass the values from script to the excel(Global/Local) sheet. Pls let me know @ nbabu11@gmail.com if you are not clear about the question.

1392






Can we write winrunner language i.e TSL in QTP tool?

1483


In QA Testing when do you use Loadrunner vs QTP? What are the main differences between those two tools? Explain the purpose with real world scenario examples...In advance thank you!!!

2388


How smart identification works in qtp ?

585


Can we call qtp test from another test using scripting. Suppose there are 4 tests and I want to call these tests in a main script. Is this possible in qtp?

662


How do you send email with attachment from outlook using qtp ?

567


please any one can explain the keyword driven framework. with gmail example.

1631


How to save your test using quicktest professional (qtp)?

605


What is checkpoints for qtp?

541


Which advantages helping QTP to hold the position of "Market Leader" for such a long period?

1395


Dear All , For UFT 12.02 which version QC or ALM will support ? Thanks Balaji

931