• I have a Microsoft Access database that contains data I would like to use in my test. How do I do this?

The Expert View enables you to access database using ADO and ODBC. Below is a sample test that searches for books written by an author in the “Authors” table of the database.

Dim MyDB

Dim MyEng

Set MyEng=CreateObject(“DAO.DBEngine.35”)

Dim Td

Dim rs

 

‘Specify the database to use.

Set MyDB=MyEng.OpenDatabase(“BIBLIO.MDB”)

 

‘Read and use the name of the first 10 authors.

Set Td=MyDB.TableDefs(“Authors”)

Set rs=Td.OpenRecordset

Rs.MoveFirst

For i=1 To 10

      Browser(“Book Club”).Page(“Search Books”).WebEdit(“Author Name”).Set rs(“Author”)

      Browser(“Book Club”).Page(“Search Books”).WebButton(“Search”).Click Next

 

How can I terminate an application that is not responding?

  • SystemUtil.CloseProcessByName “app.exe”
  • SystemUtil.CloseProcessByWndTitle “Some Title”

 

About Process Guidance Packages P1597

A Process Guidance package is comprised of two entities: the package configuration file and the data files.

  • Package Configuration file. This XML file defines the processes included in the package and the structure of the Groups and Activities in each process.
  • Data Files. A set of HTML files. Each HTML file contains the content for a single activity.

Important: Save the configuration file with the name: Configuration.xml

The package data files can include reference to a .css file to display content in your organization’s standard style, and can contain any content that can be displayed by a browser.

P1602   Install Custom Process Guidance packages in QuickTest

There are two ways to distribute and install custom process guidance packages:

  • Install the process guidance package from a zip file
  • Install the process guidance package via registry key