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
385
Problem with SwfComboBox
posted

Hi,

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.

Thanks,

Satish

Parents
  • 28945
    Offline posted

    Hello Satish,

    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.

    http://www.infragistics.com/help/supported-environments/

Reply Children