How would you parameterize the text field "Country" and the
same "country" when it appears as combo field
on other page with text field city and same with City combo
field?

Answer Posted / puneet

I think the question says that , there are 2 diff combo
boxes with the same name , Now how to parametrize them ?

as far as parametrization is concerned it can be done
easily once the objects are diffrentiated .For the objects
to be diff. recognized by QTP. You can add properties to
the objects eg. index,size,hieght,width etc to difff. And
then apply any parametrization u like.

Is This Answer Correct ?    0 Yes 5 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are the properties you would use for identifying a browser and page when using descriptive programming?

794


How many scripts did you have?

1917


we use a file extension .properties why is it used and where do we use it plz help me out with detailed explanation and navigation of how to use on the QTP 8.2?

1842


Why bpt?

798


How many types of object repository in qtp?

822


Name the properties you would use for identifying a browser and page when using descriptive programming?

741


how to prepared for first for the first interview?

2023


How QTP support all types of applications (platforms)?

4253


Hi, how can we check or avoid the memory leakage in QTP9.2?

1841


What are the methods of the TextStream object that are used for reading from a text file?

1877


What are metrics and matrix?

1541


In the website, the protocol has been changed http: to https what you will do? Tell me your approach?

772


Hi, Can anyone please tell me how to connect the QC with QTP using QTP script? Thanks in advance

1681


Hi All, issue is related to handling pop up script generated in IE, and run on mozilla. In App Under Test, when we get the alert pop ups, we just click ok button. if we need to run the same code on mozilla it will not identify . so we will check browser if browser(*).dialog(IE object).exits browser(*).dialog(IE object).winbutton(OK).click else 'by default mozilla browser(*).dialog(mozilla object).page(*).webbutton(OK).CLICK END IF But my qustion is. Do we write the above piece of code where ever we get such kind of pop ups from the application like alert pop up, confirmation pop up.... OR do we have any other alternative way to do this by using any functions in Recovery Scebarios? If Any of u know idea please do help me in this regard. or send answer to kravimb@gmail.com

1657


When using descriptive programming?

823