Monday, December 12, 2011

SYNCHRONIZATION POINT


SYNCHRONIZATION POINT:

Synchronization is a step added to a test that instructs QTP to wait for the state of a property on a particular object to change before proceeding to the next step in the test.
Following are the options to Synchronize your test

        Click on Record>>Insert>> Synchronization point>>select the object and set the property



Window("Flight Reservation").WinRadioButton("First").Set
Window("Flight Reservation").WinButton("Insert Order").WaitProperty "enabled", True, 10000
Window("Flight Reservation").WinButton("Insert Order").Click

       Insert Exist: This statement instruct QTP to wait for the specified time until an object exist before continuing the test

Window("Flight Reservation").WinRadioButton("First").Set
If  Window("Flight Reservation").WinButton("Insert Order").Exist(10) Then
Window("Flight Reservation").WinButton("Insert Order").Click
End If

        Insert wait statement: This statement force QTP to wait for the specified time before continuing the test
Window("Flight Reservation").WinRadioButton("First").Set
wait(20)
Window("Flight Reservation").WinButton("Insert Order").Click

       Insert sync statement: This statement instruct QTP to wait until next page is completely loaded.

Browser("Browser").Page("Sign in to Yahoo! India").WebEdit("login").Set "seenumech"
Browser("Browser").Page("Sign in to Yahoo! India").WebEdit("passwd").SetSecure "4ee4b6107d983246bdc6b7b498bc7f153aa61b3a37f4f099f13080d13c96e0fe"
Browser("Browser").Page("Sign in to Yahoo! India").WebButton("Sign In").Click
Browser("Browser").Page("Sign in to Yahoo! India").Sync
Browser("Browser").Page("(24 unread) - seenumech").Link("Inbox 24").Click

      Modify time that quicktest wait for a webpage to load: This statement instruct QTP to wait for a web  page to load till time we mentioned
File>>Setting >>web tab

     Modify default timeout setting of test: Maximum time QTP wait for the object to appear
File>>Setting >>Run tab

File Types in QTP (File Extensions):

Sunday, July 17, 2011

Best Stocks to invest in 2011

Below are some of the best stocks one can invest in 2011.



  • Gandhimathi Appliances
  • SBI
  • Panama Petrochem
  • Astral Poly Technik
  • Photoquip
  • Cravatex
  • Page Industries
  • Wim Plast