How to remove the spaces in a string Ex: "Welcome to
QTPWorld" ?
Answer Posted / vishnu
Str = "Welcome to QTPWorld"
Sp1=Split(str)
For i=0 to ubound(Sp1)
temp=temp&Sp1(i)
Next
print temp
Is This Answer Correct ? | 1 Yes | 1 No |
Post New Answer View All Answers
Explain about adodb.stream class?
What is sql loader? Explain the files used by sql loader to load file?
Which operator can be used to change the value of the operand or change the state of the condition?
How can constants be declared in the vbscript language?
How to identify column in VSFlexgrid? My VSFlexgrid window is identified as 'Active X Control'
how to answer "TELL ME ABOUT UR SELF" as exp.person. whr to start and whr to stop. can anyone tel me
How to use QTP Object in .vbs(vbscript file) file Ex: Browser().., wait(), exist() and etc...
What is the purpose of on error resume next statement?
What is the output of a + b in vbscript if a = 5 and b = 10?
What is the purpose of the err object in the vbscript language?
Explain about tristate constants?
who will create the object?
How will you compare two strings in vbscript?
i wrote vbscripit code in notepad i got error i am in learning stage if u ps tell me what wrong in my code my error is "object required descriptive at line one run time error"and my code is "set usernameobj=Descriptive.Create() usernameobj( "name").value="Username" set passwordobj=Descriptive.Create() passwordobj("name").value="password" set signinobj=Descriptive.Create() signinobj("name").value="sigin" browser("gmail").page("gmail").WebEdit("usernameobj").set ("enter username") Browser("gmail").Page("gmail").WebEdit("passwordobj").Set secure.Crypt.Encrypt("enter password") browser("gmail").page("gmail").WebButton("siginobj").click
create a form to accept username and password validate the username and password with using message box, display the corresponding user message