What is Optional step?

Answer Posted / 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



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

when will you do debug your script? and explain that process?

1453


What does mean by Scope of Automation?n How we defined it?

1582


.have you ever written compiled module? if yes , tell me about some of the function that you wrote.

1684


unique properties of button,edit box, radio button,check box?

3831


i have a doubt can anyone tell me where are scripts stored while using QTP.Tell me the exact procedure takes place in real time?like how we call scripts how to proceed after writing scripts?how scripts are executed etc?i heard some use Qc whether others dont use.so tell me whole procedure for both the things it will be a very big help.as i have interview i want to have whole idea on this.its very urgent.

1382






What are the different types of recovery operation?

555


I need Major Help with a Script I recorded in QTP 9.5. I am recording scripts for a Web-based application(s) I have all the URLs for each application in Excel spreadhsheet so that QTP can pull that particular application from the spreadsheet and run it. The problem is QTP isn't recognizing one particular URL so when I hit run in QTP to run this script it opens the internet Explorer but isn't open the URL I have in the Excel spreadsheet. I've retyped the URL and still QTP won't open this Particular one for some reason. The site its self is working fine but for whatever reason QTP won't open it. How do I resolve this? I have a deadline of next Friday the 7th to complete this task so please help me in any way you can. Thanks in advance

1715


How many types of Automation frameworks are there in UFT? Describe them.

562


after click on compose mail how can we attached a file in qtp with vbscript code

1621


how to fetch the values from grid? & qtp recogniges that grid as a webelement? what u do?

1910


Can you brief the hurdles you faced during Automation testing?

577


Hai anyone please "Explain about Framework in QTP?"

1628


Does Low-level recording capture mouse movements?

586


What is a recovery scenario?

575


Explain the types of properties that quick test learns while recording?

564