01-13-2012, 06:45 PM
Hi..
plz check your OR properties for the browser. If we have only the CreationTime property to uniquely identify the browsers, then this is the normal behavior of QTP.
CreationTime will be used when you have more than 1 browser. If you have only one browser, then this property will be ignored, all the browsers object, Say Browser("CreationTime:=999") even this one will highlight your first browser only.
So, if you dont want QTP to do so, please use title or some other property to uniquely identify the browsers. Do not use ordinal identifiers in this case.
plz check your OR properties for the browser. If we have only the CreationTime property to uniquely identify the browsers, then this is the normal behavior of QTP.
CreationTime will be used when you have more than 1 browser. If you have only one browser, then this property will be ignored, all the browsers object, Say Browser("CreationTime:=999") even this one will highlight your first browser only.
So, if you dont want QTP to do so, please use title or some other property to uniquely identify the browsers. Do not use ordinal identifiers in this case.