We are running QTP 10 with Netadvantage version 2013.1. Test advantage version matches the netadvantage version.
Following is the problem.
We have a combo box(SwfComboBox) in one of our screens. Items in this combo box are populated using datasource. When user changes selection in this combo box based on some validation rules, a messagebox appears with OK and Cancel buttons.
When making a selection from combobox through QTP, the message box is displayed and QTP is blocked. It doesnt execute further statements.
Following is the code used to select item.
1. SwfWindow(windowTitle).SwfComboBox(comboName).Select ItemToSelect
2. SwfWindow(windowTitle).SwfComboBox(comboName).SetNAProperty("SelectedIndex", indexOfItem)
Making selection using #1 or #2 above result in the same behavior.
Is there any way to make this call non-blocking?
In one of my previous questions(http://www.infragistics.com/community/forums/t/56984.aspx), there is a mention about new feature being added to Test advantage for performing actions asynchronously. Can you let me know status of this? If it is already included in the product, examples on the usage of this functionality would be helpful and much appreciated.
Thank you for reporting this to us. Please note that if you intend to keep using Infragistics 2013 then you are required to update your version of QTP to version 11. Because QTP 10 does not support .NET Framework 4 which your application is dependent on.
For more details please refer to our supported environments page. If you have any additional questions about this matter please let me know.
That is a typo, We are using QTP Version 11.0.
Can you let me know how to solve the issue I am facing?
I can confirm that I reproduced the behavior with the UltraComboEditor with HP UFT. I am currently in an active dicussion with our developers and need some time to throughly investigate this behavior.
Thanks for your response confirming the issue.
Please keep me posted about any further updates on this issue.
Also, we have some other controls like checkbox, ultragrid where we have validations and a messagebox is displayed. We need a way to make these calls non blocking.
Dialog boxes such as a message box stops the UI thread when opened which puts a hault on the user action triggered to open the message box resulting in the lock you are reporting. Unfortuantely we don't have any a way to workaround this behavior as we would need to enhance our test automation software to allow for async actions.
At this time this is still considered to be a feature request. I strongly recommend submiting your thoughts on our website here: [ideas.infragistics.com] so that it can be properly tracked for future releases.
I appreciate your patience with us. Have a nice day.
I have posted this idea on the ideas forum.
Please find the link below.
Please keep me updated on any updates on this.
Updates related to the new idea will be provided on the product ideas site directly. Do you have any other questions we can assist with at this time?