Prepare for your Next Interview
This is a discussion on Descriptive Programming Concepts - Good thread for Starters within the QTP forums, part of the Software Testing category; Working on a version with jpegs. I should have this re-posted soon. Thank you, Anshoo...
|
|||||||
| Register | FAQ | Members List | Calendar | Mark Forums Read |
|
|||
|
Descriptive Programming Concepts - Good thread for Starters
Working on a version with jpegs. I should have this re-posted soon.
Thank you, Anshoo Last edited by Anshoo_Arora : 05-13-2008 at 09:52 PM. |
| The Following 9 Users Say Thank You to Anshoo_Arora For This Useful Post: | ||
| Sponsored Links |
|
|||
|
Re: Descriptive Programming Concepts - Good thread for Starters
Hi anshoo, it is very useful techniques to write a dp for starters.
I am also giving some techniques for dp.... Here i am giving dp to click on a specified button.... using object repository '''''''''''''''''''1st method''''''''''''''''''''' window("flight reservation" ).winbutton( "update order").click 'common method '''''''''''''''''''''2nd method''''''''''''''''''''''' set wndobject=window( "flight reservation" ) ' assigning window object to an object variable wndobject.winbutton ("update order").click ' following normal syntax ( click on a button) ''''''''''''''''''''''''''3rd method'''''''''''''''''''''''''''' set btnobject=window( "flight reservation" ).winbutton( "update order") ' assigning button object to an object variable btnobject.click ' clicking on button using button object variable ''''''''''''''''''4th method''''''''''''''''''''''''''' with window("flight reservation" ) ' using with statement .winbutton(" update order").click end with using dp: '''''''''''''''''1st method''''''''''''''''''''''''Without Object Repsitory window("text: =flight reservation" ).winbutton( "text:=&update order").click ' descriptive programming '''''''''''''''''''2nd method'''''''''''''''''''''''''' set odes=description. Create ' creating a description object odes("nativeclass" ).value=" button" ' assigning description to the description object odes("text") .value="&update order" window("text: =flight reservation" ).winbutton( odes).click ' clicking on button using the created description object ''''''''''''''''''3rd method'''''''''''''''''''''''''''' set odes=description. Create ' creating a description object set btnobjlist=window( "text:=flight reservation" ).childobjects( odes) ' 'flitering the objects for objindex=0 to btnobjlist.count- 1 propval=btnobjlist( objindex) .getroproperty( "text") ' get property value from object if propval="&update order" then ' compare property value btnobjlist(objindex ).click ' click on identified object exit for ' exit for loop after clicking on the button end if next ''''''''''''''''''4th method''''''''''''''''''''' public const wndflight="text: =flight reservation" ' assigning window object description to a constant public const btnupdate="text: =&update order" ' assigning button object description to a constant window(wndflight) .winbutton( btnupdate) .click ' click on a button using description constants ''''''''''''''' If any body is having other techniques please post them... Thank you Arun Singh Rajaputra Last edited by rajaputra : 02-19-2008 at 01:01 PM. |
| The Following 2 Users Say Thank You to rajaputra For This Useful Post: | ||
|
|||
|
Hi Anshoo,
how are you.i am very happy with your explanation about dp.thank you.Anshoo, i want some information from you about " when we go Descriptive Programming?" please give me information regarding to that. Last edited by Anshoo_Arora : 04-09-2008 at 06:41 PM. |
| The Following User Says Thank You to pvksuresh For This Useful Post: | ||
|
|||
|
Re: Descriptive Programming Concepts - Good thread for Starters
Thank you.
|
|
|||
|
[quote=pvksuresh;28706]Hi Anshoo,
hi anshu, I have little bit confusion abt dp,pls give me clear explanation regarding when we go for dp. raji |
|
|||
|
Re: Descriptive Programming Concepts - Good thread for Starters
Hi All,
I am a new member in geetinterview.com, Im shiva kumar and I had newly joined Senate Technologies Pvt Ltd Pune, and I would like to know to start up with QTP, can anybody help me in suggesting. |
|
|||
|
Re: Descriptive Programming Concepts - Good thread for Starters
Certification preparation for hp quick test professional -hp0m16 course length : 3 days course objectives this course teaches you to: the concepts of functional automation. Getting abreast with the qtp and learning how to implement it to do effective test automation. Understanding the advanced level features of qtp along with doing hands on with them. Prerequisites candidates should be well versed with the concepts of manual software testing intended audience quality assurance engineers, and new users of qtp who need to implement qtp and/or executives who will be involved in any part of testing. Course outline introduction to automation architecture of functional automation tools record and play modes of recording object repository(types) object repository manager(orm) and merging of or object identification actions parameterization checkpoints(standard, text, bitmap, database, xml from resource) output values(standard, text, text area, bitmap, database, xml from resource) synchronization points regular expression recovery scenarios function libraries define vb functions vb subroutines accessing data table at runtime using vbscript concept of descriptive programming. Single physical description object of physical descriptions. Framework - types of framework: 0,1,2,3. What you pay ? individual fees inclusive of all = rs 8000/- group discounts available = rs 7000/- per candidate in a group of more than 3 . Benefits :- • work shops conducted by istqb certified & hp-qtp 9.2 ( score - 98%) certified and an industry expert • study material and precise guidance • friendly but professional environment • sessions on only week ends (sat-sun) contact us :- sqc infotech k2 , first floor , central market above nokia hotspot ,lajpat nagar 2 . New delhi-24 ph :- 09910722113 / 011-46573287
|
![]() |
|
| Thread Tools | |
| Display Modes | |
|
|
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Descriptive Programming | thotaravikiran | QTP | 11 | 07-08-2008 09:00 AM |
| QTP Script to descriptive programming | niturao | QTP | 3 | 05-28-2008 04:47 PM |
| QTP DEscriptive Programming | balajimaddy | QTP | 2 | 12-21-2007 10:17 AM |
| Descriptive programming any flight application | Geek_Guest | QTP | 0 | 08-15-2007 05:12 AM |
| Descriptive Programming and Visual Basic Scripts | Geek_Guest | QTP | 1 | 07-11-2007 04:24 PM |