11-23-2010, 01:07 AM
hi,
I am new to descriptive programming and I am looking at the qtp function of one of my colleges.
There are 2 buttons called Save and Cancel. In his code he has written
.WebButton(CancelTop).click. But when i checked the object with the object spy, it showed different names: Its html id =btnCancel, name and value =Cancel and type = Cancel.
How can you create user defined names for objects on a web page?
Thanks
Nicey
I am new to descriptive programming and I am looking at the qtp function of one of my colleges.
There are 2 buttons called Save and Cancel. In his code he has written
.WebButton(CancelTop).click. But when i checked the object with the object spy, it showed different names: Its html id =btnCancel, name and value =Cancel and type = Cancel.
How can you create user defined names for objects on a web page?
Thanks
Nicey