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

Can we create a qtp test from qc?

586


Explain different type of event trigger option.

535


What are the Application Functions available in QTP?

1475


iam have done mba(finance)in 2008. in 2008 one reputed consultancy came off campus interview our institution. i got job as "manual test engineer". now iam working as "manual testing engineer". now my problem is when iam going interview the interviewer asking like " ur mba gradute how can u get job in test engineer." this question i have faced every interview. iam explaining how iam getting job. but they are not trust me". pls tell me answer how i am giving relavent ans.. this is my mail id y.ramana84@gmail.com

1396


what is the difference btn risks & Therads in the Test plan documentation?

1585






An action has both shared and local or associated to it and both have the same object in them. In the test which one will be considered?

648


In qtp, explain what is crypt object

592


How will you handle java tree in qtp?

621


There is an built in window application in qtp9.1,i.e.Flight4.0.i want to implement the recovery maneger on it.How can i do this?

1624


Can any body please tell me the steps of keyword driven framework of QTP.

1565


If u r using library files (Instead of Check Points) , How do u do bitmap check ?

1451


How to associate function library at a run time?

700


How to customize checkpoints with parameters?

3018


any body plz send health care domain project to me with explanation any two modules on that project. mail_id: ranjith_99reddy@yahoo.co.in

3440


What is the difference between a Function and Procedure in QTP?

675