I am in need of some set of QTP FAQ @ interview.
Also recently in one of interview portal they asked me how
you write the script for Login application which it is web
-based and using Descriptive Programming? Without
associating the shared object repository?Please i do need
this answer very soon? Please respond me soon @
vaisu72@yahoo.com
Answers were Sorted based on User's Feedback
Answer / uday
The syntax is perfect.
But how Dialog and WinEdit comes in web application.
Replace dialog with Browser().Page() etc.
The rest is fine...
Is This Answer Correct ? | 4 Yes | 0 No |
Answer / dileep kumar
By using Descriptive we can write the test script for web based Login application.
Script: for QTP sample application:
Dialog("text:=Login").winedit("attached text:= Agentname").set"abcdef"
Dialog("text:=Login").winedit("attached text:= password").set"mercury"
Dialog("text:=Login").winbutton("text:= OK"),click
****************************************************
Like this by adding the unique properties and values of the object we can write descriptive program.
Note: >>>Some times the object needs more than one property to identify.
>>>> Better to use Object Spy to get the object properties and vales...
Is This Answer Correct ? | 0 Yes | 2 No |
Pls Solve Error(SAP-CRM):- Cannot identify the specified item of the SAPNavigationBar object.Canfirm that the specified item is included in the object's item collection.
In an output value text checkpoint, where does the output value stored by default ?
the develeper not accepter your defect what status is that ?
Have you used TD?
What is the current version of QTP and now it is the product of Mercury or HP
Hi Friendss..., can any body help me.. 1. Tell me your achievements(Technically)..? 2. Tell me your strengths(Technically) and weakness(Technical)..? 3. Why are you looking for change..?
I have 5 save buttons in 5 tabs . The tabs are placed one after the other. My object repository have these added as 5 save buttons with name sav1, save 2, save 3 , save 4, save 5 .all are getting highlighted from OR but they are not getting clicked. After spying each button all the properties are same except First button Index 0 html id:=btnSaveTab1 outerhtml:=<input id=""btnSaveTab1"" class=""Button"" onclick=""document.getElementById('a1').click();"" name=""btnSaveTab1"" value=""Save"" type=""button"">", Second button "html id:=btnSave "outerhtml:=<input id=""btnSave"" class=""Button"" onclick=""document.getElementById('a2').click();"" value=""Save"" type=""button"">", Third button "html id:=", outerhtml:=<input id=""btnSaveTab1"" class=""Button"" onclick=""document.getElementById('a1').click();"" name=""btnSaveTab Fourth button "html id:=btnSave outerhtml:=<input id=""btnSave"" class=""Button"" onclick=""document.getElementById('a2').click();"" value=""Save"" type=""button"" 5th button "html id:=", "outerhtml:=<input class=""Button"" onclick=""document.getElementById('a5').click();"" value=""Save"" type=""button"">",
Can we put more than one action in a single script???? yes or no.....
Explain the check points in QTP?
22 Answers Gray Matrix, IBM, Microsoft, Prapan Solutions, Zensar,
What information do the columns in the Keyword View show for each step?
Can anybody give the script to addsheet, add column,add values under that column in the rows?
How to retrieve value (data) from notepad using QTP ?