09-19-2010, 05:10 PM
Hi
I am automating Windows Application based on .Net. There is one main object Role. Under this, there are many tabs(swfobject :class name) as:
Adminstration
Registration
Transactions
Reports
Tool Box
External Integration
I have to click Adminstration,Registration and Reports in my script. But the problem is all the properties of these above tabs is same as their main object viz. Role. QTP is not able to identify all the above tabs.
I tried to do recording to click the object.I got different statement for same object(eg.Registration) everytime as:
These numbers after click keep on changing everytime.
Please tell how to click Adminstration, Registration and Reports.
Thanks
-Taran
I am automating Windows Application based on .Net. There is one main object Role. Under this, there are many tabs(swfobject :class name) as:
Adminstration
Registration
Transactions
Reports
Tool Box
External Integration
I have to click Adminstration,Registration and Reports in my script. But the problem is all the properties of these above tabs is same as their main object viz. Role. QTP is not able to identify all the above tabs.
I tried to do recording to click the object.I got different statement for same object(eg.Registration) everytime as:
Code:
swfwindow("Roles Form").swfobject("Roles").click 166,12
swfwindow("Roles Form").swfobject("Roles").click 164,11
swfwindow("Roles Form").swfobject("Roles").click 169,7
These numbers after click keep on changing everytime.
Please tell how to click Adminstration, Registration and Reports.
Thanks
-Taran