Given a string variable contain a full name (last name,
first name), using vbscripting, how can you extract first
and last name and save them into two different variables.
Answer Posted / uday
Use split method.
Here is the ex:
str="Uday,Anem" 'where Uday is first name and Anem is last
name
arr=split(str,",")
firstname=arr(0)
lastname=arr(1)
msgbox(firstname+" "+lastname)
| Is This Answer Correct ? | 8 Yes | 2 No |
Post New Answer View All Answers
What are the data types in qtp?
Can QTP be used for GUI testing ?, We are using Java with MySQL and Operating system is Linux. We are NOT using the web.
What is test object model in quicktest professional?
How to use reporter.report event in qtp ?
What is the quicktest professional testing process?
What are the technologies supported by qtp?
With what extension you can save the list of tests in a file to run in test batch runner?
Qtp has been installed on my pc but recently ON opening it is giving this error PLEASE REPLY IT IS URGENT IT WAS WORKKING FINE QTPRO.EX THE instruction at "0x7.. ...". referenced memory at "0000....The memory could not be read... Awaiting QTP XPERTS REPly URGENT
how do we know whether all objects are stored in the object repository or not? how can we know if a particular object is not stored in the repository?
What is checkpoint in qtp?
Can any body please tell me the steps of keyword driven framework of QTP.
how can we preform retesting(DATA driven test) using function please gine the code for loginpage
Where to use Property Let, Property Get, Property Set in UFT
Explain how qtp identifies objects?
Define virtual object?