During execution, how can we capture the data from the pop-
up, ie. when any popup comes with some numbers written on
it, then how can we capture the value/number that is coming
on the pop-up and save in the dynamic file/or other file,
even when the run is going on.

Answers were Sorted based on User's Feedback



During execution, how can we capture the data from the pop- up, ie. when any popup comes with some ..

Answer / ashok kumar

Hi,

Use Getroproperty,
For ex: ivalue =
Browser(".*").Dialog(".*").GetRoProperty("text")
Now, using FSO save the ivalue in required file.

Is This Answer Correct ?    3 Yes 2 No

During execution, how can we capture the data from the pop- up, ie. when any popup comes with some ..

Answer / saharsh

B("b").Dialog("").static("".Getroproperty("any roperty which
describes the popup contcnt)

Is This Answer Correct ?    0 Yes 1 No

Post New Answer

More QTP Interview Questions

suppose take one row in a row 16 columns is there.in 16 columns 16 numbers is there.but i want to get each 3 column number.o/p :5 columns get in 16 columns means. so can anybody write this function? plz send if u know the answer.

2 Answers   Bosch,


how to use import and export sheet methods in qtp

1 Answers  


What is All object and Local object in Object Repositary? Explain me please.

3 Answers  


Hi All, I am 4 yrs experieced in manual testing and new to automation tool QTP. Iam trying to learn it thru online and material i have.I am able to understand but unable to trace out which method or function to be used where necessary in VB Script. How come we know the functions or methods to be used to open a window when clicking on button or so...Pls suggest me.How can i proceed further to apt VB Script.

0 Answers  


What is output value in QTP? Why do we use the output value in QTP?How many types of output values are there in QTP? what are their respective usage in QTP?

14 Answers   IBM,






in qtp how can we do test when the build is not ready

3 Answers   Mindlance,


What are the types of object repository?

0 Answers  


How to get all the objects count and objects names in webpage using QTP ?

6 Answers  


How do we call Library Files(.vbs) in the Test Script Thanks in Advance...

6 Answers  


An object is created, i dont know the methods available for that object, i want to find methods available for that object and use the required method. How i can do this???

4 Answers   HCL,


How many types of Parameters are available in QTP?

1 Answers  


what is the difference between window command and dialog command

1 Answers  


Categories