12-08-2009, 08:10 PM
Hi Arjun,
I had a similar problem a while ago. QTP couldn't recognize objects (combo boxes) in JavaTable cells. I solve it with using keyboard to select combo value.
Try something like:
You can record keyboard input using low level recording.
Hope this helps or at least gives you some ideas...
I had a similar problem a while ago. QTP couldn't recognize objects (combo boxes) in JavaTable cells. I solve it with using keyboard to select combo value.
Try something like:
Code:
JavaWindow("EclipseEJ").JavaDialog("Online Credit Agreement").JavaTable("Select products:").ClickCell i, 1
JavaWindow("EclipseEJ").Type micReturn
JavaWindow("EclipseEJ").Type "1"
JavaWindow("EclipseEJ").Type micReturn
You can record keyboard input using low level recording.
Hope this helps or at least gives you some ideas...