Function to convert lowercase to uppercase in QTP

Pls anybody can give the answer.. Thanks in advance...

Answers were Sorted based on User's Feedback



Function to convert lowercase to uppercase in QTP Pls anybody can give the answer.. Thanks in adv..

Answer / rajendra

txt="have a nice day"
t1=ucase(txt)
msgbox(t1)

o/p: HAVE A NICE DAY.

Is This Answer Correct ?    12 Yes 0 No

Function to convert lowercase to uppercase in QTP Pls anybody can give the answer.. Thanks in adv..

Answer / debee prasad kar

use ucase function which convert the string from lower case
to upper case.
ex:
str="hello frnds good morning"
res=ucase(str1)
msgbox res
simollarly we can use lcase function for converting
uppercase to lower case

Is This Answer Correct ?    2 Yes 0 No

Post New Answer

More QTP Interview Questions

How to capture dynamic objects in qtp like mark up text

3 Answers  


What is regular expression?

0 Answers  


I have a list box which contains duplicate values e.g. A,A,A,B,B,B,C,C,C.Now write a code in qtp to test the list box . Scenario #1 : I have to check whether any values are there? Scenario #2 : If duplicate values are there,then how many time it is getting duplicated? Svenario #3 : how can I test presence of items in list box ommiting duplicate values?

6 Answers   NIIT,


Is there any relation between Keyword Driven Framework and Recording modes provided in QTP( whether Recording modes are applied on keyword driven framework or not?)

0 Answers   IBM,


what is the purpose of .vbs file?

2 Answers   HCL,






what does it mean when a check point is in red color? what do u do?

4 Answers  


How we can merge the object repositories?say if we have 2 or 3 object repositories then how we can merge them?Is there any option in QTP to merge the object repositories?

2 Answers  


please tellme ordernal identifiers in QTP?

2 Answers  


Why you have to add the specific add in in QTP? My answer is to recognize the specific objects we have to add the add-in in QTP...but he asked again after adding addin how qtp recognize the objects successfully? what is there in the add-in ?

1 Answers   CTS,


Diff B/w Webserver and Client Server

2 Answers  


How i can change shared repository to per test repository in qtp

1 Answers  


Explain QTP Testing process ?

13 Answers   TCS,


Categories