how to count spaces in a given string ex: "this is jagadeesh"
in QTP with simple functional script
Answer Posted / karthik janahan
Dim str
str = "how to count spaces in a given string"
msgbox (len(replace(str," ","..")) - len(str))
Is This Answer Correct ? | 9 Yes | 2 No |
Post New Answer View All Answers
Explain how qtp identifies objects?
How to indentify MS-Word objects like Menubar, Toolbar, table/columns/rows/cells etc within Word document, using QTP?
What are the key elements available in test result window?
what is clean sweep?
How to test login module with different username and password by using data driven testing in QTP?
Difference between test object and run time object?
What are the benefits of quick test pro(qtp)?
Where should i find checkpoint and virtual objects's Object properties and values in the QTP 9.2 Means where checkpoints or virtual objects related data will store If i want to get the runtime object properties how can i use Getroproperties on Checkpoints
write the vb script for call to new action in qtp?
Explain different checkpoints in qtp.
what is the difference between the modular framework and datadriven frame work
I want to capture data(using keyword) from msdos application using QTP?... Below is little work i could do on it... /* Set app=CreateObject("Wscript.shell") SystemUtil.run ("C:\Users\Agent\Desktop\pumpsim\PUMPSIM.EXE") Window(“PUMPSIM.EXE”).Activate wait(3) app.sendkeys "N" */ Thanks in advance...!!!
Can any one tell me.......How the test engg's start testing in the compy environment.....real time tester PLSSSS help me i need in depth information regarding this...
can any body plz help by sending the qtp docs and qtp ppt's? this is my mail id:murali.padeti@gmail.com
How many types of parameters are available in quicktest professional?