Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Combo Box-es in table
#1
Not Solved
Hi all!

I'm using QTP with Java plugin to test Java applications. The problem is that in one JTable I have Combo box-es (one Combo Box in every cell of one column) and they were not learned in Object Repository. I solved part of that problem by adding table toolkit under "Controls to identify as separate test object". By adding that I could record on Combo Boxes, but it wouldn't be any difference between them and I would still get error that object cannot be identified when running the test...

I've also tried this:

Code:
Set table = JavaWindow("Element").JavaTable("BoardsTable").Object
Set JTableCS = table.mic_get_supp_class()
Set comp = JTableCS.getComponentAt(table, 7, 2)
                  
comp.setSelectedIndex(1)
comp.setSelectedItem("4")
But although there is no error, item in combo doesn't change.

Thanks for your help!
Reply


Messages In This Thread
Combo Box-es in table - by ppero16 - 11-18-2009, 10:46 PM
RE: Combo Box-es in table - by ppero16 - 11-20-2009, 04:29 PM
RE: Combo Box-es in table - by sreekanth chilam - 11-20-2009, 06:53 PM
RE: Combo Box-es in table - by ppero16 - 11-20-2009, 09:27 PM
RE: Combo Box-es in table - by sreekanth chilam - 11-21-2009, 01:20 AM
RE: Combo Box-es in table - by ppero16 - 11-23-2009, 02:28 PM
RE: Combo Box-es in table - by ppero16 - 11-24-2009, 06:53 PM
RE: Combo Box-es in table - by quark76 - 05-11-2011, 01:43 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Find Combo Box length? AndyBSG 3 3,755 12-05-2014, 10:02 PM
Last Post: AndyBSG
  Combo Box selection issue Shkumari 11 12,094 09-26-2013, 03:56 PM
Last Post: learnQtptips
  Unable to select a combo item by value or index martinshort 2 3,179 08-26-2013, 07:55 PM
Last Post: sudhirzpatil
  how to automate combo box in a application using qtp ricks_ngl 0 3,319 07-20-2012, 10:59 AM
Last Post: ricks_ngl
  Default value in Edit Box when Check Box is checked nacchio 2 4,850 07-18-2012, 12:21 PM
Last Post: sree.85

Forum Jump:


Users browsing this thread: 1 Guest(s)