With out using the task manager,how to close the application
using vbscript and what is the statement?

Answer Posted / sonal.pagare

systemutil.CloseProcessByName "<Application_Name>.exe"

Is This Answer Correct ?    9 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How many types of recording modes in qtp? Describe each type with an example where we use them?

627


What are the features supported by UFT?

677


How to release all resources file from the QTP?

1063


What is qtpro? What is quick test pro? What is a quick test professional?

603


what is the hierarchy to use properties in descriptive programming

1507






How will you handle java tree in qtp?

637


How is UFT 11.5 version different from UFT 12.0?

618


when I try to run below script in QTP "totalPages" value is 2. But i am getting error message (Type mismatch: 'totalPages' Line (): "For i=1 to totalPages".) totalPages=Browser("Name:=User").Page("Title:=User").WebElem ent("innertext:=of.*").GetROProperty("InnerText") msgbox totalPages For i=1 to totalPages rnum=Browser("Name:=User").Page("Title:=User").WebTa ble("column names:=User Name;ID;Last Name;First Name").GetRowWithCellText("store4") If rnum>0 Then r=rnum Exit for End If Browser("Name:=User").Page("Title:=User").WebElement ("html tag:=A","x:=471").Click MsgBox "Exit" Next

3289


How to do the scripting. Is there any inbuilt functions in qtp as in qtp-s.

540


Can anyone pls tell me in realtime (descriptive programming) how will the properties of the object be given to the test team. R they given in an excel sheet and is the same sheet also given to the development team and by whom is this given? Thanks a lot.

1573


What is difference between run time object and test object?

563


What is output value? How many types of output values are there in qtp?

588


Any body have QTP 9.5 licence key. please provide me at madhukar_dec30@yahoo.co.in

1608


If object is not recognized by qtp but the object is standard object what is your approach?

602


If the weblist is identified as webelement,and by clicking on webelement if the values are displayed,and if the values the values also identified as webelement.then how to fetch the values through script?

4703