What is Optional step?
Answers were Sorted based on User's Feedback
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 |
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 |
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 |
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 |
How to make "TEST Batches" in manual testing . How it is possible plz explin in detail?
Explain types of exception handling and script for that?
please any one can explain the keyword driven framework. with gmail example.
I have below user Defained function function AddTwo(ByVal a, ByVal b) Dim Ans Ans=a+b MsgBox Ans End function Now my question comes here...from given below methods which method is right to call above function?Which is Wrong and why? 1. AddTwo(2,4) 2. Call AddTwo(2,4) 3. AddTwo 2,4 4. Call AddTwo 2,4
Where we can use the synchronization?
BEst INstitute for QTP & SELENIUM
what r the drawbacks and limitations of QTP?
If u r using descriptive programming to identify the object where do u write the script for those objects? do u write it in the expertview? plz do answer its urgent thanks advance.
Explain about Table and DB Checkpoints?
How To write script in QTP For Field Validation Example: password Field is accepting A range 8-20 characters only.How to write script?
Hi, I'm a beginner in QTP and planning of a certification in QTP, but have no idea about it :P. Could anyone please tell me what certifications that a QTP- beginner can take? What is the fees and the syllabus for the certification? Please reply soon. Thanks Vidhya
w is fragmentation and paging