Contributions
Re: Recognition string of object frequently changing in external repository
As seen in the screen shot it is the "add "button in the left bottom corner. In the earlier build it was:(in C# script) Sys["Process"]("SoftControllerPanel")["Window"]("WindowsForms10.Window.8.app.0.141b42a_r12_ad1", "SoftController", 1)["Window"]("WindowsForms10.BUTTON.app.0.141b42a_r12_ad1", "&Add", 1) In the new build it is: Sys["Process"]("SoftControllerPanel")["WinFormsObject"]("SoftControllerDialog")["WinFormsObject"]("m_AddButton") Screen shot is attached2.3KViews0likes4CommentsRecognition string of object frequently changing in external repository
Hi, I am using an external notepad repository for keeping the recognition string of the objects of my application (Windows application). Then, i am using keywords against which functions are written to return stub objects and perform actions as per my requirement. But, after each new build of the application, the entire recognition of some of the objects completely changes. While for some of them, i am using wildcards(*), but for some objects, the entire class changes. What can be done to reduce maintainability of the repository? Any help will be greatly appreciated.Solved2.3KViews0likes6CommentsHow to make recognition index generic?
Hi all, I am using a keyword driven descriptive framework. All the recognition are kept in an external file like notepad, excel etc. Here i have a recognition of a window object as follows: Sys["Process"]("SmAlloc")["Window"]("Afx:*", "Production * - IO-Allocation", 1)["Window"]("AfxMDIFrame110u", "", 1)["Window"]("SysListView32", "", 1) Sys["Process"]("SmAlloc")["Window"]("Afx:*", "Production * - IO-Allocation", 2)["Window"]("AfxMDIFrame110u", "", 1)["Window"]("SysTreeView32", "", 1) In the above two recognition, you can see the index of the("Afx:*", "Production * - IO-Allocation", 1) has changedfrom 1 to 2. How to make this generic so that i do not have to use two different recognition.Solved1.5KViews0likes3CommentsRe: Registry key is not getting added for auto Login using C# script.
AlexanderMManually writing registry in regedit is my last resort, the reason being I am running thetest in 10 virtual machines through VMware using Test Execute. Automating the login would have really helped actually. By the way I am providing you a link. https://www.autoitscript.com/forum/topic/141285-resolved-autologon-in-windows-7/ If you could go through the link and check the issue that the user SlowCoder74 has raised here is quite similar to my issue. And the user JFXhas provided a solution "Just add a 64 to main key, see the helpfile --> RegRead remarks"which is something I am not able to figure out.Will be really grateful if you could help me out here.Thanks and Regards.4KViews0likes3CommentsRe: Registry key is not getting added for auto Login using C# script.
AlexanderMI amtrying to automate an installation software. The installation process after starting,restarts the machine once and then continues installation for sometime before the software gets installed successfully. After that restart, the system asks for Login credentials. This is where I am trying to update registry for auto login. Here, I cannot force reboot to use RebootAndContinue, neither does the software asks for Whether I want to reboot or not? or else I could have cancelled it and forced reboot through RebootAndContinue. I hope this explanation is to clear to you. Thanks and Regards.4.1KViews0likes5CommentsRe: Registry key is not getting added for auto Login using C# script.
AlexanderMThanks a lot. The registry "HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\Windows NT\CurrentVersion\Winlogon" is gettingwritten through the script from Test Complete. But, the Auto login is not working. Here in the registryI am adding three string: AutoAdminLogon, REG_SZ,1 DefaultUsername,REG_SZ,xxxxxx DefaultPassword,REG_SZ,xxxxxx. I there anything else that needs to be added in this registry for Auto login to work? Any more help willbe greatly appreciated. Thanks and Regards.4.1KViews0likes7CommentsRegistry key is not getting added for auto Login using C# script.
Hi, I am trying to write registry key for auto login using C# script. The script is getting executed, but the registry is not getting added. My code is shown as below: Initially I was getting an error stated as "Registry root is invalid",but running Test Complete as Administrator, the problem got solved. Now, that thescript is getting executed registry is not getting updated.Please help. function Test_FWC_UTL_Registry_Write_Registry_Key_Value() { var strKey strKey = "HKEY_LOCAL_MACHINE\\SOFTWARE\\Microsoft\\Windows NT\\CurrentVersion\\Winlogon" FWC_UTL_Registry_Write_Registry_Key_Value (strKey, "DefaultUsername", "REG_SZ", "XXXXXXXX") } function FWC_UTL_Registry_Write_Registry_Key_Value(strRegistryKey, strRegName, strRegType, strRegKeyValue) { var WshShellObj,OutputVal WshShellObj = Sys["OleObject"]("Wscript.Shell") OutputVal = 0 if (WshShellObj == null) { GL_ErrMessage = "Couldn't able to create Shell object" } else { WshShellObj.RegWrite(strRegistryKey + "\\" + strRegName , strRegKeyValue, aqString["ToUpper"](strRegType)) WshShellObj = null OutputVal = 1 return OutputVal; } }Solved4.1KViews0likes9Comments