What is parameterization? What is syncronization pt.?
Answers were Sorted based on User's Feedback
Answer / ana
Parametrization: Checking the same operations with multiple
sets of data
Example : For checking the Username in the login window with
multiple sets of data (Characters, Special
Characters,Numbers, varying length of User Name etc)we can
parametrize the User name so that it can select separate
input each time (for characters, numbers,etc) and display
the result. This way parametrization helps you save the time
from repeating the same task with hundreds of different records.
Synchronization: Synchronization helps to handle the Time
gap problems between QTP and the appropriate application by
helping QTP to wait for the application to Invoke
Example: If the application takes 1-2 min for the data to be
rendered on the screen or for navigating to the next Screen,
QTP will display the results as Fail since in that
particular time period it was not able to fetch the records
or display the Screen, Here the Wait statements helps QTP to
wait till the particular time being mentioned to get the
records.
Is This Answer Correct ? | 6 Yes | 0 No |
parameterization is passing multiple input values instead of constant values to verify the functionality.
whenever there is a timegap between the qtp and the application process the test fails, to avoid that we have to use synchronization.
waitproperty "property name", "property value", "time"
Is This Answer Correct ? | 5 Yes | 0 No |
Answer / radhika ravishankar
QuickTest enables you to expand the scope of a basic test
or component by
replacing fixed values with parameters. This process, known
as
parameterization,it greatly increases the power and
flexibility of your test or
component.
synchronization point is that which handles anticipated
timing problems by ensuring that QT waits for some times
until the application is ready for the next step
Is This Answer Correct ? | 3 Yes | 0 No |
Can an action have 2 shared object repositories associated with them? In that case, if two of them contain the same object, which one will be considered?
What is the use of Regular expression?
In web page there is five OK buttons available, while recording i click on 3rd OK button, How QTP identify the 3rd OK button while running script? Is qtp identify 3rd ok button?
What is the use of text output value in quicktest professional?
How many types of Parameters are available in QTP?
How to create log file in qtp?
Can you list some technologies that support qtp?
what type of application we can select for automation testing and what is the entry criteria for automation
How can we do this one ? at runtime qtpwindow and browser aren't disply on monitor (or) aren't visible on desktop?how?
Hi Friends, Can any one answer this question? 17) What method is used to retrieve the number of columns in the query results? A. Fields.Count B. Fields.Item(EOF) C. Fields.Count(BOF) D. Fields.Count.Value
Hi Everybody, Can anybody please tell me the how to display the result of the QTP in the notepad text file rather than in the QTP result window. Suppose this is my simple script:WHich will open the notepad file and enter some text and then will change the font then will calculate how much time has been taken.Now, in this script i want to display the result in notepad file. Dim s Dim starttimer,endtimer,timeit s="uyetuywqtywqte" SystemUtil.Run "notepad","","Y:\","" Window("Notepad").WinEditor("Edit").Type micCtrlDwn + "s" + micCtrlUp Window("Notepad").Dialog("Save As").WinEdit("File name:").Set "test1" Window("Notepad").Dialog("Save As").WinEdit("File name:").Type micReturn Window("Notepad_3").Type s Window("Notepad_3").WinEditor("Edit").Type micCtrlDwn + "s" + micCtrlUp starttimer=timer Window("Notepad_3").WinMenu("Menu").Select "Format;Font..." Window("Notepad_3").Dialog("Font").WinEdit ("Font:").Type "cou" + micDwn Window("Notepad_3").Dialog("Font").WinComboBox ("Font:").Select "Courier" Window("Notepad_3").Dialog("Font").WinEdit ("Font:").Set "Courier" Window("Notepad_3").Dialog("Font").WinEdit("Font:").Type micReturn endtimer=timer timeit=endtimer-starttimer print(timeit) Please also tell me where the function for the text file result will be declared and where it should be called. Thanks, Gaytri
Explain about reusable actions?