Wednesday, July 3, 2013

Text and Image Checkpoints in Web (Http/Html )Protocol in load runner

There are a number of different types of checks that VuGen can add to your
script.
Add a text check during recording

1 In the application or Web browser window, select the desired text.

2 Click the Insert Text check button on the recording toolbar. VuGen adds a
web_reg_find function to the script.

Add a text check (after recording)

1 Go to the snapshot of the step whose text you want to check.

2 In the snapshot, select the text you want to verify.

3 Select Add a Text Check (web_reg_find) from the right-click menu and
complete the Find Text properties dialog box. For more details, hit F1
when in the dialog box to open the function reference.

Add other text checks (after recording)

1 Select the step that contains the image you want to verify.

2 Select Insert > New Step.

a For the web_find function, expand the Web Checks node and select
Text Check.
b For the web_global_verification function, expand the Services node
and select the function name.

3 Complete the dialog box. For more details, hit F1 when in the dialog box
to open the function reference.

Add an image check (after recording)

1 Select the step that contains the image you want to verify.

2 Select Insert > New Step > Web Checks > Image Check.

3 Complete the Image Check Properties dialog box. For more details, hit F1
when in the dialog box to open the function reference.

No comments: