Problem with SwfComboBox

Answered (Verified) This post has 1 verified answer | 7 Replies | 3 Followers Thread's RSS feed.

tsatish
Points 385
Replied On: Thu, Jun 19 2014 8:46 AM Reply

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

  • Post Points: 20

Verified Answer

Michael DiFilippo
Points 23,405
Infragistics Employee
Answered (Verified) Replied On: Fri, Jun 20 2014 11:23 AM Reply
Verified by tsatish

Hello Satish,

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.

Sincerely,

Michael Di Filippo
Associate Software Developer

  • Post Points: 40

All Replies

Michael DiFilippo
Points 23,405
Infragistics Employee
Replied On: Thu, Jun 19 2014 9:20 AM Reply

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/

Sincerely,

Michael Di Filippo
Associate Software Developer

  • Post Points: 20
tsatish
Points 385
Replied On: Thu, Jun 19 2014 9:31 AM Reply

Hi Michael,

That is a typo, We are using QTP Version 11.0.

Can you let me know how to solve the issue I am facing?

Thanks,

Satish

  • Post Points: 20
Michael DiFilippo
Points 23,405
Infragistics Employee
Replied On: Thu, Jun 19 2014 4:14 PM Reply

Hello Satish,

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.

Sincerely,

Michael Di Filippo
Associate Software Developer

  • Post Points: 20
tsatish
Points 385
Replied On: Fri, Jun 20 2014 1:05 AM Reply

Hi Michael,

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.

Thanks,

Satish

  • Post Points: 20
Michael DiFilippo
Points 23,405
Infragistics Employee
Answered (Verified) Replied On: Fri, Jun 20 2014 11:23 AM Reply
Verified by tsatish

Hello Satish,

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.

Sincerely,

Michael Di Filippo
Associate Software Developer

  • Post Points: 40
tsatish
Points 385
Replied On: Thu, Jun 26 2014 2:17 AM Reply

Hi Michael,

I have posted this idea on the ideas forum.

Please find the link below.

http://ideas.infragistics.com/forums/211537-test-automation/suggestions/6101088-perform-actions-asynchronously-on-controls

Please keep me updated on any updates on this.

Thanks,

Satish

  • Post Points: 20
Alan Halama
Points 21,877
Infragistics Employee
Replied On: Thu, Jun 26 2014 7:25 AM Reply

Satish,

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?

Alan Halama
Support Architect
Infragistics

  • Post Points: 5
Page 1 of 1 (8 items) | RSS