Blog to understand automation concepts in QTP, Selenium Webdriver and Manual Testing concepts

Understanding Menu options in UFT 11.5: Questions and Answers

This is first of the topics in understanding about menu options changes in UFT 11.5 with subjective questions and multiple choice questions. We will discuss various questions based on menu options in UFT 11.5.

Question 1: What are the various menus in UFT 11.5 GUI Test?


Answer: The various menus with important functions in UFT 11.5 are as follows:
· File Menu: The file menu provides commands to:
o   Create New Business Component, Function Library, Solution, test, and Application Area.
o   Open existing Business Component, Function Library, Solution, test, and Application Area.
o   Add existing Business Component, test, and Application Area.
o   Save, Close, and view recent tests and other assets.

·Edit Menu: Provides option to edit content of test including cut, copy, delete, undo and redo the changes.
o   Provides option to format the test using comments, uncomment, using with statements
o   Inserting code snippets

·View Menu: Provides various options to view test information :
o   Viewing toolbox, solutions explorer, properties, test flow, and bookmarks
o   Viewing Data pane, debug information in watch, variable, command window
o   Move from keyword view to editor view  and vice versa

·Search: To search content including text and bookmarks

·Design: Design provides option to design the test with actions, checkpoint , step generator ,and function definition generator:
o   Inserting call to new action, call to existing action, call to copy of action, and call to existing API Test.
o   Enhancing test/action with function definition generator, checkpoints, output value and transaction steps.
o   Validating syntax in the code

Record: Provide option for various recording modes, web event recording configuration settings, and record and run setting

Run: provides various option to run a test with run test, run now, Maintenance run mode, update run mode
o   Runs a test from step, step into, step over, debug from step, run to step.
o   Inserting a variable, object to watch, inserting and removing breakpoints

Resources: provides option to view object repository, object repository manager, Associate repository with an action, mapping repository parameters and creating recovery scenarios.

ALM: Provides options to create connections with ALM/QC and versioning feature of resources From ALM

Tools: Provides various tools and options to work with UFT11.5.
o   Provides tools including object spy, .Net Windows Forms spy, Object Identification, regular expression evaluator, data driver, change active screen, extensibility accelerator and virtual objects.
o   Import WSDL, Import .NET Assembly, rest services
o   Defines tools options for GUI Testing, API Testing, coding, text editor and general options.

Windows: Provide option to move from one window to another.

Help: Provides link to various help, UFT support  and installing license for UFT 11.5

Question 2:  What will happen, if I press Ctrl +Q in a UFT function?

a.       Recovery Scenario Page will open
b.      ALM Connection will open
c.       Object repository
d.      Comment a statement

Answer: Ctrl + Q will open ALM connection window, where we can provide details to connect to ALM Server, project details, and password/username details. To open Object Repository, Press Ctrl + R. To comment a statement, Press Ctrl+M.

Question 3: In which menu, Is regular expression evaluator?

a.     Tools
b.      Edit
c.      View
d.      Resources

Answer: The correct Answer is a) tools

Question 4: Shortcut key to view data table is:

a.       Ctrl+Alt+X
b.      Ctrl+Alt+P
c.       Ctrl+Alt+D
d.      Ctrl+Alt+E

Answer: Shortcut key to view data is Ctrl+Alt+D, Ctrl+Alt+X is shortcut for Toolbox, Ctrl+alt+P for properties, Ctrl+Alt+E for errors and Ctrl+Alt+L for Solution explorer

Question 5: What is the shortcut Key to insert a standard checkpoint?

a.       F9
b.      F10
c.       F11
d.      F12

Answer: F12 is shortcut key for standard Checkpoint, Other Shortcut keys are as follows. F9- Insert/Remove Checkpoints, F10 - Step Over, F11 - Step into, F7 - Step generator.

Some other Useful Shortcut keys are: F6 - Record, F4 - Stop, F5 - Run, Ctrl+F5 - Run from step.

2 comments:

  1. Can we modify the individual action settings during run time in a TEST? I want to control how many iterations the action runs, so I have to access the action settings(it can't be done by TEST settings as they are global)

    ReplyDelete
  2. F9 is for inserting/removing breakpoints not checkpoints. Please rectify.

    ReplyDelete