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

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

Is This Answer Correct ?    7 Yes 21 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Hi frnds, does anybody know if there is anything called "thin point" or something in qtp? thanks in advance.

1568


suppose i login into gmail page after that i read all the messages (say 10 messages) i have to send (SAVE) the messages in Html,notepad and i have to replay(Compose) send the messages please give me the code and give mail id so that i can clear my question

1488


hi, can u tell me the QTP TEsting process in present real time companies?(beware of this... now a days Recording is not using,, only DP) and don't tell note book answers like step 1 spep2....like this .......post answer with professional skills in simple english words) thank u

1332


Explain advantages and disadvantages kdf?

527


what is meant by Implicit and explicit requirements?

3622






Hi am New to Automation Testing , any one can you help me what are the basic questiion are asked an interview?

1423


How to give a call to another action from one action?

629


How do you synchronization point through DP?

602


How to get the format of a webedit class in qtp. How can i know that particular webedit accept what type of format like "mm/dd/yyyy" or "$" or Alphanumeric

1645


What is keyword driven framework?

620


Explain the concept of object repository and how QTP recognizes objects?

553


Does QTP have any limitations?Can it work with all kinds of programming languages like java,springs,ajax ,hybernet?Also does it work well with windows 7.What are its other limitations

1764


Can we call qtp test from another test using scripting. Suppose there are 4 tests and I want to call these tests in a main script. Is this possible in qtp?

658


Can any one explain me what is the procedure to connect the remote desk by using QTP 9.2 ?

1519


How to connect to a database?

579