ALLInterview.com :: Home Page KalAajKal.com
 Advertise your Business Here     
Browse  |   Placement Papers  |   Company  |   Code Snippets  |   Certifications  |   Visa Questions
Post Question  |   Post Answer  |   My Panel  |   Search  |   Articles  |   Topics  |   ERRORS new
   Refer this Site  Refer This Site to Your Friends  Site Map  Bookmark this Site  Set it as your HomePage  Contact Us     Login  |  Sign Up                      
tip   To Refer this Site to Your Friends   Click Here
Google
 
Categories  >>  Software  >>  Testing  >>  Automation Testing  >>  QTP
 
 


 

 
 WinRunner interview questions  WinRunner Interview Questions
 Load Runner interview questions  Load Runner Interview Questions
 QTP interview questions  QTP Interview Questions
 Test Director interview questions  Test Director Interview Questions
 Rational TestSuite interview questions  Rational TestSuite Interview Questions
 Silk Test interview questions  Silk Test Interview Questions
 Automation Testing AllOther interview questions  Automation Testing AllOther Interview Questions
Question
how can u put synchronization point in qtp,wat is exactly 
synchroniztion why we use it wat is benifit in qtp
 Question Submitted By :: Nidhi
I also faced this Question!!     Rank Answer Posted By  
 
  Re: how can u put synchronization point in qtp,wat is exactly synchroniztion why we use it wat is benifit in qtp
Answer
# 1
synchronization point is nothing but time interface between 
tool and application build.generally we r giving
synchronization point to give waiting time to the tool.
3 ways we can do this.i.e 
1-synchronization point: here we r giving waiting time to the
tool depending on application status bar.suppose in yahoo
regiistration form after fillup when click on submit after
colour filling the status bar it will go to next page.if we
r not giving synchtonization point when tool execute the
next page script it show an error page not found.
navigation:insert menu-step-synchronizatiobn point
2-wait():here we r giving fixed waiting to the tool
3-increasing time out:bdefault QTP maintains 20000
milisecond to identify object.if it is taking more time to
identify all the objects then we hav to increase the time out.
navigation:tool-option-run tab increase our time there in ms.
 
Is This Answer Correct ?    2 Yes 1 No
Litan
 
  Re: how can u put synchronization point in qtp,wat is exactly synchroniztion why we use it wat is benifit in qtp
Answer
# 2
Hi, Latin.
I have one more doubt....
what is the main use of using Synchronization?????


We use it for giving waiting time only or any other 
purpose????????

Kindly, tell me

Thanks in Advance3
 
Is This Answer Correct ?    0 Yes 1 No
Murthy
 
 
 
  Re: how can u put synchronization point in qtp,wat is exactly synchroniztion why we use it wat is benifit in qtp
Answer
# 3
Waiting time in the sense that if you have an application in
which you have 3 steps for example.
Let's say you are recording the steps where the first step
is to enter the information, second step is clicking submit
 button and third step is printing the summary page.

Now when you click submit button it may take few seconds to
several minutes depending on the application or internet
speed.After your summary page has loaded you click print.

But when you play this in Qtp it does it very fast,it does
not wait for processing of information after you click
submit button and may try to print summary page which will
give error.
So, to overcome such problems we insert synchronization
point.By inserting synchronization point we are asking QTP
to wait till Summary page is loaded and then click Print button.
 
Is This Answer Correct ?    2 Yes 0 No
Radhika
 
  Re: how can u put synchronization point in qtp,wat is exactly synchroniztion why we use it wat is benifit in qtp
Answer
# 4
HI Radhika, 
Thanks for ur answer
and i have one more doubt
We have wait option to wait the application right????
Instead of using synchronization, can we use wait 
function???
 
Is This Answer Correct ?    1 Yes 0 No
Murthysharma
 
  Re: how can u put synchronization point in qtp,wat is exactly synchroniztion why we use it wat is benifit in qtp
Answer
# 5
Wait() is used when you want QTP to wait for specified time
whereas synchronization is used when you want QTP to wait
till certain process is completed or event has occured.

Wait(n) statement waits for specified 'n' seconds even
though process has occured in less than n seconds whereas
when using sync statement ,QTP resumes/moves to next step as
soon as event has without wasting time.

There is another similar option called exist(n) which waits
for an object (like button to be activated) or waits till
'n' seconds whichever is earlier.
 
Is This Answer Correct ?    1 Yes 0 No
Radhika
 

 
 
 
Other QTP Interview Questions
 
  Question Asked @ Answers
 
What is the main differece between QTP 9.0 and 9.2 VeriSign1
hi is there any chance to change encoding the password  3
I have two actions in my QTP test and two iterations in my DataSheet. I want to execute the Action 1 for the two iterations only after which i want to exceute the next Action2. How is this possible?  1
how to write the descriptive programming in QTP for loginwindow.without using Step generator,object repository for referecnes STC3
While recording a login window QTP is identifying only parent window,then how can u identify the child objects. Symphony2
How u call functions in QTP Lehman-Brothers4
how can you select random value for every iteration from a weblist Microsoft2
How to execute a WinRunner Script in QTP? IBM1
1.can we parameterise object repository?how we can do it? 2.there is a name "mallikharjun".i want to get the vowels in it through VBSCRIPT? Tech-Mahindra2
Where the text version of script file located in file system?  1
What exactly is the difference among all the three recording modes. Accenture5
What type of VB script u had done in expert view? HCL1
Write a user defined function to count the no. of buttons existed in a webpage ? i dont want to use descriptive.create ()  1
How can the name of a checkpoint be changed in Qtp Ordain-Solutions2
What is the logic for reading(exporting)the data from flat files to QTP?Can anyone explain me with an example? I appreciate it!!! Thanks!!! Prasanna  1
WHAT IS THE FRAMEWORK & ARCHITECTURE OF YOUR PROJECT Wipro2
Hi I am new to QTP. we are planning to implement automation for the application. I am trying to execute the following script: Set ExcelObj=CreateObject ("Excel.Application") ExcelObj.WorkBooks.Add Set NewSheet=ExcelObj.Sheets.Item(1) NewSheet.Name="Order" ExcelObj.Cells(1, 1).Value = "Name" ExcelObj.Cells(1, 2).Value = "Ordernum" ExcelObj.Cells(2, 1).Value = "nam" ExcelObj.Cells(2, 2).Value = "21" ExcelObj.ActiveWorkbook.SaveAs "c:\test1.xls" ExcelObj.Quit Set ExcelObj = Nothing in the above script for the line(ExcelObj.Cells(2, 2).Value = "21") it is inserting the value 21 successfully.this is fine But if i want to insert a variable instead of the constant value then what should be the modification in the script. For example: If user retrives a value throug "GetRoProperty" and wants to insert the value into then how the script changes?  1
w is datatable CTS5
hai friends i'm learning qtp now where we r using only record &playback frame work.and people r saying in realtime they won't use this frame work. if so what frame work actually using in realtime .and could you give explanation comaparing the record &play back fm and what ever FWyou r using in your organization. hoping cool response. thanx in advance  2
Why we are selecting QTP for testing ? HP16
 
For more QTP Interview Questions Click Here 
 
 
 
 
 
   
Copyright Policy  |  Terms of Service  |  Help  |  Site Map 1  |  Articles  |  Site Map  |   Site Map  |  Contact Us interview questions urls   External Links 
   
Copyright © 2007  ALLInterview.com.  All Rights Reserved.

ALLInterview.com   ::  Forum9.com   ::  KalAajKal.com