广博吧

位置:首页 > 学习经验 > 考研

软件测试英文面试笔试题

考研1.43W

 软件测试笔试题:What are the reasons that WinRunner fails to identify an object on the GUI?

软件测试英文面试笔试题

WinRunner fails to identify an object in a GUI due to various reasons. The object is not a stan dard windows object. If the browser used is not compatible with the WinRunner version, GUI Map Editor will not be able to learn any of the objects displayed in the browser window.

 软件测试笔试题:do you have any Best Practice for testing?

Test everything that you want to work

More test methods in your TestCase than in the class you are testing

Tests should be as fine grained as possible

Tests should be independent

Should not take long to run (a few seconds)

Easy to understan d an d read

Make them safe

Developers must know they are not destructive

All developers must know about them

Everyone who touches the code must run the tests.

Determines how much of your code is covered by tests

If developer changes functionality, they may need to Update test

Warning: you’ve changed the interface. Did you break someone else?

Even better, all tests pass AND new tests were added for new code

All tests pass all the time

Don’t allow even one test the “always fails”

Track down an d fix the broken test immediately

Automate running of tests

Ex. All tests on tip revision of code get run automatically once per day with failures emailed.

Run tests on code check-in

Run tests before deployment

Have a reasonable copy of your production environment in a dev area.

软件测试笔试题:Have you integrated your automated scripts from TestDirector?

When you work with WinRunner, you can choose to save your tests directly to your TestDirector database or while creating a test case in the TestDirector we can specify whether the script in automated or manual. And if it is automated script then TestDirector will build a skeleton for the script that can be later modified into one which could be used to test the AUT.