ContributionsMost RecentMost LikesSolutionsUnable to identify the web view control in javaFx applicationHi we are Working on Javafx windows based application using TestComplete 9.3. Some have on this application we have "web view" control. We could not able to point on this object when we spy on this object. We can see this object in object brower with follwing properties. JavaClassName =WebView JavaFullClassName = javafx.scene.web.WebView We have to retrive the text which is displaying inside this web view obect. But no propety showing to get the text. Even we can not hilight from Object browser. How to make this happen? Thanks, Vijay Re: Unable to select and Deselect Checkbox ?Hi Tanya, i tried passing False statement to deselect the item. objPanel.SelectItem(ItemIndexByText),False Method.But not unselect checkbox. This method only giving select status of the checkbox label/Item.please find the attached screen shots.Unable to select and Deselect Checkbox ?Hi I am Working on Flex4.5 based application using TestComplete 9.10 I am trying click/select Checkbox. .By using SelectItem method i can able select checkbox label ,but not able select /unselect (on/off)checkbox .Please suggest me how handle this type of Checkboxs.please find the attached Screenshots. i followed below method to handle checkbox: Sub handleCheckbox() Set objPanel=Sys.Browser("firefox").Page("*").Panel("bodyContent").Scroller(0).VGroup(0).VGroup("allPropertyTabsGroup").List("allPropertyTabsList") ItemText="Occurrence Information" Set dataProvider = objPanel.FlexObject.dataProvider found = False For i = 0 To dataProvider.length-1 If dataProvider.source.item(i).tabName=ItemText Then log.Message (dataProvider.source.item(i).tabName) ItemIndexByText = i log.Message ItemIndexByText delay 5000 objPanel.SelectItem(ItemIndexByText),True found = True Exit For End If Next End Sub Thanks , Vijay Re: ClickItem for Spark DropDownList (Flex 4.6) does not work at all !!Handling DropDownsList : Please Follow Below Ways: Method1: Sub dropdownList1() Set dropdown=Sys.Browser("firefox").Page("pageName").Panel("bodyContent").Panel("flashContainer").Object("MLogin").MLogin("MLogin").NavigatorContent("startNavigatorContent").MModule(0).NavigatorContent("assets").HDividedBox("hdivbox").VDividedBox("leftVDivBox").NavigatorContent("searchQueryNC").DropDownList("searchNames") dropdown.ClickItem("List Search") ''''(or) 'dropdown.ClickItem(1) End Sub ---------Method2 Sub dropdownList2() propNames = Array("ObjectType", "ObjectLabel") propValues = Array("DropDownList","mainmodule") set ListObject=ObjName.FindChild(PropNames,PropValues, 9) ListObject.HoverMouse Delay 1000 ListObject.Keys "[Del]" ListObject.keys "USA" End Sub --------Method3 Sub dropdownSelection() Dim ListObject, propNames, propValues propNames = Array("ObjectType", "ObjectLabel") * Take Object label Property propValues = Array("DropDownList","mainmodule") * Take Object label Value set ListObject=ObjName.FindChild(PropNames,PropValues, 9) * list object not Found Increase Depth ItemText="USA" Set dataProvider=ListObject.FlexObject.dataProvider log.Message dataProvider log.Message dataProvider.length found = False For i = 0 To dataProvider.length -1 If dataProvider.source.item(i).name=ItemText Then * Check the 'USA ' in Data Provider (name/label) path hierarchy of USA ItemIndexByText = i log.Message ItemIndexByText propNames = Array("ObjectLabel", "ObjectType","ObjectGroupIndex") propValues = Array("openButton","Button",0) set objDropdownOpenBtn=ListObject.FindChild(PropNames,PropValues, 1) objDropdownOpenBtn.Click delay 1000 ListObject.FlexObject.ensureIndexIsVisible(ItemIndexByText) delay 2000 found = True Exit For End If Next If found =True then Set app =ListObject.Parent Do Until app.ObjectType ="Object" Set app = app.Parent Loop ' Find the list item object by text propNames = Array("ObjectType", "Caption") * Take ObjectLabel/Caption/ObjectIdentifier propValues = Array("DropDownList",ItemText) Set item =app.FindChild(propNames, propValues, 2) If item.Exists Then item.Click Log.message ItemText& "Select form Drop down list" Else Log.message ItemText& "Was not Select form Drop down list" End If Else Log.Error "DropDownList item """ & ItemText & """ was not found." End If End Sub Let me know how this works for you. Thanks, Vijay d.kavijay@gmail.com Re: Flex | DropDownListHi Kiran, Sub dropdownSelection() Dim ListObject, propNames, propValues propNames = Array("ObjectType", "ObjectLabel") * Take Object label Property propValues = Array("DropDownList","mainmodule") * Take Object label Value set ListObject=ObjName.FindChild(PropNames,PropValues, 9) * list object not Found Increase Depth ItemText="USA" Set dataProvider=ListObject.FlexObject.dataProvider log.Message dataProvider log.Message dataProvider.length found = False For i = 0 To dataProvider.length -1 If dataProvider.source.item(i).name=ItemText Then * Check the 'USA ' in Data Provider (name/label) path hierarchy of USA ItemIndexByText = i log.Message ItemIndexByText ListObject.Click ListObject.FlexObject.ensureIndexIsVisible(ItemIndexByText) delay 2000 found = True Exit For End If Next If found =True then Set app =ListObject.Parent Do Until app.ObjectType ="Object" Set app = app.Parent Loop ' Find the list item object by text propNames = Array("ObjectType", "Caption") * Take ObjectLabel/Caption/ObjectIdentifier propValues = Array("DropDownList",ItemText) Set item =app.FindChild(propNames, propValues, 2) If item.Exists Then item.Click Log.message ItemText& "Select form Drop down list" Else Log.message ItemText& "Was not Select form Drop down list" End If Else Log.Error "DropDownList item """ & ItemText & """ was not found." End If End Sub Let me know how this works for you. Thanks, Vijay d.kavijay@gmail.comHow to handle or Recognizing Custom Controls Customized Date time Chooser ?Hi , I am Working on Flex 4.5 based application using Test Complete 9.0. iam using Mozilla Fire Fox version 12.0 .we are using Flash-injector method Iam unable to click DateTimePicker image Button and we unable Select required Date. How handle Date time Chooser. i can able select current date But unable Select required Date. How to handle or Recognizing Custom Controls Customized Date time Chooser and DateTimePicker. Please find the attached Screen Shots. Please Suggest me. DateTimePicker image hierarchy: Sys.Browser("firefox").Page("http://10.78.118.152:8080/MC5/").Panel("bodyContent").Panel("flashContainer").Object("MCFlexUI").MCFlexUI("MCFlexUI").NavigatorContent("startNavigatorContent").MCModule(0).NavigatorContent("pipeline").Group("contentGroup").Pipeline("projectmanagement").HDividedBox("hdivbox").Scroller(0).Scroller("dynamicScroller").Panel("parentMetaDataPanel").Group(0).Group("contents").Group("contentGroup").VGroup("parentMetaDataVGroup").HGroup("parentMetaDataHGroup").InstanceMetaData(0).VGroup("mainMetaDataVGroup").VGroup("metadata").VGroup("commonMetadata").VBox(0).HBox("metaDataColumns").VBox("column", 2).VBox(1). Support for the Date Field controls is implemented by the Adobe Flex Controls Support plug-in. This plug-in is installed and enabled . Thanks, Vijay How to Select Spark DataGrid Cells?Hi , I am Working on Flex 4.5 based application using TestComplete 8.6. iam using Mozilla FireFox version 8.0 .How to select Spark Data Grid Cells .iam Unable select spark Data Grid Cells . How to select a single Spark Data Grid cell and Multiple Spark Data Grid Cells. Please find the attached Screen Shotos. Please Suggest me. how to handle spark Data Grid Cells. Thanks, Vijay Re: how to handle invisible Child Tree items?Hi Alex, Thanks for the reply. "FlexObject.scrollToIndex" Method approach worked for me.My problem was resolved. I can able to handle /click invisible child tree item. Thanks, VijayRe: how to handle invisible Child Tree items?Hi, I have Scroll to Specific child Tree item. Parent Tree item having more than 30 childItems.i have to click 30 th Item.How to scroll to Specific Child Tree item.Please Suggest me.it's urgent requirement. Thanks, vijayRe: How to select specfic List item from dropdown and ComoboxHi Bindu, if Drop-down items(ABC) invisible follow below code. Sub test Dim ObjName, propNames, propValues ObjName, propNames, propValues propNames = Array("ObjectType", "ObjectIdentifier") * Take Object label Property propValues = Array("DropDownList","DropDownList591") * Take Object label Value set ListObject=ObjName.FindChild(PropNames,PropValues, 9) * list object not Found Increase Depth ListObject.Click ItemText="ABC" Set dataProvider=ListObject.FlexObject.dataProvider log.Message dataProvider log.Message dataProvider.length found = False For i = 0 To dataProvider.length If dataProvider.source.item(i).name=ItemText Then * Check the 'ABC ' in Data Provider (name/label) path hierarchy of ABC ItemIndexByText = i log.Message ItemIndexByText ListObject.FlexObject.ensureIndexIsVisible(ItemIndexByText) delay 2000 found = True Exit For End If Next If Not found Then Log.Error "DropDownList item """ & ItemText & """ was not found." 'Exit Sub End If Set app =ListObject.Parent Do Until app.ObjectType ="Object" Set app = app.Parent Loop ' Find the list item object by text propNames = Array("ObjectType", "Caption") * Take ObjectLabel/Caption propValues = Array("DropDownList",ItemText) Set item =app.FindChild(propNames, propValues, 2) If item.Exists Then item.Click Log.message ItemText& "Select form Drop down list" Else Log.message ItemText& "Was not Select form Drop down list" End If end sub if DropDown Item is Visible Follow below code. Sub test Dim ObjName, propNames, propValues ObjName, propNames, propValues propNames = Array("ObjectType", "ObjectIdentifier") * Take Object label Property propValues = Array("DropDownList","DropDownList591") * Take Object label Value set ListObject=ObjName.FindChild(PropNames,PropValues, 9) * list object not Found Increase Depth ItemText="ABC" Set dataProvider=ListObject.FlexObject.dataProvider log.Message dataProvider log.Message dataProvider.length found = False For i = 0 To dataProvider.length If dataProvider.source.item(i).name=ItemText Then * Check the 'ABC ' in Data Provider (name/label) path hierarchy ItemIndexByText = i log.Message ItemIndexByText delay 2000 found = True Exit For End If Next If Not found Then Log.Error "DropDownList item """ & ItemText & """ was not found." 'Exit Sub End If ListObject.Click Set app =ListObject.Parent Do Until app.ObjectType ="Object" Set app = app.Parent Loop ' Find the list item object by text propNames = Array("ObjectType", "Caption") * Take ObjectLabel/Caption propValues = Array("DropDownList",ItemText) Set item =app.FindChild(propNames, propValues, 2) If item.Exists Then item.Click Log.message ItemText& "Select form Drop down list" Else Log.message ItemText& "Was not Select form Drop down list" End If end sub Let me know how this works for you. Thanks, Vijay d.kavijay@gmail.com