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

Hi all, In Every interview interview asking one question what type of challenges you have been faced in your project?

1 Answers  


tell me about regular expressions in QTP? where we use? give eample?

2 Answers   IBM,


what is retesting?

2 Answers  


What is the difference between check point and output value.

5 Answers  


How will you check a web application for broken links using qtp?

0 Answers  






What is object state in trigger events,in recovery scenario.write a script to handle this.

0 Answers  


In a webtable,a list of values are there,rightnow one values shows,later random another values shows,but how to retrieve the random value in webtable.

1 Answers   HP,


why we use sendkey method in qtp?

2 Answers   ABC,


What is recovery scenario in qtp?

0 Answers  


In real time ,How to run all scripts in QTP? i,e in projects

3 Answers  


How u execute test cases in manual testing?

2 Answers   Accenture, Infosys,


I have a drop down box to show selected number of records in result page.It contains 4 items like 10, 25,50 and 100. when i was recordes script for seelcting each item and checking selecting number of records in the result page( it is in the same page in the table format)it is generating a new page with same controls( objects) in the OR. how to avaid these in OR? is it possible to write DP for only these lines?, remaining(remaingin lines of code) objects i want use from OR only. One more problemis if change ( add /remove properties of an OBJECT in OR , my ( recorded )application is not running.

5 Answers   Virtusa,


Categories