RE: hi,i am new to this winrunner tool. can anyb...
Before you write any code you should scope out what your proofs will be.
Test automation is an engineering process with that said it is advisable to
1) establish test scope
2) generate requierd gui map inventory
In your example of login i would hope you are minimally testing system denial and system access.
If this is the case then you will need to minimally produce one negative result which in most cases will produce a popup indicating such. This is itself a branch of logic that should be tested. This will also highlight up front the need for the popup to be learned named and saved in the proper gui map.
Now with that out of the way you pick your login data because it will produce a predicatable result
valid id valid pass = system access. Any deviation from this is a defect regardless of the stimuli.
So dont waste time wirting fancy recovery code? what are you recovering from? a defect? Attacking the "what" will make the "how" much easier .
The core of automated testing is to writev softwarevto effectively and efficiently prove the application under test is acting as expected.
RE: hi,i am new to this winrunner tool. can anybody solve my following problem?if this is TSL script for login window set_window ("Login window", 1);edit_set ("Username:", "engineering");edit_set ("Password:", "computer");button_press ("ok");before writin
To create a password dialog box, u have to use create_ password_ dialog (login, password, login_ out, password_ out);
To set a value to password edit field, use: password_edit_set(logicalname, encryptedpassword)
To encrypt your password, use: password_encrypt(password)
You can also use the edit_set, type, and obj_type TSL functions to set apassword, however the password_edit_set function provides extra security by
RE: hi,i am new to this winrunner tool. can anybody solve my following problem?if this is TSL script for login window set_window ("Login window", 1);edit_set ("Username:", "engineering");edit_set ("Password:", "computer");button_press ("ok");before writin