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
Hello Anshu,
Is the combo box called a XamComboEditor or a WpfComboBox in QTP? Can you tell me what version of QTP you have, what version of TestAdvantage you are using and what patches you have installed?
Can you provide an example of your script where it fails to recognize the control?
Hi Matt,
I am automating a WPF desktip based Application.It's recognizing all the component via the object repository.But when I run my script its not recognizing the combo box without highligting.I need to highlight the object then it starts executing.
Can you please suggest about this behavior or the work around of it.
Cheers
Anshu
HI,
Please let me know if you need further assistance regarding this issue.
Sincerely, Matt Developer Support Engineer
In order to recognize Syncfusion controls you will need to install there QTP product.
Please let me know how this works out.
Sincerely,
Matt Developer Support Engineer
This just came in....
"Our application rarely uses any standard WPF objects, we use Infragistics and Syncfusion WPF controls and which are highly customized for our needs.
So, not sure how we would be able to help."
That was the email reply i got from developer... Let me know if this helps.... I have sent an email to development team asking the version they used of Infragistics and Syncfusion.
I think after installing Syncfusion QTP might work fine... right now it is identifying all the objects however few objects has two names and application and QTP behave strange and freezes or crashes
Thanks
-Subhash