Contributions
Re: how to store a string containing escape/exclaim mark/tilde characters using vbscript
SmartBear reply the way to simulate the key for this "("\(troub\*e\) sh\*t") AND ("\{troub\*e\} sh\*t") AND ("\[troub\*e\] sh\*t") AND ("\<troub\*e\> sh\*t") AND ("\@troub\*e \! sh\*t") AND ("\troub\*e\~ sh\*t") AND ("\^troub\*e\& sh\*t") " as following: Call Project.Variables.Var1 = "(""\(troub\*e\) sh\*t"") AND (""\{troub\*e\} sh\*t"") AND (""\[[troub\*e\] sh\*t"") AND (""\<troub\*e\> sh\*t"") AND (""\@troub\*e \!! sh\*t"") AND (""\troub\*e\~~ sh\*t"") AND (""\^^troub\*e\& sh\*t"")" var strText = Project.Variables.VariableByName("Var1"); Call testObj.Keys(strText )984Views0likes0Commentshow to store a string containing escape/exclaim mark/tilde characters using vbscript
Hi Everyone I need to store the below string into a variable and type this variable value into a text, but I cannot. TestComplete will be stalled when typing half way strText = "("\(troub\*e\) sh\*t") AND ("\{troub\*e\} sh\*t") AND ("\[troub\*e\] sh\*t") AND ("\<troub\*e\> sh\*t") AND ("\@troub\*e \! sh\*t") AND ("\troub\*e\~ sh\*t") AND ("\^troub\*e\& sh\*t")" However, I type the above string manually and record my typing, I see that TestComplete is recording the above string as (""\(troub\*e\) sh\*t"") AND (""\{troub\*e\} sh\*t"") AND (""\[[troub\*e\] sh\*t"") AND (""\<troub\*e\> sh\*t"") AND (""\@troub\*e \!! sh\*t"") AND (""\troub\*e\~~ sh\*t"") AND (""\^^troub\*e\& sh\*t"") As I have mentioned above, I need to store the above string into a data file, whenever my script is running, it will read that data file, load the string into strText, then my textFieldObj.Keys(strText) So what should I do here to make TestComplete be able to key in successful my string as look like it see that string a bit different Kind Regards Nat1KViews0likes3CommentsRe: Unable to spy or select an infragistic treeview item on window 10, TC12
Hi All Thanks heaps for all your replies. One of my work colleagues in here has figured out the issue. My Set custom scaling level is scaling up to 250% and my screen resolution is 3840*2160 NowSet custom scaling level is setting at 100% and my screen resolution is 1920*1080, it is working fine5.2KViews1like2CommentsRe: Unable to spy or select an infragistic treeview item on window 10, TC12
` The problem here that I used to be able spy my treeview item on Window7 but I cannot spy on window10 anymore. Howerver, if I look into my Object Browser Tree, I see my treeview item and I can create mapped object. Those example I show was freshly created for this demonstrating purpose, not old one. I cannot record of any treeview item selection like I do on Window7. Please refer to the attachments for the spying issue that I have been mentioning Thanks heaps Nat5.2KViews0likes3CommentsUnable to spy or select an infragistic treeview item on window 10, TC12
running my script on my newcomputer to window 10, I counter an issue that I cannot spy anytree iteminside TreeView of Infragistics.Win.UtraWinTree.UltraTree, nfragistics.Win.UtraWinGrid My script was working fine on Window window 7. Have talked to our dev, there was nothing different from their perspective. For example (of course I cannot spy on the tree item anymore on window 10, I use object browser and object map tree to get the folderA object below. Refer to the attachement for my Object browser tree and object Map) Set folderA = Aliases.NVivo.NVivo11_MainScreen.MainNavigationPanel.dockableWindow12.navigationControl.navigationUltraExplorerBar.ultraExplorerBarContainerControl1.sourcesUltraTree.Internals.Area_and_Township Call folderA.Click() => Error "There was an attempt to perform an action at point (74, 10) which is transparent or out of the window bounds" I try another way: Set folderObj = Aliases.NVivo.NVivo11_MainScreen.MainNavigationPanel.dockableWindow12.navigationControl.navigationUltraExplorerBar.ultraExplorerBarContainerControl1.sourcesUltraTree Call folderObj.ItemClick("|Internals|Interviews") => ErrorUnable to find the object ItemClick("|Internals|Interviews"). See Additional Information for details."Solved5.3KViews0likes9CommentsUnable to spy or select an infragistic treeview item on window 10, TC12
running my script on my newcomputer to window 10, I counter an issue that I cannot spy anytree iteminside TreeView of Infragistics.Win.UtraWinTree.UltraTree, nfragistics.Win.UtraWinGrid My script was working fine on Window window 7. Have talked to our dev, there was nothing different from their perspective. For example (of course I cannot spy on the tree item anymore on window 10, I use object browser and object map tree to get the folderA object below. Refer to the attachement for my Object browser tree and object Map) Set folderA = Aliases.NVivo.NVivo11_MainScreen.MainNavigationPanel.dockableWindow12.navigationControl.navigationUltraExplorerBar.ultraExplorerBarContainerControl1.sourcesUltraTree.Internals.Area_and_Township Call folderA.Click() => Error "There was an attempt to perform an action at point (74, 10) which is transparent or out of the window bounds" I try another way: Set folderObj = Aliases.NVivo.NVivo11_MainScreen.MainNavigationPanel.dockableWindow12.navigationControl.navigationUltraExplorerBar.ultraExplorerBarContainerControl1.sourcesUltraTree Call folderObj.ItemClick("|Internals|Interviews") => ErrorUnable to find the object ItemClick("|Internals|Interviews"). See Additional Information for details."839Views0likes1CommentRe: How to select invisible row on the screen of a TreeView Object
Thanks heaps for your help. I dont have Infragistics control listing in my Install Extensions list. I think this is the cause why I cannot see anything inside my UltraGrid view How do I add this control into my Install Extension list, please? Thanks heaps and have a nice weekend Nat3.4KViews0likes2CommentsRe: How to select invisible row on the screen of a TreeView Object
if I use UltraGrid view, turn off all the setting as the attached screenshots. I wont be able to see anything inside the Ultragrid view. When I turn on all these setting, I will be able to see the contents inside. They are UIAObjects. At the moment, I'm using UIAObject Tree. I can see all the cell values of these rows if I use this UIA control. Each System_Drawing_Bitmap is a row. My problem now is that I cannot scroll to a row if it is invisible on the screen.3.4KViews0likes5Comments