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

Can you write a script to check if the folder exists or not?

515


In a flight window we have to enter the name and meal request for every passenger.In that window if we give Total passengers=1 then the Psngr1 name field and psngr1 meal request field will reflects.if we give Total passengers=2 then Psngr1 name field and psngr1 meal request field,Psngr2 name field and psngr2 meal request field will reflects and so on.if total psngrs=100 then will we capture all the fields for the psngrs to Automate the app how we can handle this scenerio thru Descriptive programming?

1451


What are the main differences of qtp and win runner?

593


Explain about Test Fusion Report of QTP?

610


How QTP identify the system time that's changes every seconds?

590






What is the quicktest professional (qtp) testing process?

566


What are the different types of qtp test assets and their extensions?

592


What are the challenges u faced in testing with crm domain? How u overcome with?

1483


What is the difference between rational rose and QTP?

1776


What is a programmatic description?

597


How can you handle exceptions in qtp?

532


Have you used xml check point in your project? How?

543


How do you create new test sets in td?

529


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

1451


Discuss quicktest professional (qtp) environment?

574