HOW CAN WE GET THE VALUE OF TEXT BOX IN QTP? can you give me
sample script for this where there is some condition. like
if "text" THEN msgbox() else endif

Answer Posted / gavaskar reddy

a=inputbox("text")
msgbox a
if (a=true) then
msgbox "pass"
else
msgbox "fail"

Is This Answer Correct ?    4 Yes 11 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Is it possible to use two instances of UFT on the same machine? If not why?

853


What is test object model in quicktest professional (qtp)?

779


How many types of Automation frameworks are there in UFT? Describe them.

785


This is Karthic and my mail id is karthic.venkitapathi@gmail.com, please give me an idea to crack qtp 10

1745


Explain how Does Run time data (Parameterization) is handled in QTP?

787


can anyone tell me what to say in interview when interviewer asks about "tell me about your framework in your project"?

1657


Print the Prime numbers in below format only up to 20(Need commas also) 1,2,3,5,7,9,11,13,17,19

1442


How to execute the WR Script through QTP? I have WinRunner script with initialization script, common scripts, GUI AND functions. I connected WR through QTP with "call to WinRunner" option but I am getting problem after connecting to WinRunner i.e. showing "Do you want to quit now" with 'yes' and 'No' message box

2074


what is the difference betn QTP 8.0 AND PREVIOUS VERSION

2220


Analyzing the checpoint results?

813


descriptive program for a yahoo mail that is in yahoo mail suppose check box mailid subject assume it is like this format all things are in webtable the question is suppose some mail ids are there in that mailids i want to select the check box wich is before a@gmail.com and after that i want to click on delete button

2024


Where should i find checkpoint and virtual objects's Object properties and values in the QTP 9.2 Means where checkpoints or virtual objects related data will store If i want to get the runtime object properties how can i use Getroproperties on Checkpoints

1693


How many types of recording facility are available in quicktest professional?

847


Hi, Hope you viewers are doing fine with good health. What are the steps and connection parameters to connect to Oracle db ? Can you connect with just the Oracle client or Oracle XE ? Cheers!!

2702


How you know that a test case is a regression test case

3508