Contributions
Re: Drag and drop method in Testcomplete
Hi Javier, Thanks for the quick reply. I've already tried the record option. But in that case , its using the Drag() Method in which the position , i.e., X and Y coordinates of the dragging object and the destination folder's X,Y coordinates are mentioned . But i cannot use the position thing as thisa position might get changed in the new build. So, i need some other way. Please suggest me any . Thanks5.3KViews0likes0CommentsDrag and drop method in Testcomplete
Hello, I want help in my script. I am working on windows application using vbscript in testcomplete in non recording mode. I want to drag an item from one folder to another in treelist . I'm having trouble using the drag method. Please Help me solving my issue. I'm attaching my screeshot of the application indicating the file to be dragged. Also , please tell me how to cross check whether the item was successfully dropped or not. Thanks in advance.19KViews0likes3Commentshandle indexes of an object in vbscript using testcomplete
Hey Guys , I'm Facing issues with the dynamic index values I have two objects, their full name is as below: Sys.Process("OpKey").WinFormsObject("Workbench").WinFormsObject("NavAndTabView").WinFormsObject("DockPanelProjectExplorer").WinFormsObject("DockPanel1_Container").WinFormsObject("OpKeyProjectNav").WinFormsObject("NavBarControl1").WinFormsObject("NavBarGroupControlContainerWrapper", "", 1).WinFormsObject("NavBarGroupControlContainer2").WinFormsObject("ORExplorer").WinFormsObject("BarDockControl", "", 5).WinFormsObject("DockedBarControl", "") Sys.Process("OpKey").WinFormsObject("Workbench").WinFormsObject("NavAndTabView").WinFormsObject("DockPanelProjectExplorer").WinFormsObject("DockPanel1_Container").WinFormsObject("OpKeyProjectNav").WinFormsObject("NavBarControl1").WinFormsObject("NavBarGroupControlContainerWrapper", "", 3).WinFormsObject("NavBarGroupControlContainer3").WinFormsObject("DR_Explorer").WinFormsObject("BarDockControl", "", 5).WinFormsObject("DockedBarControl", "") I'm attaching the screenshot of my application actually i have a common dockBarControl which seems common for all the tabs but it has the above properties changing in its name. now i want to make it work for all of them . these are just two just as the above matter , i want to make this script global for every one so that i don't have tpo strat working again from scratch . please suggest me a way i can do it . ThanksSolved18KViews0likes3CommentsRe: Automate Different Editions Of a Window Application n Single Script
Hey Guys , I'm again Facing issues with the same thing I have two objects, their full name is as below: Sys.Process("OpKey").WinFormsObject("Workbench").WinFormsObject("NavAndTabView").WinFormsObject("DockPanelProjectExplorer").WinFormsObject("DockPanel1_Container").WinFormsObject("OpKeyProjectNav").WinFormsObject("NavBarControl1").WinFormsObject("NavBarGroupControlContainerWrapper", "", 1).WinFormsObject("NavBarGroupControlContainer2").WinFormsObject("ORExplorer").WinFormsObject("BarDockControl", "", 6).WinFormsObject("DockedBarControl", "") Sys.Process("OpKey").WinFormsObject("Workbench").WinFormsObject("NavAndTabView").WinFormsObject("DockPanelProjectExplorer").WinFormsObject("DockPanel1_Container").WinFormsObject("OpKeyProjectNav").WinFormsObject("NavBarControl1").WinFormsObject("NavBarGroupControlContainerWrapper", "", 3).WinFormsObject("NavBarGroupControlContainer3").WinFormsObject("DR_Explorer").WinFormsObject("BarDockControl", "", 5).WinFormsObject("DockedBarControl", "") now i want to make it work for all of them . these are just two just as the above matter , i want to make this script global for every one so that i don't have tpo strat working again from scratch . please suggest me a way i can do it . Thanks1.4KViews0likes0CommentsRe: Automate Different Editions Of a Window Application n Single Script
Hey Tanya, Thanks for a quick reply.I've already tried using both Opkey 2.* and Opkey* none of them work. But thanks to almighty, I came up with a new approach and by chance it worked.! I took the list of processes from task manager and retrieved the Opkey Version from it and inserted it into the path. :) Thanks for your support and help :)1.4KViews0likes0CommentsRe: Automate Different Editions Of a Window Application n Single Script
Hello Tanya, I by mistake posted the wrong object's name . it is Sys.Process("OpKey 2.0.2.2836").VCLObject("frmDesign_15").VCLObject("Back") and Sys.Process("OpKey 2.1.0.3030").VCLObject("frmDesign_15").VCLObject("Back") can regular expression work in this case ? as in like i'm trying to generate a regular expression for "OpKey 2.0.2.2836" so as it can work on any edition. But i'm having troubles generating the regular expression in VbScript. Can i get some help on this ?1.4KViews0likes0Comments