Synchronization methods?
Answers were Sorted based on User's Feedback
Answer / rrnaidu
Synchronization methods are
wait property
increasing time out
reaching status or progress bar enabled
Is This Answer Correct ? | 3 Yes | 0 No |
Answer / nagesh
synchronization is a process of making the speed of
application and the speed of QTP in sink.
there are 4 ways of synchronization
1) inserting synchronization point
2) inserting wait() method
3) using .exist() method
4) increasing the global syncronization time
---> poli.nagesh@gmail.com
Is This Answer Correct ? | 3 Yes | 1 No |
Answer / shankar
synchronization is a process of matching speeds of both
tool and the application.
synchronization methods are
1.Inserting synchronization point
2.wait property method
3.increasing default time
Is This Answer Correct ? | 1 Yes | 0 No |
Answer / deven
Three methods are available in QTP for Synchronization
WaitProperty – method is used to instruct QTP to wait the
execution process until it
matches with the object property value based on the
specified time.
E.g. Browser("Welcome: Mercury
Tours ").WaitProperty "name","Welcome: Mercury Tours", 5000
name - property name
Welcome: Mercury Tours - property value
5000 - number of milli seconds to wait
Wait – method is used to instruct the QTP to wait the
execution process based on
the specified time only but not on any condition
E.g. Wait 5 (or) Wait(5) ‘5 Seconds
Exist – method is used to instruct QTP to wait the
execution process based on the
specified time and returns Boolean value as per the object
existence
E.g. var_Exist = Browser(“Welcome: Mercury Tours”).Exist
(5) ‘5 seconds
Is This Answer Correct ? | 1 Yes | 0 No |
Answer / kishan
Here are the ways to acheive synchronization
1. Wait(n)
2. WaitProperty("prop. Name","Property value",time in
millisec)
3. Exist(n)
4. Page synchronization using
Browser("A").Page("B").sync()
5. Object Synchronization timeout
(File > settings > Run)
Is This Answer Correct ? | 1 Yes | 0 No |
Answer / guest
1.Object/Window Property
2.Object/Window Bitmap
3.Screen Area Bitmap
Is This Answer Correct ? | 2 Yes | 2 No |
I want to check in the data table(Globalsheet) column exist or not through script .If column not exist only proceeded to next step Pls tell me how to proceeded?
what is purpose of automation?
Hi, I have a login page. To login in that page I need to have a valid username and password, which is stored in database. I imported that table to my DataTable in QTP (Global sheet). Now I need to write a code in qtp so that I can login only with valid username and data. my condition is : I want to get username and password from inputbox(which i did) and click on login button- which should verify the datatable for username and password and if value is present only then lofin else stop the testing. DataTable contains columns : LoginName and Password Code: Rowcount= DataTable.GetSheet("Global").GetRowCount msgbox "RowCount= " &RowCount,1 CurrentRow= DataTable.SetCurrentRow(1) Do Browser("").Page("").Frame("Frame").WebEdit("ctl10$ct l00$ctl00$UserName$ctl").Set DataTable("LoginName",1) Browser("").Page("").Frame("Frame").WebEdit("ctl10$ct l00$ctl00$Password$ctl").Set DataTable("Password",1) Browser("").Page("").Frame("Frame").Link("Login").Cli ck CurrentRow=CurrentRow+1 Loop Until CurrentRow>Rowcount Can anyone help? Thanks, Priya
suppose im having a string wipro123xyz i need to get the value 123 only from the string today 123 will be in the middle from tommorow it will be changing to front or back how to get the no if it changes continously?
What are Error handling other than Recovery scenario manager?
Plz Explain AUTOMATION REFERENCE MODEL?
What is the difference between functions and actions in QTP?
Hi,iam new to automation and i have 1 year experience in manual testing.I have a little bit idea about QTP9.0 .But i have no idea about script writing using VB.Please help to learn script writing.
How do u do batch testing in WR & is it possible to do in QTP, if so explain?
Write a Script With descriptive programming(Without Repository) to update an Update an order in Flight App and verify whether it is done successfully.(Use ChildObjects method)
How should i find out whether the cursor is moving horizantally. when tabbing continuously
What are the different recording modes?