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
How does quicktest professional (qtp) identifies the object in the application?
Is QTP supports Unix. If yes, then how the test automation is done?
how to explain a claims and insurance project?
hi, FOR 3+ QTP INTERVIEW, FOR EXAMPLE WE PUT ONLINE BANKING SYSTEM PROJECT IN OUR RESUME, IN PROJECT MANAGER ROUND...WHAT R THE MAJOR QUESTIONS ARE ASKED IN P.M? PLS TELL ME ATLEAST 10 QUESTIONS?.....AND IF POSSIBLE POST ANSWERS ALSO....
How can get count of list box?
How many number of actions possible in qtp?
Explain the types of object repositorys in qtp?
how can we compare descriptive programing with a regular expression
Sql questions to find second max salary and how to use joins
what the difference between shared repository and per action repository?
How you can replace string in qtp?
how do you parameterize search button from the website? the page is a single winobject and i have made a virtual object button of search button but search box can't be converted into a winedit and if we try to convert it into winedit the value we enter in a searchbox appears as numbers in the script so we arent able to parameterize.help!!!
How to use actions in qtp ?
What is post recovery scenario?
i'm using the qtp to test to vb appliction,i wanted to get the new application's title.i didn't want to use the winAPI to get it ,i 'd like to know whether a QTP function can do it. Eg: SystemUtil.Run "C:\Program Files\.....","","","" 'run an application, and misure the application is activating,then how to get the hwn wihtout using windowns api