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



Deal All, Recently i face one interview question in one company. str="test12@#3456" ..

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

More QTP Interview Questions

how to change the properties of object during run time . plz give the code using flight reservation

2 Answers  


1.what is the extension of action template? 2.what are the strengths and weaknesses of Keyword driven framework? 3.how qtp identify runtime objects?

1 Answers   Satyam,


does test plan is in test strategy or test strategy is in test plan

2 Answers   Tanla Solutions,


How can I test the unix shell in QTP

2 Answers   Persistent,


what r the executing modes in QTP

2 Answers  






How can you exit from an action?

0 Answers  


What are the disadvantages of recording test cases in qtp?

0 Answers  


what r the main benefits of automation?

2 Answers  


How can i get QTP 9.2 software or any webside where i can download ? can anyone help me out , i want to be expert in QTP ,but i don't have the software

3 Answers  


when i perametarization of the test through outputcheckpoint,i have seen run time error i.e outputcheckpoint mismatch .Plz tell anybody to me(qtp).How to clear that?

1 Answers  


hi i have one isuue on selecting webcheckbox .there are 15 wecheckboxex i want to select every time 9 th one how can i select plese help me regards balaji

4 Answers  


What are the environment variables?

3 Answers  


Categories