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
Answer Posted / 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 |
Post New Answer View All Answers
Hi Friends, Im planning to do certifcation in mercury Automation Tool QTP.But I Didnt get any clear details regarding course syllabus, fees, where to approach, and which certification would be useful for the experienced testers? can any one send me the details?
How you can make an action as re-usable action?
Is QTP supports Unix. If yes, then how the test automation is done?
when u script reveiwing in which area u more concentrates?
How does qtp identify gui object?
How to get Traceability matrix from TD?
how to download mercury qtp9.2 ny internet ?
Explain the new feature of UFT regarding the export of test results?
What is checking bitmaps?
I want to capture data(using keyword) from msdos application using QTP?... Below is little work i could do on it... /* Set app=CreateObject("Wscript.shell") SystemUtil.run ("C:\Users\Agent\Desktop\pumpsim\PUMPSIM.EXE") Window(“PUMPSIM.EXE”).Activate wait(3) app.sendkeys "N" */ Thanks in advance...!!!
How to suppress warnings from the test results page?
What is fragmentation and paging?
How to give a call to another action from one action?
How should I click on the right click menu objects When I trying to add the object properties to the OR.It is showing only Window(Window).Not all the objects of the window. Also while recording I found No script. How to solve this>.
What phases are involved in testing an application in qtp?