|
|
Saturday, October 20, 2012
ADP - Meet the world´s greatest agile developers
Wednesday, August 29, 2012
Agile Testing Days Early Bird Last Reminder
|
Wednesday, March 28, 2012
Agile Testing Days Program Announcement
Dear Hemanth Bolem,
We proudly want to present the program of the Agile Testing Days 2012. At this point
many thanks to all of them who has submitted a speaking proposal.
Please have a look on our great lineup:
www.agiletestingdays.com/program.php
Become Delegate
If you like the program please don't hesitate and register early for the Agile Testing Days to
benefit from the 15% Early Bird discount and the 25% Alumni discount. Everybody can
catch the Early Bird discount, only the Alumni discount is available for people who attended one
of our previous Agile Testing Days conferences.
Please subscribe with the help of our online registration form:
http://www.agiletestingdays.com/registration.php
Become Sponsor
Furthermore we want to invite you to have a look in our sponsoring brochure, we created for
your company great opportunities to become an active part of the event.
Please download the PDF file and check out the details:
www.agiletestingdays.com/atd_exhibitor_brochure.pdf
See you hopefully soon in November!
Best regards,
Uwe
Follow me:
Follow us:
| Unsubscribe from Díaz & Hilterscheid Newsletters Díaz & Hilterscheid Unternehmensberatung GmbH Kurfürstendamm 179 10707 Berlin Germany Phone: +49 (0)30 74 76 28-0 Fax: +49 (0)30 74 76 28-99 E-mail: info@diazhilterscheid.com Website: www.diazhilterscheid.de | Managing directors: Marc Ahlbach José M. Díaz Delgado Ust-IdNr. DE195661616 Amtsgericht Berlin Charlottenburg HRB 67896 |
Sunday, March 4, 2012
Agile Model
Dear Professionals,
I have posted an Article on Agile Development Model, read and upgrade your skills.
Agile Model
Thanks
G C Reddy
Saturday, December 17, 2011
Descriptive Programming
Advantages:
In this style of script generation, we provide objects information directly into the script.
Browser("title:=Google").Page("title:=Google").Sync
Browser("title:=Google").Navigate "http://www.icicibank.com/"
-------------------------------------------------------------------
If we want maintain 'Objects information' in centralized location then we can use Constants.
Steps:
Creating Constants:
Const Login="text:=Login", Agent="attached text:=Agent Name:"
Const Pwd ="attached text:=Password:", Ok="text:=OK"
Note: we can declare no of Constants in a line by separating with Camas (,), if we take other line then we have to use Const Statement again.
Creating a Library file
Place Constants in Notepad and save as .vbs file
Associate the Library file to QTP (File->Settings->Resources-> Click add (+) icon-> Browse path of the Library file->Click Apply and click Ok buttons
Otherwise, we can load the library file during run-time
Syntax:
ExecuteFile "Path of the Library file(.vbs)"
After that create the Test Script using Constants
Creating the Test Script using Constants:
Invokeapplication "C:\Program Files\HP\QuickTest Professional\samples\flight\app\flight4a.exe"
Dialog(Login).Activate
Dialog(Login).Winedit(Agent).Set "asdf"
Dialog(Login).Winedit(Pwd").Set "mercury"
Dialog(Login).Winbutton(Ok).Click
Advantages:
If we maintain Object Information in the centralized location, then we can handle modifications easily.
Browser("title:=Gmail: Email from Google").Page("title:=Gmail: Email from Google").WebEdit("name:=Email").Set "gcrindia@gmail.com"
Browser("title:=Gmail: Email from Google").Page("title:=Gmail: Email from Google").WebEdit("name:=Passwd").Set "Kurugonda7"
Browser("title:=Gmail: Email from Google").Page("title:=Gmail: Email from Google").WebButton("value:=Sign in").Click
---------------------------
'Code optimization
--------------------
SystemUtil.Run "C:\Program Files\Internet Explorer\IEXPLORE.EXE", "www.gmail.com"
Set myPage=Browser("title:=Gmail: Email from Google").Page("title:=Gmail: Email from Google")
myPage.WebEdit("name:=Email").Set "gcrindia@gmail.com"
myPage.WebEdit("name:=Passwd").Set "abcd1234"
myPage.WebButton("value:=Sign in").Click
Browser("title:=.*").Page("url:=http://www.dealsdirect.com.au").Link("text:=Register").Click
Browser("title:=.*").Page("title:=DealsDirect.com.au Secure Login Page").WebEdit("name:=cEmail2").Set "bhavani123@gmail.com"
Browser("title:=.*").Page("title:=DealsDirect.com.au Secure Login Page").WebEdit("name:=cEmail3").Set "bhavani123@gmail.com"
Browser("title:=.*").Page("title:=DealsDirect.com.au Secure Login Page").WebEdit("name:=cPass2").Set "abcd123"
Browser("title:=.*").Page("title:=DealsDirect.com.au Secure Login Page").Image("name:=Image","file name:=image-register-and-continue-button.jpg").Click
-------------------------------------------------------------------
Creating Description Objects, Generating Statements using Description Objects is called Dynamic descriptive Programming
-------------------------------------------
Step1: Create Description Object
Syntax:
Set Variable = Description.Create
Example:
Set Login = Description.Create
----------------------------------
Step2: Enter Properties information into Description Object
Syntax:
Description Object("Property name").Value = "Property value"
Example
Login("text").Value = "Login"
Login("width").Value = 320
----------------------------------------------------------------
Step3: Generating Statements using Description Objects
Syntax:
Test Object(Description Object).Method / Operation
Example:
Dialog(Login).Activate
---------------------------------------------------------------------------------
------------------------------------------------------
Browser("name:=Google").Page("title:=Google").Sync
Browser("name:=Google").Navigate http://www.jjperfumes.com/
Browser("name:=JJ Perfumes-Discount perfume cheap brand name perfumes, fragrance & cologne online").page("title:=JJ Perfumes-Discount perfume cheap brand name perfumes, fragrance & cologne online").Link("innertext:=Register","index:=0").Click




















