The usage of SystemUtil

Introduction of "SystemUtil"

Description  

 

An object used to control applications and processes during a run session.
 

The SystemUtil object is a QuickTest reserved object. Reserved objects are not learned or stored in the object repository. Reserved objects enable you to retrieve or control QuickTest settings or to modify QuickTest behavior during a run session.  Most QuickTest reserved objects are described in the Utility section of the Object Model Reference.

 

1. The first step of script is to close the existing IE browsers.

  SystemUtil.CloseProcessByName "IEXPLORE.EXE"

2. The second step is to close a new IE browser with new web address.

  SystemUtil.Run "IEXPLORE.EXE","&New web address&"

 

 

 

posted @ 2012-06-28 11:06  Racheltt  阅读(250)  评论(0)    收藏  举报