Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
170
QTP11 TA11.2 WpfComboBox("").Select
posted

Hi

I am facing issue when i try to select a value from WpfComboBox(). QTP identifies two comboxes for one comboBox , and for one it is not working at all but for the other it is selecting the value from the dropdown but throwing the error

"Object reference not set to an instance of an object"

If i use On Error Resume next... it ignores the error and works fine. Is there any solution for that.

Another issue is, There is a WpfWindow comes when i double click a specific cell in a Grid (SwfTable("Grid1")) and in that window when i try to enter value once it work... steps are like this

Double click the specific column in grid

WpfWindow open

Enter value in WpfEdit

Save

Close

Now i have to do this for multiple cells in the grid.... so once it works fine... second time it is not entering values in the WpfEditBox when WpfWindow is open.

I execute code several times and it is working fine for one instance...

could you please help me out....

I have many other issues which i will post separately... thank you

Parents
  • 28407
    posted

    HI,

     Are these WPFComboBox's the XamComboBox and are they embeded in the XamDataGrid or the XamGrid.

     Can you attach a representative application that I can use to test your issues out  with?

     Sincerely,

     Matt

     Developer Support Engineer 

Reply Children