Hi Ankur,
I think I have similar issue with "Object Not Found" using QTP but with Flex controls. What I did was to make the FlexApplication(ui.swf") visible = True in Object Repository but I am still getting "Object Not Visible" using FlexComboBox. One thing I noticed is that the add/remove button for the Mandatory Properties in Object Properties is disabled. Do you know what else I could be missing?
I think I have similar issue with "Object Not Found" using QTP but with Flex controls. What I did was to make the FlexApplication(ui.swf") visible = True in Object Repository but I am still getting "Object Not Visible" using FlexComboBox. One thing I noticed is that the add/remove button for the Mandatory Properties in Object Properties is disabled. Do you know what else I could be missing?
Code:
Browser("FlexApp").FlexApplication("app").FlexApplication("ui.swf").FlexBox("index:27").FlexTextArea("component_password").SelectText 0,0
Browser("FlexApp").FlexApplication("app").FlexApplication("ui.swf").FlexBox("index:27").FlexTextArea("component_password").Input "abc123"
Browser("FlexApp").FlexApplication("app").FlexApplication("ui.swf").FlexBox("index:27").FlexButton("Login").Click
[b]Browser("FlexApp").FlexApplication("app").FlexApplication("ui.swf").FlexComboBox("quicklaunch").SelectText 0,0[/b]
Browser("FlexApp").FlexApplication("app").FlexApplication("ui.swf").FlexComboBox("quicklaunch").Input "xyz123"
Browser("FlexApp").FlexApplication("app").FlexApplication("ui.swf").FlexComboBox("quicklaunch").Type "ENTER"
Browser("FlexApp").FlexApplication("app").FlexApplication("ui.swf").FlexLinkBar("bannerLinks").Change "Logout"
Browser("FlexApp").Page("Page").Sync
Browser("FlexApp").CloseAllTabs