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 / sree
val=window("customer").edit("").GetTOProperty("text")
msgbox val
if (val=true) then
msgbox "pass"
else
msgbox "fail"
Is This Answer Correct ? | 10 Yes | 5 No |
Post New Answer View All Answers
Hi All, I have QTP installed on my machine but the application under test is on remote machine. I need to automate the scenarios which consist of automatically enter the remote machine through IP address ,record the application in remote machine and run it also when played. Can some one tell how to record the application in remote machine.
How extensive or customized are the server logging and reporting requirements; are they considered an integral part of the system and do they require testing?
What are the different types of recording modes in qtp? Which will be used when?
Excel sheet having some datas and some datas present in the application (in table). How will you compare these two datas? Write code to fetch datas from Excel sheet.
Mention the different actions types of qtp.
If created one virtual object? Next time I changed the window position will it work?
Which functionalities of QTP used in banking project? pls any say answer?
Explain the checkpoint in qtp?
What are the things(properties, and other details) will be recorded while recording an object using normal recording?
On the website, the protocol has been changed https: to https what you will do? Tell me your approach?
What is data driver in qtp? Where we use it?
Explain the views in the QTP GUI?
Explain different checkpoints in qtp.
Hi, Can anyone please tell me how to connect the QC with QTP using QTP script? Thanks in advance
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?