Contributions
- 921Views0likes0Comments
VM Peformance Issue
Hello, We areusing 8 VM machines for automating test scripts,while debug/execution test scripts machine is very slow and sometimes test complete is hanging.What is correct machine configuration to have 8 VM's working continously with out crash or hang.Do we need to upgrade RAM. Please provide suggestions. Thanks, Madhavisri10KViews0likes2CommentsExec execution error
Hello, Ia m trying to execute an exe through test complete and I am using the below commands function test(strpath) { var WShell = Sys.OleObject("WScript.Shell"); WShell.Run(strpath); WShell.Quit; } I have tried passing the below parameters but both are throwing exceptionsactual path is C:\Program Files\Masking\VSM80\Utilities\Valer.exe 1.test("C:\\Program Files\\Masking\\VSM80\\Utilities\\Valer.exe") 2.test("cmd /c \"\"C:\\Program Files\\Masking\\VSM80\\Utilities\\Valer.exe") First command is throwing an error path not found second one doesnot throw exception at the same time doesnot open exe.I am not sure what is the problem.Is it something to do with current directory settings or can we use cd.. c:\ something.Please help me with the code. Thanks, Madhavisri WShell = .OleObject("WScript.Shell"); WShell.Run(strpath); WShell.Quit;}I have tried passing the below parameters but both are throwing exceptionsactual path is C:\Program Files\Masking\VSM80\Utilities\Valer.exe1.test("C:\\Program Files\\Masking\\VSM80\\Utilities\\Valer.exe")2.test("cmd /c \"\"C:\\Program Files\\Masking\\VSM80\\Utilities\\Valer.exe")First command is throwing an error path not found second one doesnot throw exception at the same time doesnot open exe.I am not sure what is the problem.Is it something to do with current directory settings or can we use cd.. c:\ something.Please help me with the code.Thanks,Madhavisri23KViews0likes1CommentRe: Object Recognition Seperation
Hello David, I am planning to read the file as Ini file.I will pass the recognition string to the script something like this in jscripting //Data file [Mainwindow] Canvas application =Sys.Process("MyApp").Window("#32770", "Window Caption").Window("MyContainerClass", "", 1).Window("MyPanelClass", "Canvas Panel") Addbutton =Sys.Process("MyApp").Window("#32770", "Window Caption").Window("MyContainerClass", "", 1).Window("MyPanelClass", "Canvas Panel").Window("Button", "Add") [/] if(dReader[Mainwindow].Canavas application).exists==true) { Log.message("Application exists"); } else { Log.error("Application is not available"); } Customer is not comfortable with name mapping.They wanted to maintain recognition strings in separate file.Please let me know if this is the right approach and help me with the code.Thanks for your help in advance. Madhavisri936Views0likes0CommentsRe: Windows Function
Hello Jared, I have tried using the DLL.Load but it is not working.I am trying to use getprivateprofilestring(reads ini file) function from kernel 32.I am not sure how to pass parameters to this function.Could you please help me with the code. Thanks, Madhavisri696Views0likes0CommentsObject Recognition Seperation
Hello, We are planning to separate object recognition from script and maintain them in text file(ini fromat).Similar concept of name mapping but we are maintaing them in txt .The only problem we have is unable to read #,.*,|,(,),,,"" kind of special characters from window id's.Do you think this will be the better approach or do you suggest any other approach.Could you please help me in reading the below ini format which contains special characters.request you to share the code. [Mainwindow] Canvas application =Sys.Process("MyApp").Window("#32770", "Window Caption").Window("MyContainerClass", "", 1).Window("MyPanelClass", "Canvas Panel") Addbutton =Sys.Process("MyApp").Window("#32770", "Window Caption").Window("MyContainerClass", "", 1).Window("MyPanelClass", "Canvas Panel").Window("Button", "Add") [/] [Filemenu] [/]17KViews0likes4CommentsVM ware related questions
Hello, We have Test complete installed on 10 VM Machines(Float Licenses).Our customer had asked us develop Test scripts on VM Machines.I have few questions related to this. 1.Is it suggestable to develop Test scripts on VM Machines. 2.While debugging test script in VM machine if we have a break point,Test complete reaches to that break point and immediately screen freezes.We will have to kill Test Complete.exe and restart it again and remove the break point.Attached is the screenshot. 3.While creating Network Suite on one of theVM Machines,Do we need to input Username and Password?I am getting an error. 4.Do we need to have Test scripts on Physical machines(Shared Drive) or we can have it in VM also. Please help. Thanks, Madhavisri10KViews0likes1CommentRe: Window Recognition problem
TC is recognising the window as ("Afx:002F0000:8:00010003:00000000:00B","JDTLink").Looks like afx indicates that it is custom control/window.I have tried you using another tool on application and it recognises the window as window("Canvas[DSNconnection]","JDLink") Can we do custom mapping or somethinginorder to get the actual recognition string? Thanks, Madhavisri1.1KViews0likes0CommentsRe: Distributed Testing on VM machines
We haveTestcomplete licenses.We have installed Test complete on all VM machines(Float licenses).I am not sure how I can configure Network suite.All Test complete Licenses are installed in VM machines.Where can I create Network suite?in VM machine orLicense Machine? Do we have any documentation available.Please help. Thanks, Madhavisri1KViews0likes0Comments