How to watch currnet value of an object like OK buton or
edit box with "Agent Name:" label. in watch expression tab?

Answers were Sorted based on User's Feedback



How to watch currnet value of an object like OK buton or edit box with "Agent Name:" lab..

Answer / koteswara rao m

WR, Put break point where the script realted to OK buton or
edit box. Now start to execute the script. Automaticaly
script will stop at that break point then now click on
watch expression and then enter "Agent Name:" in that text
field.

Please consider this answer is only in my point of view.

Is This Answer Correct ?    6 Yes 0 No

How to watch currnet value of an object like OK buton or edit box with "Agent Name:" lab..

Answer / srinu

In watch statement we can see the values of an variable ,
but , If we want to see the values of an button and edit we
have to get the values of the of those object in an
variable and then we have to give the watch.

Is This Answer Correct ?    1 Yes 2 No

Post New Answer

More QTP Interview Questions

How should i get name of the screen? Ex:There is a "submit" button.If i clicked on the submit button it opens a screen. I want that screen name.How can i get that screen name I dont have any property regarding that screen. If suppose we cliked on the screen , Then QTP captures the screen properties then i can get the screen name by using GETROPROPERTY But i want the screen name without clicking the screen. ("I am using the "settoproperty" for Second screen by using fist screen properties") Please tell me anyone

3 Answers   Livetek,


pls tell me how will you write the vb script in QTP for DataDriven test from Excel sheet for multiple userid and password explain with example

6 Answers   Ordain Solutions,


how did u use automating testing tools in ur job?

0 Answers  


I have a Webtable object in my shared object repository, say WT1, which has different index value in 2 different versions, one version having WT1's index value as 1 and other version having WT1's index value as 2. how could i use same test script to identify the WT1 object having different index values.

5 Answers  


How to use Environment parameterization? Explain with an example.

0 Answers  






in a web page How to check and display a particular word from a paragraph?

0 Answers  


My company has recently started using Ajax for building UI and QTP is nor recognizing the drop down list for selection.It recognises it as a general Web Element or Web Table. I have added individual selections from the drop down as web Table. It works as long as the page is not refreshed. I need some help and inputs as to how to make QTP recognise a drop down list for selection. Any help will be appreciated.

1 Answers  


I used child objects to get the no of weblist present in the weblist.now i need to select the items present in each weblist ?How to do so

0 Answers  


Can a function return a dictionary object?

2 Answers   CG, Semantic Space,


What is the extension for Recovery scenario?

2 Answers  


Which version of QTP is using by companies nowadays?

4 Answers  


What is the differnce between action & script

2 Answers   Lehman Brothers,


Categories