Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


What is Optional step?

Answers were Sorted based on User's Feedback



What is Optional step?..

Answer / umasankar

An optional step is a step that is not necessarily required
to successfully complete a run session. For example,
suppose that when recording a test, the application you are
testing prompts you to enter a user name and password in a
login window. When you run the test, however, the
application does not prompt you to enter your user name and
password because it retained the information that was
previously entered. In this case, the steps that were
recorded for entering the login information are not
required and should, therefore, be marked optional.

During a run session, if a step in an optional dialog box
does not open, QuickTest bypasses this step and continues
to run the test. When the run session ends, a message is
displayed for the step that failed to open the dialog box,
but the step does not cause the run to fail.

However, if, during a run session, QuickTest cannot find
the object from the optional step in the object repository

For example, if the object name was modified in the test
but not in the object repository, or if the object was
removed from the object repository, an error message is
displayed listing the required object, and the run fails.

Is This Answer Correct ?    7 Yes 1 No

What is Optional step?..

Answer / naren

When running a test, if a step does not succeed in opening
dialog box, QTP does not necessarily abort the test run. It
bypasses any step designated "optional" and continues
running the test.
By default, automatically QTP markes as optional steps that
open certain dialog boxes. You can manually designate
additional steps as optional.

Is This Answer Correct ?    4 Yes 0 No

What is Optional step?..

Answer / prabasree

During run session, QTP will skip the optional step if the
object corresponding to the optional step is not present in
the application and execute the next step. If the object is
present then QTP will execute the optional step.

eg
OptionalStep.Dialog("Login").WinButton("OK").Click

Is This Answer Correct ?    2 Yes 0 No

What is Optional step?..

Answer / less than you

Uma dont copy and past from the others document on the net
these are easily accessible for all. give some innovative.

Is This Answer Correct ?    0 Yes 4 No

Post New Answer

More QTP Interview Questions

How to open any application during Scripting in QTP?

7 Answers   Celgene, IBM,


When testing a web application, the url for each page changes, so using QTP how do u handle this scenario. If anyone knows please answer in detail about the whole procedure. Thanks a lot.

3 Answers  


Other than using import sheet statement for importing the data from excel sheet, is there any other method that can be used?

2 Answers  


How to make arguments optional in a function?

0 Answers   Crea,


What ate the Technologies supported by QTP?

0 Answers  


wt is the xtension of the QTP result view file?

4 Answers  


How we can merge the object repositories?say if we have two or three object repositories then how e can merge them? is there any option in Qtp to merge the object repositories

5 Answers   BirlaSoft,


It is given in the help of QTP 9.2 that we cant debug the scripts. Is there any other way to VIEW, PAUSE and make modifications in the scripts during execution???

0 Answers  


How we can we create a Text checkpoint in QTP 9.1,Actually what i did is first i put in recording mode and gofor Inser menu>Checkpoint>Textcheckpoint>click,Now an hand symbol came and i showed it to some textbox and cliked but the QTP9.1 is giving an error message like "The Obkect you are selecting doesn't support this operation" If i go for Help of QTP 9.1 information I didn't get any solution,pls help me in this issue.

6 Answers  


What is ObjectParamater?

0 Answers   CTS,


Any limitation to XML Checkpoints?

1 Answers  


what kind of frame work you used in your last project?

0 Answers   Deloitte,


Categories