Hi ,
AM facing issue while selecting Item from SwfComboBox. As soon as i perform the select operation, A window Pops up and QTP Just waits to complete the select operation until i Click Cancel Manually. Is there any way that i can handle or End the Select operation immediately after selecting..
For Eg.
While Executing the below statement, The QTP performs the operation the selection but doesnt end the execution of the statement as there is a window which pops up immediately and i have no clue why the statement is still executing after selection. There is no other statement apart from this line of code.
SwfWindow("").SwfComboBox("").Select sTestData
Thanks
Nooruddin
Hello Nooruddin,
One possible way to achieve desired behavior could be if you are using the code:
SwfWindow("Form1").SwfComboBox("ultraComboEditor1").Select "test 2" SwfWindow("Form1").SwfButton("ultraButton1").SetFocus
SwfWindow("Form1").SwfComboBox("ultraComboEditor1").Select "test 2"
SwfWindow("Form1").SwfButton("ultraButton1").SetFocus
Please take a look at the attached video file desired behavior. Let me know if you have any questions.
Regards
Please Consider this Post and ignore the previous, Sorry for inconvience.
Thanks Georgi
After performing the select operation, the control is not ending or going to the 2nd statement at all because as soon as we select, it brings up swfwindow and QTP just hangs or wait until i close the window manually. There is no way to way to close automatically as Select operation is still not ended
In the normal scenario after selection of an item, the control should either go to the next step or end the run session, but here QTP waits to complete the select operation.
What i can think from the behavior of QTP after performing the selection on infragestic swfcomboBox control is that, It is waiting for some command/operation in select operation, as there is a window which popups immediately after selection that it is blocking/disabling the swfcomboBox to complete selection operation.Hence it may to be going to next step or ending the running session. I think we have look into how infragestic coding is done to hadle the select operation for Infragistics.Win.UltraWinEditors.UltraComboEditor(swftypename)
I have opened a case with support Team and case number is : CAS-90002-KKV1LG
Also I have attached video containing for that case .Please let me know if any more information is needed in this regard. Thanks in advance.
Thanks for the response.
After performing SwfWindow("Form1").SwfComboBox("ultraComboEditor1").Select "test 2"
The control is not going to the 2nd statement at all because as soon as we select (say) test 2, it brings up swfwindow and QTP just hangs or wait until i close the window manually.
In the normal scenario after selection of an item, the control should go to the next step or end the run session, but here it just waits or you can call QTP hang . What i can think from the behavior of QTP after performing the selection on infragestic swfcomboBox control, that it is waiting for some command, as there is a window popups immediately after selecting, it is blocking to complete that action.
I have opened the case with the support team as well and attached a video osf the scenario.Please have a check on the video, may be it will help you in analysing the issue am facing.
Case : CAS-90001-Y1SDQ2
Object Desc : swftypename : Infragistics.Win.UltraWinEditors.UltraComboEditor