Contributions
Region Checkpoint in TestComplete 8.7 are not working across machines
Customer ID: A38952 Region Checkpoint in TestComplete 8.7 are not working across machines I captured the region checkpoint on Machine Configuration: Windows7 and IE 8.0 It is working fine on the same machine When i'm running the same on the Windows 2003 and IE 8.0, then its failing. Here is the line of code that i'm using: Sub test2 test2 Call Regions.Compare("Graph_forecast", window.Panel("page").Panel("page_body").Panel("page_body_content").Panel("forecastNew").Panel(1).Panel("forecastNew_drawer").Panel(0).Panel(1).Panel(0).Panel(0).Panel("forecastNew_drawer_collapser").Panel("forecastNew_drawer_collapser_body").Panel("forecastNew_sec_content_id").Panel("on_track_page_bv").Panel("on_track_b").Panel(0).Panel("on_track_graph_container").Object("on_track_graph"), False, False, True, 0) End Sub Attached are the Screencasts for 1. Expected Image 2. Actual Image and 3. Compared Image17KViews0likes1CommentDo test complete 8.7 supports SVG (Scalable Vector Graphics)?
Hi, I’m curious to know that if Test complete supports SVG (scalable vector graphics). We have some products build on that and we want to automate the same using test complete. Thanks and Regards Mohit mmadaan@financialengines.com 650-565-493917KViews0likes1CommentRe: Elemenation of DOM approach
Hi Amit, Thanks for the quick response. Query1: How can we use the tree hiearchy of the objects. It would be greatbe if you can explain it with the example Query2: If we do not have the value of any property like (id, name), then what is the alternate way of using the base panels. reqObj=<basepanel>.Find(propertyname,propertyvalues,depth) Please let me know your thoughts. Regards Mohit758Views0likes0CommentsElemenation of DOM approach
Hi, This is Mohit from Financial Enginesand we are using test complete from last 2 years but we ran into 1 major problem while using it. The problem is: For verifying the UI elements we are using the DOM approach example: If (w1.Panel("page").Panel("page_body").Panel("page_body_content").Panel("pnlGoals_panel").Panel(1).Panel(0).innerHTML <> "Goals") Then TCstatus = "FAIL" Else TCstatus = "PASS" End If testCaseId = "UI 1.3.3 - Goals is Displayed" Call Commons.doLogTestCaseStatus(testCaseId, TCstatus) But if some panel changes in between, our automation is going to fail and it takes lot of effort to rectify that. We are already using the NATIVEWEBOBJECT function for functional automation but it will not solve the problem for UI automation as we need to verify the positions and path as well for UI verification. We explored a bit and came up with a new approach to handle this. Example: arrObjProperty = Array("ObjectType","FullName") arrObjPropValue = Array("Panel","*Panel(""pnlOtherIncome_panel"").Panel(1).Panel(0)") Set objectRef = pnlBasePanel.FindChild(arrObjProperty,arrObjPropValue,20000,True) Ref_DOMChangeLibrary.fnVerifyProperty "UI 2.5 - Goals is Displayed",objectRef.innerHTML,cmpEqual,"Other retirement income",False where pnlBasePanel is Aliases.IE.Page(“*”).Page(“page”).Page(“page_body”).Page(“page_body_content”) Now there are few queries regarding this: Query1: ----------------- Is there any other best approach to avoid DOM and use some other approach that validates the UI test cases (Example of the UI test case:Logo should be present in upper left corner of the web page) Query2: ------------------ As per the new approach shown above: Can we define the Base panel at global level or across the project through property files or project varibales so that we need to add the base panels in each and every script. Thanks and Regards Mohit mmadaan@financialengines.com16KViews0likes3CommentsRe: Some links are not clicked when automated through NativeWebObject in Version 7.5.2
Hi Allen, The problem persists even after using the Refresh method. Browser: Internet explorer Version: 7.0.5730.13 Actually i'm not provide you with the MHT file due to some security issues. I'm working with my team, that how to reproduce it to you.558Views0likes0CommentsSome links are not clicked when automated through NativeWebObject in Version 7.5.2
Some links are not clicked when automated through NativeWebObject in Version 7.5.2 But it was working fine with the version 6.0 Code: Set no_thanks_link = w1.NativeWebObject.Find("href","*onlinema/nothanks-edit.act?*","A") no_thanks_link.Click() Result: Link is not clicked and we are getting the following message in Logs: TypeMessageTimeLink The window was clicked with the left mouse button.2:09:43 Remarks: A click at point (63, 21) with no key pressed. Sys.Process("iexplore").Page("https://www.feitest.com/maenroll/webenrollment-edit.act?t=8138107072251292545509704&s=Tst6b585f8f2c55af8&pact=maenroll.start&br=556").document.all.Item("btnOkTop") But some other links are clicked through the following code. P.S: we are not able to click these links even through DOM16KViews0likes2Comments