Interview Questions

How to compare value of textbox in WinRunner?

Mercury WinRunner FAQ


(Continued from previous question...)

How to compare value of textbox in WinRunner?

How to compare value of textbox in WinRunner?
the problem:
textbox on page 1. then after clicking 'Submit' button, value of textbox will be display on page 2 as static. How to compare value of textbox from page 1 if it is equal to on page 2?

Capture the value from textbox in page 1 and store in a variable (like a). Then after clicking on submit button when the value is diplaying on page 2 as static. From here using screen area (get text) text point, capture the value and store in second variable (like b). Now compare two variables.

(Continued on next question...)

Other Interview Questions