First,
Go to Automation-->Record and run setting --> Windows application tab.
make sure that you have selected Record and Run test on any windows based application.
Run on any open window is the right option.
Go through the options available here. If you have selected ‘recode application mentioned below’ option then QTP will record only those application which are mentioned here
Second,
DP is descriptive programming in which we provide object description in the line itself.
Ex:
Browser("name:=Google", "creationTime:=0").Click
what you are using is not DP. QTP goes to OR for object properties and it will lean which object to choose based on the Object. GO through to
help for more details .
Ex:
Browser("brw_google").Click
This is the basic concepts you should learn first.
Go to Automation-->Record and run setting --> Windows application tab.
make sure that you have selected Record and Run test on any windows based application.
Run on any open window is the right option.
Go through the options available here. If you have selected ‘recode application mentioned below’ option then QTP will record only those application which are mentioned here
Second,
DP is descriptive programming in which we provide object description in the line itself.
Ex:
Browser("name:=Google", "creationTime:=0").Click
what you are using is not DP. QTP goes to OR for object properties and it will lean which object to choose based on the Object. GO through to
help for more details .
Ex:
Browser("brw_google").Click
This is the basic concepts you should learn first.