Thank You for the reply Ankur.
QTP is able to recognize different pop ups uniquely based on the parent, but as you see in my question I would like to send Window Type and Window Name of the pop up as input parameters to the function and perform the click on the OK button.
Basically I would like to write a function that would take Window Type (say Window or SwfWindow or another other window type) and Window Name (say MyApp or TestApplication) as input parameters and click on OK button.
Thank You,
Vamsee
QTP is able to recognize different pop ups uniquely based on the parent, but as you see in my question I would like to send Window Type and Window Name of the pop up as input parameters to the function and perform the click on the OK button.
Basically I would like to write a function that would take Window Type (say Window or SwfWindow or another other window type) and Window Name (say MyApp or TestApplication) as input parameters and click on OK button.
Thank You,
Vamsee