swfWindow("").SwfWindow("").SwfComboBox("").select strSelectThe above code is giving a run error "Object not Visible" in QTP. I also recorded the same and then when i tried play back same error got displayed.
Ravindra,
What is the swftypename of the combo when you look at it using Object Spy? This will help us to know which control you are using.
Hi,Yes, The control is visible when the script throws exception. I have tried SwfComboBox(...).Highlight the object gets highlighted, there is no SwfComboBox(...).SetFocus option getting displayed.
Hello Ravindra,
Thanks for the info. Could you please verify that your control is visible when the scrip thrown exception. Maybe you could include into your script SwfComboBox(...).SetFocus before continue with other steps. Please take a look at http://es.infragistics.com/community/forums/t/54175.aspx for more details.
Please do not hesitate to write us.
Regards
I am using Win XP, 32bits, QTP11 and "Test Advantage for Windows Forms(HP) 2008 Vol.3 CLR 2.0". Also have installed (.Net) addin. Yes I'm able to record and replay correct scripts using default samples.
What do you mean by UtraCombo or UltraComboEditor?? Im not sure what it means.
Could you please give me more details about your enviroment. What is your OS (Win 7, XP). Are you using x32bits or x64 bits machine. What is your version of QTP and TestAdvanatage. Do you have any installed patches for QTP, do you have installed service packs and which one.
Are you able to record and replay correct scripts using our default samples (the samples that you received with installation of TestAdvantage). Are you using UltraCombo or UltraComboEditor in your AUT ?
Please do not hesitate to write us if you have any questions.