Contributions
- 1.3KViews0likes0Comments
passing arguments as parameter to command prompt
Hi , I need to open a command prompt from my script and need to enter some comands , and these commands i need to pass as a parameter Something like : i need to open CMD prompt and enter ping 192.168.2.100, where my IP will be stored in variable IP= "192.168.2.100" i tried the following sys.oleObject("wscript.shell").Exec (cmd/c ping@IP) but not workingSolved1.4KViews0likes2CommentsRe: unable to select an element in listview box
Yes I can see the element "Default Settings" when code is executed to brief you more See attached Screenshot There are two tabs in my screen (snapshots and Presets) , both are not gettings identified by test complete selecting "Snapshots" tab in the page and execting the above codewill give all the items under snapshots namely "Abcd, ...Snapshot #1..." But even after exceuting the same code after selecting "Presets" tab , still i will get items listed under "snapshots" tab instead of getting elements under preset tab2KViews0likes2CommentsRe: unable to select an element in listview box
What type of application? Windows application developed using C++ What is it written in? Vb script What type of List? (There are many!) Syslistview 322 Classname of the List? What method are you using to apply the selection? Scripted or Keyword test? Script What language if scripting? VB What browser if web? (And what version of the browser) N/A And what version of TestComplete.10.60.3387.7 Below is the Code, whcih i got when recorded (i am clicking on"DefaultSettings") Sub Test5 Call Aliases.d950system.wndD950Class.MDIClient.wndAfx.page32770.page32770.pageSnapshots.SysListView322.DblClickItem("defaultSettings", 0) End Sub2.1KViews0likes8Commentsunable to select an element in listview box
Hi , i am unable to select an element in List View Item, Even playing back the recorded script fails with an error "List View Item "Default Settings" not found" However if i restart the testcomplete , my code works fine Let me known , how to solve the issues2.3KViews0likes11Comments