Replies
No, it is not working even without that statement. The application scroll bar moves up automatically so I had included this line to avoid auto up scrolling.
The script is
Set objCmb=SwfWindow("xxx").SwfWindow("yyy").SwfComboBox(oDesc)
strIndex=strInput-1
strSelectVal = objCmb.GetItem(strIndex)
SwfWindow("xxx").SwfWindow("yyy").SwfObject(oDesc2).VScroll micLineNext , 2
objCmb.SetProxySetting "AutoScrollIntoView" , False
objCmb.SetFocus
objCmb.Select strSelectVal
objCmb.Type micTab
wait(2)
Set objCmb = Nothing
Screenshot of the application is attached.
While execution of script after "objCmb.SetFocus" step, the vertical scroll bar moves up automatically.
Hi,
Swftype name is "Infragistics.Win.UltraWinGrid.UltraCombo" and Container is a dialogue box which has number of dropdown and edit controls and is identified as SwfObject.
I corrected my code and tried with
SwfWindow("").SwfWindow("").SwfObject("swfname:=xxxInputControl").VScroll micLineNext , 2
objCmb.SetProxySetting "AutoScrollIntoView" , False
objCmb.SetFocus
objCmb.Select strVal
But still the vertical scroll bar moves up automatically.
Hi,
I am using QTP 11.0 and AUT is .NET application with infragistics controls. I am facing the same issue for scrolling, i need to manually scroll down while executing the script.
The wierd thing is QTP is not generating any error while performing any action on the objects which are not visible
I tried using objCmb.SetProxySetting AutoScrollIntoView , False but it is giving me error "Object reference not set to an instance of an object."
I have an application where I need to select values in multiple combobox objects, some of them to be selected without scrolling, some of them after scrolling so I can't use vscroll micscrollEnd method. I am using a loop to select values in all the combobox objects so cant use vscroll method statement.
Is there any other option for this problem ??
-Maulik