Deal All,
Recently i face one interview question in one company.
str="test12@#3456"
In This i want to print like special character and numeric ,word in one script
please tell me how to write the code for this
Thanks
Balaji
Answer Posted / pushkar1206
a="pushkar12@dh"
b=len(a)
For i=1 to b
c=mid(a,i,1)
If isnumeric(c) Then
d=d&c
elseif asc(c)>64 and asc(c)<123 then
e=e&c
else
f=f&c
end if
Next
msgbox d
msgbox e
msgbox f
| Is This Answer Correct ? | 5 Yes | 0 No |
Post New Answer View All Answers
Explain QTP using different development techniques ?
Hoe can we do retesting using functions please give the code for it using login page
Explain the checkpoint in qtp?
How to get Traceability matrix from TD?
what is output value in QTP and how it can be used in automation testing
Write a script to verify font style and color of a windows object using descriptive programming
What is the difference between a Function and Action in QTP?
if mandatory and Assitive propertys are shows same how will u write skript in QTP window
After executing the script in qtp suppose i found some script execute successfully and found some error.So how to report the status for both (i.e pass and fail report)in test director. For "fail" We use "defect tab" in testdirector. But for "pass" how to report it to TL.what is the process plz anybody ans
What is text/text area checkpoint?
how to test load test and block box testing an a web based application pls give ans briefly
What is meant by Output Value in UFT?
Discuss quicktest professional environment?
What are the things(properties, and other details) will be recorded while recording an object using normal recording?
Please provide specific examples of advanced/creative usage of QTP, including how impact & benefits for your project