I am automating .NET application. In this application, there are three tabs. QTP is able to recognize everything on window except these tabs. When I do simple record/playback, it records below code. When I try to replay, it says that object is not found in repository. Is there any workaround for tabs in QTP?
'CLICKING ON MAIN TAB (QTP FAILS HERE)
SwfWindow("Contract Information System").SwfWindow("CisMain").SwfObject("tbMain")
'CLICKING ON CONTRACT CATAGORIES TAB (QTP FAILS HERE TOO)
SwfWindow("Contract Information System").SwfWindow("CisMain").SwfObject("tabContra ctCatagories").Click
Both of these objects are in repository, even when I open OR and try to highlight these two tabs, it says that Object is not found.