Forum Discussion
thrilok_nath
12 years agoOccasional Contributor
Hi All,
I would like to add few more steps to my Question.
I tried with QTP in doing the same steps it only took few seconds to execute, below is the QTP code. It just performed clicks in fraction of seconds.
Window("MarkitSERV MarkitWire").Activate
Window("MarkitSERV MarkitWire").WinTreeView("WinTreeView").Select "Brokered Deals (533)"
Window("MarkitSERV MarkitWire").WinListView("WinListView").Activate "7535569/1<0>"
Window("MarkitSERV MarkitWire").Dialog("MarkitSERV MarkitWire").WinButton("OK").Click
Window("MarkitSERV MarkitWire").Activate
Window("MarkitSERV MarkitWire").WinTab("SysTabControl32").Select "Index "
Window("MarkitSERV MarkitWire").WinTab("SysTabControl32").Select "Break(2) "
Window("MarkitSERV MarkitWire").WinTab("SysTabControl32").Select "Internal Data "
Then i Tried with Test Complete by recording the same steps, it is taking more than 8 mins to execute the same steps, below is Test Complete code
Sub Test2
Dim wndAfx
Dim pageClientPane
Dim page32770
Dim sysTabControl32
Set wndAfx = Aliases.tc_client.wndAfx1
Call wndAfx.Click(320, 11)
Set pageClientPane = wndAfx.pageClientPane
Call pageClientPane.pageStackPane.SysTreeView32.ClickItem("|Brokered Deals (533)")
Set page32770 = pageClientPane.page32770
Call page32770.pageSplitterPane.List1.ClickItem("7535569/1<0>", 0)
Set sysTabControl32 = page32770.pageSplitterPane1.pagePDVView.SysTabControl32
Call sysTabControl32.ClickTab("Index ")
Call sysTabControl32.ClickTab("Roll Dates ")
Call sysTabControl32.ClickTab("Break ")
End Sub
As per me in Test Complete there are many hierachy's for each object but when you see in QTP it is identifying the object with only 2 object hierarchy. Test complete is identifying as different objects. This is just my guess.
Thanks
Thrilok
I would like to add few more steps to my Question.
I tried with QTP in doing the same steps it only took few seconds to execute, below is the QTP code. It just performed clicks in fraction of seconds.
Window("MarkitSERV MarkitWire").Activate
Window("MarkitSERV MarkitWire").WinTreeView("WinTreeView").Select "Brokered Deals (533)"
Window("MarkitSERV MarkitWire").WinListView("WinListView").Activate "7535569/1<0>"
Window("MarkitSERV MarkitWire").Dialog("MarkitSERV MarkitWire").WinButton("OK").Click
Window("MarkitSERV MarkitWire").Activate
Window("MarkitSERV MarkitWire").WinTab("SysTabControl32").Select "Index "
Window("MarkitSERV MarkitWire").WinTab("SysTabControl32").Select "Break(2) "
Window("MarkitSERV MarkitWire").WinTab("SysTabControl32").Select "Internal Data "
Then i Tried with Test Complete by recording the same steps, it is taking more than 8 mins to execute the same steps, below is Test Complete code
Sub Test2
Dim wndAfx
Dim pageClientPane
Dim page32770
Dim sysTabControl32
Set wndAfx = Aliases.tc_client.wndAfx1
Call wndAfx.Click(320, 11)
Set pageClientPane = wndAfx.pageClientPane
Call pageClientPane.pageStackPane.SysTreeView32.ClickItem("|Brokered Deals (533)")
Set page32770 = pageClientPane.page32770
Call page32770.pageSplitterPane.List1.ClickItem("7535569/1<0>", 0)
Set sysTabControl32 = page32770.pageSplitterPane1.pagePDVView.SysTabControl32
Call sysTabControl32.ClickTab("Index ")
Call sysTabControl32.ClickTab("Roll Dates ")
Call sysTabControl32.ClickTab("Break ")
End Sub
As per me in Test Complete there are many hierachy's for each object but when you see in QTP it is identifying the object with only 2 object hierarchy. Test complete is identifying as different objects. This is just my guess.
Thanks
Thrilok
Related Content
- 3 months agoD0UG
- 5 years agolingling_chiang
- 6 months agohamit
Recent Discussions
- 60 minutes agoDSmachineWorld
- 9 hours agoSvetaG