MKS
MKS

Reputation: 21

While adding Objects to object repository in QTP, it does not get correct object class, why?

In order to test the Login functionality of a web application using QTP, I try to add objects (username, password and login button) to object repository with application opened in IE. While i click on username and Password objects to add, it should get them as WebEdit class objects but somehow QTP gets another object name as WebElement class. I am sure that i click on the correct place on page. I could not figure out where the problem is?

Upvotes: 0

Views: 1422

Answers (1)

MKS
MKS

Reputation: 21

http://www.learnqtp.com/uft-object-identification-tips/

Zoom level of Application page in IE was not appropriate.That's why QTP did not sense correct object. Found the issue and that was very simple thing.

Upvotes: 1

Related Questions